[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Thread Closed 
[A-100] IDX subs not working
02-11-2010, 01:01 PM
Post: #16
RE: [A-100] IDX subs not working
(02-11-2010 09:44 AM)dimoe Wrote:  This provides a uPnP streaming server, and the mencoder script at http://sourceforge.net/projects/mediatom...ic/3546580 (slightly modified for Vobsub instead of SRT) allows to stream MKV's with embedded subtitles (for reference : 2 simultaneous 9 Mbit streams on a P4/3GHz).

Could you list the changes necessary for Vobsub please? Not being a mencoder expert, I couldn't figure it out.

Thanks.
Find all posts by this user
02-11-2010, 03:32 PM
Post: #17
RE: [A-100] IDX subs not working
(02-11-2010 01:01 PM)jsa Wrote:  Could you list the changes necessary for Vobsub please? Not being a mencoder expert, I couldn't figure it out.

Thanks.


My pleasure.


First make sure you modify MediaTomb's /etc/mediatomb/config.xml to cope with MKV mimetypes :

Code:
...
  <map from="mkv" to="video/x-matroska"/>
...
  <transcode mimetype="video/x-matroska" using="transcode-matroska"/>
...
      <profile name="transcode-matroska" enabled="yes" type="external">
        <mimetype>video/mpeg</mimetype>
        <accept-url>yes</accept-url>
        <first-resource>yes</first-resource>
        <hide-original-resource>yes</hide-original-resource>
        <accept-ogg-theora>yes</accept-ogg-theora>
        <agent command="/etc/mediatomb/mediatomb-transcode" arguments="-i %in -o %out --transcode-matroska"/>
        <buffer size="14400000" chunk-size="512000" fill-size="120000"/>
      </profile>
...


The /etc/mediatomb/mediatomb-transcode (which is based on "Script to perform various transcoding routines" from http://mediatomb.cc/dokuwiki/transcoding:transcoding) contains the real mencoder guts :

Code:
transcode_matroska_mencoder() {
        local input="$1"
        local output="$2"
        local alang="$3"
        local slang="$4"

    [ "$alang" ] || alang="eng"
    [ "$slang" ] || slang="nld"

        mencoder "$input" \
                -oac lavc -ovc lavc \
                -of mpeg \
                -ofps 25 \
                -lavcopts vcodec=mpeg2video:keyint=15:vbitrate=9800:vrc_maxrate=9800:vrc_buf_size=1835:aco​dec=ac3:abitrate=192:autoaspect \
                -vf softskip,scale=720:576,hqdn3d,harddup \
                -mpegopts format=dvd:tsaf \
                -channels 6 \
                -vf harddup -alang "$alang" \
                            -slang "$slang" \
                -o "$output"

}

(replace the default slang with what is deemed appropriate for your locale).


Don't forget to make sure the MKV's are tagged with the mkv mimetype in MediaTomb's web interface.


All this is quite nicely explained in MT's documentation & wiki.
Find all posts by this user
[+] 1 user says Thank You to dimoe for this post
02-11-2010, 05:25 PM (This post was last modified: 02-11-2010 05:26 PM by cheaper_popcorn.)
Post: #18
RE: [A-100] IDX subs not working
(02-11-2010 12:12 PM)dimoe Wrote:  Hence my gut feeling that Syabas' SUB spu code wreaks havoc, and my suggestion to have a good look at MPlayer's or VLC's (GPL-ed) VobSub code.

Next week (workload permitting), I could provide some 5-minute samples (I guess providing a sample qualifies for complying with Fair Use practices), but this strikes me as useless, as long as Syabas does not confirm they are looking into this issue. As said before, I am willing to test beta firmwares.

Thanks for being constructive. I'll ask and see what reply we get.

Media tank:A-100 & C-200
TV:Panasonic TH-50PY800MT (HDMI)
Audio:Logitech Z-5500 (Coaxial)
Find all posts by this user
02-24-2010, 01:37 PM
Post: #19
RE: [A-100] IDX subs not working
(02-11-2010 05:25 PM)cheaper_popcorn Wrote:  Thanks for being constructive. I'll ask and see what reply we get.

Ping?
Find all posts by this user
03-11-2010, 10:51 PM
Post: #20
RE: [A-100] IDX subs not working
bumpety

[Image: godbus1wb4.jpg]
Find all posts by this user
Thread Closed 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Bug] .sub & .idx playback issues A110 dotslasher 7 2,375 08-04-2012 11:02 PM
Last Post: VideoRipper
  [Bug] A-100 problem with setup screen thorium76 0 763 05-29-2012 11:40 AM
Last Post: thorium76
  [Feature] Browser in A-100 selbach 0 769 04-09-2012 06:36 PM
Last Post: selbach
  [Bug] A110 HDMI Audio not working OlivierS74 6 3,617 01-30-2012 04:56 AM
Last Post: GonzaloLI
  [Bug] PC won't recognise Popcorn A-100 ? wheresmenuts 2 1,303 01-24-2012 10:04 AM
Last Post: wheresmenuts
  [Bug] Menu not working morgalis 2 1,062 12-31-2011 09:14 AM
Last Post: NBM
Game [Bug] Problems with A-100 Gandybob 1 1,050 11-15-2011 10:27 PM
Last Post: Lpurchase
  [A-100] Incorrect framerate shown for AVI 1.0 files renzz 1 1,610 10-25-2011 10:56 PM
Last Post: rafio
  [Bug] A110 Not working with SMB share that has Junctions glennbrown 0 866 10-03-2011 05:47 AM
Last Post: glennbrown
  [A-110 & A-100] Don't play 1080p mkvs after a while (reboot needed) andromo 366 109,126 08-15-2011 10:41 AM
Last Post: azerty

Forum Jump: