You are not logged in.
Trying to follow https://wiki.archlinux.org/index.php/Co … _DVD_Video
While trying to rip audio from file as per section, "The Audio"
Modifying command:
mencoder movie.mov -alang it -ovc frameno -of rawaudio -srate 48000 -channels 2 \
-oac lavc -lavcopts acodec=ac3:abitrate=128 -o italian_audio.ac3
Entering:
mencoder gandhi.avi -alang en -ovc frameno -of rawaudio -srate 48000 -channels 2 \
-oac lavc -lavcopts acodec=ac3:abitrate=128 -o english_audio.ac3
Output:
MEncoder SVN-r36285-4.8.0 (C) 2000-2013 MPlayer Team
Cannot test OS support for SSE, disabling to be safe.
205 audio & 424 video codecs
success: format: 0 data: 0x0 - 0x319c4000
libavformat version 55.7.100 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO: [XVID] 704x288 12bpp 25.000 fps 467.4 kbps (57.1 kbyte/s)
[V] filefmt:3 fourcc:0x44495658 size:704x288 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
Ignoring video stream!
libavcodec version 55.12.100 (internal)
Unsupported AVSampleFormat 8
Unsupported AVSampleFormat 8
Audio encoder requires unknown or unsupported input format
Exiting...
Any hints as to what's wrong would be greatly appreciated.
-Tom
Last edited by tlheitz (2013-06-15 17:54:50)
Offline
Perhaps your srate is wrong.
Offline
Thank you, but I'm afraid that was just a typo in the post. I've corrected it.
Offline
is there a solution? i have the same problem
$ mencoder /path/to/file -alang ger -ovc frameno -of rawaudio -srate 48000 -channels 2 / -oac lavc -lavcopts acodec=ac3:abitrate=128 -o ger_audio.ac3
MEncoder SVN-r36285-4.8.0 (C) 2000-2013 MPlayer Team
205 audio & 424 video codecs
success: format: 0 data: 0x0 - 0x13dafefd
libavformat version 55.7.100 (internal)
libavformat file format detected.
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (dca), -aid 0, -alang ger
[lavf] stream 2: audio (dca), -aid 1, -alang ger
[lavf] stream 3: subtitle (subrip), -sid 0, -slang ger
VIDEO: [H264] 1280x720 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:1280x720 fps:25.000 ftime:=0.0400
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 55.12.100 (internal)
AUDIO: 48000 Hz, 2 ch, floatle, 1536.0 kbit/50.00% (ratio: 192000->384000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
==========================================================================
Ignoring video stream!
Unsupported AVSampleFormat 8
Unsupported AVSampleFormat 8
Audio encoder requires unknown or unsupported input format
Exiting...
Last edited by kriz (2013-06-19 10:08:42)
„Je verdinglichter die Welt, je dichter das Netz, das der Natur überworfen wurde, desto mehr beansprucht ideologisch das Denken, das jenes Netz spinnt, seinerseits Natur, Urerfahrung zu sein." Theodor W. Adorno [aus: Wozu noch Philosopie]
Offline
mencoder is not developed/maintained anymore, at least not actively – I remember
reading a message on mencoder’s mailing list regarding this matter. This is why
you should consider using ffmpeg or mplayer in conjunction with ffmpeg.
ffmpeg -i input.mp4 -target pal-dvd -aspect 16:9 output.mpg
This is basically everything you need to do. For more information about the
‘-target’ switch search on this page (or in ffmpeg’s man page) for ‘-target’.
Please note that most probably some magic must be applied in order to make the
output’s aspect ratio right. The command line above should work correctly on a
video file with an aspect ration of 16:9.
Offline