You are not logged in.

#1 2013-06-15 17:32:31

tlheitz
Member
Registered: 2013-06-15
Posts: 2

Following "Convert any Movie to DVD Video" Ends in Errors

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

#2 2013-06-15 17:39:51

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,017

Re: Following "Convert any Movie to DVD Video" Ends in Errors

Perhaps your srate is wrong.

Offline

#3 2013-06-15 17:56:24

tlheitz
Member
Registered: 2013-06-15
Posts: 2

Re: Following "Convert any Movie to DVD Video" Ends in Errors

Thank you, but I'm afraid that was just a typo in the post. I've corrected it.

Offline

#4 2013-06-19 10:07:47

kriz
Member
Registered: 2009-06-29
Posts: 96

Re: Following "Convert any Movie to DVD Video" Ends in Errors

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

#5 2013-06-19 14:31:22

Sikon
Member
Registered: 2011-04-26
Posts: 7

Re: Following "Convert any Movie to DVD Video" Ends in Errors

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

Board footer

Powered by FluxBB