Video non playable with deinterlace option using gl output

31 views
Skip to first unread message

Starcrasher

unread,
Jun 10, 2008, 6:46:11 AM6/10/08
to gnome-...@googlegroups.com
Hi all,

I tried the SVN rev 680 and something wrong happened.

It was playing fine with vo set to x11 or xv but when using vo=gl, I was
unabled to play the video joined with the deinterlace option activated.
The video played normally without the deinterlacing filter.

It's probably an mplayer problem but maybe we shouldn't set the
deinterlacing filter activated by default when the output is set to gl.

Console output with gl and deinterlacing activated.

$ gnome-mplayer --reallyverbose
'/home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv' -q
GNOME MPlayer v0.6.2
vo = gl ao = alsa
opening /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
is block 0
is character 0
is reg 1
is dir 0
playlist 0
embedded in window id 0
playlist detection = 0
playing - /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv is
playlist = 0
playing - /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
Spawn succeeded for
filename /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match:
type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
send command = seek 0 0

MPlayer 1.0-1.rc2.13plf2009.0-4.3.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(TM) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
ERROR: mplayer: could not connect to socket
ERROR: mplayer: Connection refused
ERROR: Failed to open LIRC support. You will not be able to use your
remote control.

Playing /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv.
Cache fill: 17.29% (1449984 bytes)
ASF file format detected.
ID_AUDIO_ID=1
[asfheader] Audio stream found, -aid 1
ID_VIDEO_ID=2
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 400x300 24bpp 1000.000 fps 448.0 kbps (54.7 kbyte/s)
ID_FILENAME=/home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV3
ID_VIDEO_BITRATE=447960
ID_VIDEO_WIDTH=400
ID_VIDEO_HEIGHT=300
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=33.00
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
xscreensaver_disable: Could not find XScreenSaver window.
Opening video filter: [scale]
ERROR: Couldn't open video filter 'ass'.
ERROR: ASS: cannot add video filter
Opening video filter: [screenshot]
Opening video filter: [yadif]
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:360000 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 400 x 300 (preferred colorspace: Packed YUY2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
ERROR: The selected video_out device is incompatible with this codec.
VDecoder init failed :(
ERROR: Try appending the scale filter to your filter list,
Opening video decoder: [dmo] DMO video codecs
ERROR: e.g. -vf spp,scale instead of -vf spp.
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:360000 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 400 x 300 (preferred colorspace: Packed YUY2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
ERROR: The selected video_out device is incompatible with this codec.
VDecoder init failed :(
ERROR: Try appending the scale filter to your filter list,
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
ERROR: e.g. -vf spp,scale instead of -vf spp.
Selected video codec: [ffwmv3] vfm: ffmpeg (FFmpeg M$ WMV3/WMV9)
==========================================================================
ID_VIDEO_CODEC=ffwmv3
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
ID_AUDIO_BITRATE=64040
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffwmav2
Starting playback...
VDec: vo config request - 400 x 300 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
ERROR: The selected video_out device is incompatible with this codec.
ERROR: Try appending the scale filter to your filter list,
ERROR: e.g. -vf spp,scale instead of -vf spp.
ERROR:

ERROR: FATAL: Could not initialize video filters (-vf) or video output
(-vo).

Exiting... (End of file)
Thread completing


and without deinterlacing...

$ gnome-mplayer --reallyverbose
'/home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv' -q
--disabledeinterlace
GNOME MPlayer v0.6.2
vo = gl ao = alsa
opening /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
is block 0
is character 0
is reg 1
is dir 0
playlist 0
embedded in window id 0
playlist detection = 0
playing - /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv is
playlist = 0
playing - /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
Spawn succeeded for
filename /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match:
type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
send command = seek 0 0

MPlayer 1.0-1.rc2.13plf2009.0-4.3.1 (C) 2000-2007 MPlayer Team
CPU: AMD Athlon(TM) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
ERROR: mplayer: could not connect to socket
ERROR: mplayer: Connection refused
ERROR: Failed to open LIRC support. You will not be able to use your
remote control.

Playing /home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv.
Cache fill: 16.60% (1392640 bytes)
ASF file format detected.
ERROR: Couldn't open video filter 'ass'.
ID_AUDIO_ID=1
ERROR: ASS: cannot add video filter
[asfheader] Audio stream found, -aid 1
ID_VIDEO_ID=2
[asfheader] Video stream found, -vid 2
VIDEO: [WMV3] 400x300 24bpp 1000.000 fps 448.0 kbps (54.7 kbyte/s)
ID_FILENAME=/home/My_USERNAME/Video/crazy_cow_i_like_to_muh.wmv
ID_DEMUXER=asf
ID_VIDEO_FORMAT=WMV3
ID_VIDEO_BITRATE=447960
ID_VIDEO_WIDTH=400
ID_VIDEO_HEIGHT=300
ID_VIDEO_FPS=1000.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=353
ID_AUDIO_BITRATE=0
ID_AUDIO_RATE=0
ID_AUDIO_NCH=0
ID_LENGTH=33.00
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
xscreensaver_disable: Could not find XScreenSaver window.
Opening video filter: [scale]
Opening video filter: [screenshot]
[ass] Init
[ass] Updating font cache.
==========================================================================
Opening video decoder: [dmo] DMO video codecs
DMO dll supports VO Optimizations 0 1
DMO dll might use previous sample when requested
GetOutput r=0x0 size:360000 align:1
StreamCount r=0x0 1 1
Decoder supports the following formats: YV12 YUY2 UYVY YVYU RGB8 RGB555
RGB565 RGB24 RGB32
Decoder is capable of YUV output (flags 0x1b)
VDec: vo config request - 400 x 300 (preferred colorspace: Packed YUY2)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
ERROR: [swscaler @ 0x88fc130]SwScaler: using unscaled yuv420p -> rgb32
special converter
VO: [gl] 400x300 => 400x300 BGRA [zoom]
Resizing to 400 x 300
send command = get_property metadata

send command = get_time_length

send command = volume 100 1

send command = get_property volume

Selected video codec: [wmv9dmo] vfm: dmo (Windows Media Video 9 DMO)
==========================================================================
ID_VIDEO_CODEC=wmv9dmo
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8005->176400)
ID_AUDIO_BITRATE=64040
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
ID_AUDIO_CODEC=ffwmav2
Starting playback...
send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

send command = get_time_pos

send command = get_property stream_pos

Exiting... (End of file)
Thread completing

As usual, when it will be ready,we will need an updated
gnome-mplayer.pot file to translate the new strings.

If you need something to check deinterlacing good examples of interlaced
videos are TV shows and streams.

By the way, the video is an extract from a commercial, have fun with it.

Regards,

Starcrasher
--
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org

crazy_cow_i_like_to_muh.wmv

Kevin DeKorte

unread,
Jun 10, 2008, 8:48:39 AM6/10/08
to gnome-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Starcrasher wrote:
| Hi all,
|
| I tried the SVN rev 680 and something wrong happened.
|
| It was playing fine with vo set to x11 or xv but when using vo=gl, I was
| unabled to play the video joined with the deinterlace option activated.
| The video played normally without the deinterlacing filter.
|
| It's probably an mplayer problem but maybe we shouldn't set the
| deinterlacing filter activated by default when the output is set to gl.
|

Try SVN now. I added in the scale vf after adding yadif and now it works
for me in gl mode.

Where did you find that video? It is both funny and annoying at the same
time.

Kevin
- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFITngn6w2kMH0L1dERApmBAJ9210pNpLw5yPp9UBqpz016FKvUmACeKT3G
Js9Khc4bWc9ZzMYqDbtxKAY=
=suRE
-----END PGP SIGNATURE-----

Diogo Franco

unread,
Jun 10, 2008, 11:53:13 AM6/10/08
to gnome-...@googlegroups.com
This patch joins yadif and scale on a single command line. Also, it puts
them on 'vf-pre', since yadif needs to see the frame before any
postprocessing. I put softskip after yadif too, because it probably
needs to see all frames (nothing on the docs mention that, but inverse
telecine filters need it and they do some deinterlacing too).
yadif.patch

Kevin DeKorte

unread,
Jun 10, 2008, 12:16:39 PM6/10/08
to gnome-...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Diogo Franco wrote:
| Em Ter, 2008-06-10 às 06:48 -0600, Kevin DeKorte escreveu:
| Starcrasher wrote:
| | Hi all,
| |
| | I tried the SVN rev 680 and something wrong happened.
| |
| | It was playing fine with vo set to x11 or xv but when using vo=gl, I was
| | unabled to play the video joined with the deinterlace option activated.
| | The video played normally without the deinterlacing filter.
| |
| | It's probably an mplayer problem but maybe we shouldn't set the
| | deinterlacing filter activated by default when the output is set to gl.
| |
|
| Try SVN now. I added in the scale vf after adding yadif and now it works
| for me in gl mode.
|
| Where did you find that video? It is both funny and annoying at the same
| time.
|
| Kevin
|>

| This patch joins yadif and scale on a single command line. Also, it puts
| them on 'vf-pre', since yadif needs to see the frame before any
| postprocessing. I put softskip after yadif too, because it probably
| needs to see all frames (nothing on the docs mention that, but inverse
| telecine filters need it and they do some deinterlacing too).

Applied...

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFITqjn6w2kMH0L1dERAs6DAJ9hcp/Wr1Xsys9yKn/tzWyYdkGfZwCfa8pc
Z6plSKPhFKOp7scV3ykA40w=
=/Fq0
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages