[MEncoder-users] Mencoder vdpau usage possible ?
belcampo
belcampo at zonnet.nl
Sun Aug 8 12:25:14 CEST 2010
Hi,
Not looking for speed improvement.
When encoding a short BBC-HD clip with ffmpeg I get annoying blockiness
in the first few frames, I issued the problem on the ffmpeg round-up,
the reference decoder didn't show that problem.
When playing the same clip with mplayer's default ffh264 I do see the
same blockiness.
However if I use -vc ffh264vdpau it's perfect.
So my thoughts are that encoding with mencoder -vc h264vdpau would solve
my blockiness problem. But I can't get a decent command-line to do this.
I tried:
mencoder source.ts -o destination.avi -demuxer mpegts -vc ffh264vdpau
-vf scale=720:576:0 -nosound -ovc x264 -x264encopts .....
The output I get is:
MEncoder SVN-r31630-4.4.1 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x8c1a24
TS file format detected.
VIDEO H264(pid=4113) NO AUDIO! NO SUBS (yet)! PROGRAM N. 1
FPS seems to be: 25.000000
[V] filefmt:29 fourcc:0x10000005 size:1440x1088 fps:25.000 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=720 h=576 interlaced=0]
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
[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.
[h264_vdpau @ 0x8916840]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8916840]decode_slice_header error
[VD_FFMPEG] Trying pixfmt=0.
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
I tried to change:
-vf scale=720:576:0
to
-vf spp=0:0:0,scale=720:576:0
Then I get:
MEncoder SVN-r31630-4.4.1 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0x8c1a24
TS file format detected.
VIDEO H264(pid=4113) NO AUDIO! NO SUBS (yet)! PROGRAM N. 1
FPS seems to be: 25.000000
[V] filefmt:29 fourcc:0x10000005 size:1440x1088 fps:25.000 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [scale w=720 h=576 interlaced=0]
Opening video filter: [spp=0:0:0]
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
[VD_FFMPEG] Trying pixfmt=0.
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
[h264_vdpau @ 0x8916840]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8916840]decode_slice_header error
[VD_FFMPEG] Trying pixfmt=0.
[PP] Using external postprocessing filter, max q = 6.
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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.
[h264_vdpau @ 0x8916840]decoding to PIX_FMT_NONE is not supported.
[h264_vdpau @ 0x8916840]decode_slice_header error
[VD_FFMPEG] Trying pixfmt=0.
[PP] Using external postprocessing filter, max q = 6.
Could someone help me with this matter, would be very pleased.
More information about the MEncoder-users
mailing list