[MPlayer-users] Extraction of subtitles and pcm (audio tracks) is broken in mplayer (fresh cvs version)

Anton Tropashko atropashko at yahoo.com
Fri Jun 4 07:03:54 CEST 2004


I'm trying to get subtitles subtracted with this command:

mencoder -v dvd://2 -vobsubout subtitles -vobsuboutindex 0 -sid 0 -o
frameno.avi -ovc frameno

And it does not work (extraction of pcm soundtrack also does not work
anymore). Here's the message:

No audio encoder (-oac) selected. Select one (see -oac help) or use
-nosound.
Exiting...

mplayer refuses to output a file with just video (in this case
frameno) or audio (I tried pcm):

mencoder -v dvd://2  -oac pcm

No video encoder (-ovc) selected. Select one (see -ovc help).
Exiting...

I know for sure extracting audio tracks worked a year ago or so.

These checks were added to mencoder.c rev 1.145 :

  if(sh_audio && out_audio_codec<0){
    if(audio_id==-2)
        mp_msg(MSGT_MENCODER,MSGL_ERR,"This demuxer doesn't support
-nosound yet
.\n");
    mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_NoAudioEncoderSelected);
    mencoder_exit(1,NULL);
  }
  if(sh_video && out_video_codec<0){
    mp_msg(MSGT_MENCODER,MSGL_FATAL,MSGTR_NoVideoEncoderSelected);
    mencoder_exit(1,NULL);
  }

commenting them out does not fix the problem. Duh.

Any suggestions?



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 




More information about the MPlayer-users mailing list