[MPlayer-users] mencoder bails out on 1st pass

16 views
Skip to first unread message

Alexander Roalter

unread,
Mar 24, 2012, 7:56:16 PM3/24/12
to MPlayer usage questions, feature requests, bug reports
I'm trying to reencode a VOB file, and a fresh mencoder build (with a
x264 from January 21st) stops with the following message:

[VD_FFMPEG] Trying pixfmt=0.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.

Exiting...


my command line is:

mencoder movie.vob -o movie.avi -msglevel all=5 -ovc x264 -x264encopts
subq=1:frameref=1:bframes=3:b_pyramid=1:weight_b:pass=1:threads=auto
-ofps 24 -delay 0.0 -audio-delay 0.0 -oac mp3lame -lameopts
abr:br=64:mode=3:padding=2 -srate 44100 -vf scale=384:288,dsize=512:288

This doesn't happen with all videos, so far I've only encountered one.
But it also happens with the following command line:

mencoder movie.vob -o movie.mpg -msglevel all=5 -of mpeg -ovc lavc
-lavcopts vcodec=mpeg2video:vqmin=2:vqscale=2:keyint=12:aspect=16/9
-ofps 24 -oac lavc -lavcopts acodec=ac3:abitrate=192 -srate 44100 -vf
scale=384:288,dsize=512:288

Any idea what the reason could be?

Perhaps it has something to do with the most recent changes in the
swresampler/rescaler in ffmpeg, done on March 24th? At least that's
where it currently doesn't compile, as a newly inserted typedef for
SwrContext makes the compiler think it is twice declared...

--
Cheers,
Alex
_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Ron Johnson

unread,
Mar 25, 2012, 7:37:06 AM3/25/12
to mplaye...@mplayerhq.hu
On 03/25/2012 04:31 AM, Krzysztof Duchnowski wrote:

> On 25.03.2012 00:56, Alexander Roalter wrote:
>> I'm trying to reencode a VOB file, and a fresh mencoder build (with a
>> x264 from January 21st) stops with the following message:
>>
>> [VD_FFMPEG] Trying pixfmt=0.
>> The selected video_out device is incompatible with this codec.
>> Try appending the scale filter to your filter list,
>> e.g. -vf spp,scale instead of -vf spp.
>>
>> Exiting...
>>
>>
>> my command line is:
>>
>> mencoder movie.vob -o movie.avi -msglevel all=5 -ovc x264 -x264encopts
>> subq=1:frameref=1:bframes=3:b_pyramid=1:weight_b:pass=1:threads=auto
>> -ofps 24 -delay 0.0 -audio-delay 0.0 -oac mp3lame -lameopts
>> abr:br=64:mode=3:padding=2 -srate 44100 -vf scale=384:288,dsize=512:288
>>
>> This doesn't happen with all videos, so far I've only encountered one.
>> But it also happens with the following command line:
>>
>> mencoder movie.vob -o movie.mpg -msglevel all=5 -of mpeg -ovc lavc
>> -lavcopts vcodec=mpeg2video:vqmin=2:vqscale=2:keyint=12:aspect=16/9
>> -ofps 24 -oac lavc -lavcopts acodec=ac3:abitrate=192 -srate 44100 -vf
>> scale=384:288,dsize=512:288
>>
>> Any idea what the reason could be?
>
>
> It might be because AVI didn't like *bframes and b_pyramid* (AVI don't
> like many advanced options) and in second one because MPEG2 don't like
> AC3 inside?
>

But isn't AC3 the standard audio codec of VOBs?

--
YES, there actually *are* stupid questions.

Oliver Seitz

unread,
Mar 26, 2012, 3:16:46 AM3/26/12
to mplaye...@mplayerhq.hu

> I reckon the video has some sort of resolution change at the and or how
> do I interpret this?

I just remember I've had a possibly similar problem once. It was a DVB
recording which would not want to encode. It was a 4:3 programme, but in
the beginning, there was ONE SINGLE frame from the previous programme in
16:9. MEncoder did, if I remember it right, encode this one frame and
then stop. -ss 1 did the trick then.

Greets,
Kiste

Alexander Roalter

unread,
Mar 26, 2012, 3:55:43 AM3/26/12
to MPlayer usage questions, feature requests, bug reports
Am 26.03.2012 09:16, schrieb Oliver Seitz:
>
>> I reckon the video has some sort of resolution change at the and or how
>> do I interpret this?
>
> I just remember I've had a possibly similar problem once. It was a DVB
> recording which would not want to encode. It was a 4:3 programme, but in
> the beginning, there was ONE SINGLE frame from the previous programme in
> 16:9. MEncoder did, if I remember it right, encode this one frame and
> then stop. -ss 1 did the trick then.
>

I managed to get it work by cutting out the last 32 frames using
avidemux, that's where the video switched back to 4x3

--
cheers,
Alex

Reply all
Reply to author
Forward
0 new messages