Mencoder (and HandBrake) both exit after 1st .VOB file
Mplayer plays this VIDEO_TS normally, but I am unable to encode it, as the encode always exits after the first .VOB, which plays back normally as far as it goes. It will encode beyond this limit if I use the -chapters option, but the encode is unsatisfactory as the video and audio get progressively more out of phase with each other, and playback ultimately alternates between frozen video while the sound plays, then no audio while the video plays. For example, here is part of the log produced when I just encoded chapter 12 mencoder dvd://2 -dvd-device VIDEO_TS -chapter 12 -o f.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4 mplayer f.avi ... Movie-Aspect is 1.25:1 - prescaling to correct movie aspect. VO: [xv] 720x576 => 720x576 Planar YV12 A: 0.1 V: 0.0 A-V: 0.020 ct: 0.002 2/ 2 ??% ??% ??,?% 0 0 [VD_FFMPEG] DRI failure. A: 161.4 V: 161.4 A-V: 0.006 ct: 0.022 4037/4037 4% 0% 0.5% 0 0 [ac3 @ 0xb74a3400]incomplete frame A: 162.0 V: 178.2 A-V:-16.180 ct: -1.587 4455/4455 4% 0% 0.5% 0 0 [ac3 @ 0xb74a3400]frame sync error and the pattern of "incomplete frame/frame sync error" continues endlessly. Thank you for your help. -- Graham Lawrence
On Mon, Feb 08, 2016 at 02:24:42PM -0800, Graham Lawrence wrote:
mencoder dvd://2 -dvd-device VIDEO_TS -chapter 12 -o f.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4
-oac copy never worked reliably. You can get lucky, but generally you need to re-encode audio. There probably is some kind of transition that confuses the code tracking the audio position when -oac copy is used, and thus it muxes audio and video together badly.
mplayer f.avi
There is a chance you can play it with the -ni option. It's still a broken/badly interleaved file though.
Many thanks Reimar, encoding without the sound did the trick On Mon, Feb 8, 2016 at 3:25 PM, Reimar Döffinger <Reimar.Doeffinger@gmx.de> wrote:
On Mon, Feb 08, 2016 at 02:24:42PM -0800, Graham Lawrence wrote:
mencoder dvd://2 -dvd-device VIDEO_TS -chapter 12 -o f.avi -oac copy -ovc lavc -lavcopts vcodec=mpeg4
-oac copy never worked reliably. You can get lucky, but generally you need to re-encode audio. There probably is some kind of transition that confuses the code tracking the audio position when -oac copy is used, and thus it muxes audio and video together badly.
mplayer f.avi
There is a chance you can play it with the -ni option. It's still a broken/badly interleaved file though. _______________________________________________ MEncoder-users mailing list MEncoder-users@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
-- Graham Lawrence
participants (2)
-
Graham Lawrence -
Reimar Döffinger