subtitle problems

For help and support with issues specific to Linux/Unix
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

subtitle problems

Postby niels » Sat Aug 29, 2009 3:01 pm

Hi I am trying to watch a mp4 (h264, avc) with AAC audio. Included in the folder is a .srt file with the same name.

I play the transcode version with mencoder external subtitles, and it says 'corrupted data'.

If I delete the srt file, the file will play without problems (without transcode).

When I run the mencoder command from the debug log in a terminal, it says the following:

Code: Select all
mencoder -ss 0 -quiet /home/xxxx/bhd.mp4 -quiet -quiet -oac lavc -of mpeg -lavfopts format=asf -mpegopts format=mpeg2:muxrate=500000:vbuf_size=1194:abuf_size=64 -ovc lavc -channels 6 -lavdopts debug=0:threads=4 -lavcopts autoaspect=1:vcodec=mpeg2video:acodec=ac3:abitrate=640:threads=4:keyint=1:vqscale=1:vqmin=2 -subcp cp1252 -subfont /usr/share/fonts/truetype/msttcorefonts/Arial.ttf -subfont-text-scale 3 -subfont-outline 1 -subfont-blur 1 -subpos 98 -aid 2 -sid 100 -quiet -quiet -ofps 24000/1001 -sub /home/xxxx/bhd.srt -mc 0.1 -quiet -af lavcresample=48000 -srate 48000 -o /tmp/javaps3media/mencoder1251552002410
MEncoder SVN-r29583-snapshot-4.3.3 (C) 2000-2009 MPlayer Team
-subfont-text-scale is not an MEncoder option

Exiting... (error parsing command line)


Which is strange, because when I check 'man mencoder', -subfont-text-scale is listed as an option.

Im out of ideas on this one. Please help.
niels
 
Posts: 5
Joined: Sat Aug 29, 2009 2:48 pm

Re: subtitle problems

Postby Jagged » Sat Aug 29, 2009 8:56 pm

It looks like mencoder was compiled without subtitle support. You'll need to recompile it (or find a package for your distro that has subtitle support).
Jagged
 
Posts: 75
Joined: Thu Feb 26, 2009 8:44 pm

Re: subtitle problems

Postby niels » Sat Aug 29, 2009 9:33 pm

I think I installed it from synaptic...how do I turn on subtitle support?
niels
 
Posts: 5
Joined: Sat Aug 29, 2009 2:48 pm

Re: subtitle problems

Postby Topguy » Sun Aug 30, 2009 1:23 pm

niels wrote:I think I installed it from synaptic...how do I turn on subtitle support?


You should tell us which Linux distro you are using. Or search the forum for similar problems for your distro.
Topguy
 
Posts: 219
Joined: Mon Jan 19, 2009 9:27 pm

Re: subtitle problems

Postby niels » Thu Sep 03, 2009 6:40 pm

ubuntu jaunty 9.04
niels
 
Posts: 5
Joined: Sat Aug 29, 2009 2:48 pm

Re: subtitle problems

Postby niels » Thu Sep 03, 2009 7:05 pm

Problem solved. I now use a different version of mencoder (MEncoder SVN-r29325-4.3.3) and it works fine. Thanks for your help. I guess before I was using a snapshot version off their website which did not have subtitle support. Thanks again. ps3mediaserver rocks.
niels
 
Posts: 5
Joined: Sat Aug 29, 2009 2:48 pm


Return to Linux/Unix Support

Who is online

Users browsing this forum: No registered users and 2 guests