Opened 12 years ago

Last modified 12 years ago

#581 new defect

filters doesn't work with YUY2

Reported by: wbrana@… Owned by: reimar
Priority: normal Component: vf
Version: 1.0pre8 Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Postprocessing doesn't work with YUY2 colorspace.

v@localhost ~ $ mplayer -vf format,crop=700:560:15:12,pp -tv
driver=v4l2:width=720:height=576:alsa:immediatemode=0:adevice=hw.1,0:audiorate=48000:amode=1
tv://52
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M CPU 420 @ 1.60GHz (Family: 6, Model: 14,
Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

93 audio & 211 video codecs

Playing tv://52.
Cache fill: 0.00% (0 bytes)
Selected driver: v4l2

name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@…>
comment: first try, more to come ;-)

Selected device: Pinnacle Hybrid Pro

Tuner cap:
Tuner rxs:
Capabilites: video capture VBI capture device tuner audio read/write

streaming

supported norms: 0 = PAL; 1 = PAL-DK; 2 = PAL-I; 3 = NTSC; 4 = SECAM; 5 = PAL-M;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 0
Current format: YUYV

v4l2: current audio mode is : STEREO
Selected channel: 52 (freq: 719.250)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [pp]
Opening video filter: [crop w=700 h=560 x=15 y=12]
Crop: 700 x 560, 15 ; 12
Opening video filter: [format]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2)
[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 adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x32595559.
Read DOCS/HTML/en/codecs.html!
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
v4l2: 0 frames successfully processed, 0 frames dropped.
alsa-uninit: pcm closed

Exiting... (Quit)

v@localhost ~ $ mplayer -vf format,crop=700:560:15:12 -tv
driver=v4l2:width=720:height=576:alsa:immediatemode=0:adevice=hw.1,0:audiorate=48000:amode=1
tv://52
MPlayer 1.0pre8-3.4.6 (C) 2000-2006 MPlayer Team
CPU: Intel(R) Celeron(R) M CPU 420 @ 1.60GHz (Family: 6, Model: 14,
Stepping: 8)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

93 audio & 211 video codecs

Playing tv://52.
Cache fill: 0.00% (0 bytes)
Selected driver: v4l2

name: Video 4 Linux 2 input
author: Martin Olschewski <olschewski@…>
comment: first try, more to come ;-)

Selected device: Pinnacle Hybrid Pro

Tuner cap:
Tuner rxs:
Capabilites: video capture VBI capture device tuner audio read/write

streaming

supported norms: 0 = PAL; 1 = PAL-DK; 2 = PAL-I; 3 = NTSC; 4 = SECAM; 5 = PAL-M;
inputs: 0 = Television; 1 = Composite1; 2 = S-Video;
Current input: 0
Current format: YUYV

v4l2: current audio mode is : STEREO
Selected channel: 52 (freq: 719.250)
==========================================================================
Opening audio decoder: [pcm] Uncompressed PCM audio decoder
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio: 192000->192000)
Selected audio codec: [pcm] afm: pcm (Uncompressed PCM)
==========================================================================
Opening video filter: [crop w=700 h=560 x=15 y=12]
Crop: 700 x 560, 15 ; 12
Opening video filter: [format]
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 576 (preferred colorspace: Packed YUY2)
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 700x560 => 746x560 Packed YUY2 [fs]
Selected video codec: [rawyuy2] vfm: raw (RAW YUY2)
==========================================================================
alsa-init: using device default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
v4l2: 62 frames successfully processed, 0 frames dropped. 0.1% 0 0 0%
alsa-uninit: pcm closed

Exiting... (Quit)

Change History (0)

Note: See TracTickets for help on using tickets.