You are not logged in.

#1 2008-02-04 18:29:55

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

gstreamer0.10-ffmpeg and ffmpeg wmv3 playback issue

I am experiencing some issues with playback of certain files (*.avi, encoded with WMV3 aka Windows media something 9).
Trying to open the file with gstreamer fails miserably:

$ LANG=C GST_DEBUG=1 gst-launch-0.10 playbin uri=file:///media/disk/data/video/fullmetal\ alchemist/\[KAA\]_FullMetal_Alchemist_01-51.DVD\(complete\)/Fullmetal_Alchemist_09.DVD\(AAC\)\[KAA\]\[7FDF2841\].avi              
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.818565000  9542 0x81ec6d8 ERROR               ffmpeg :0:: Profile value 2 is forbidden (and WMV3 Complex Profile is unsupported)
ERROR: from element /playbin0/decodebin0/avidemux0: Internal data stream error.
Additional debug info:
gstavidemux.c(3742): gst_avi_demux_loop (): /playbin0/decodebin0/avidemux0:
streaming stopped, reason not-negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

and of course nothing is displayed. Judging by the output, ffmpeg seems to be the culprit, but... the plot gets twisted when I try to use ffplay

ffplay Fullmetal_Alchemist_09.DVD\(AAC\)\[KAA\]\[7FDF2841\].avi 
FFplay version UNKNOWN, Copyright (c) 2003-2007 Fabrice Bellard, et al.
  configuration: --prefix=/usr --enable-gpl --enable-libmp3lame --enable-libvorbis --enable-pp --enable-libfaac --enable-libfaad --enable-liba52 --enable-libxvid --enable-libx264 --enable-libtheora --disable-libamr-nb --enable-pp --enable-shared --enable-pthreads --enable-x11grab --enable-swscaler
  libavutil version: 49.5.0
  libavcodec version: 51.48.0
  libavformat version: 52.1.0
  built on Dec  4 2007 21:40:55, gcc: 4.2.2
[wmv3 @ 0xb7dbc790]WMV3 Complex Profile is not fully supported
[wmv3 @ 0xb7dbc790]WMV3 Complex Profile is not fully supported

Surprisingly, ffplay works, though warnings about complex profile not being fully supported appear.
I tried doing the same on debian unstable with ffmpeg taken from debian-multimedia (ffmpeg 20071206, in Arch is 20071204, 2 days difference?) and playback seemed worked.
Funny is that the problem manifests itself with xine too, however there is no problem with mplayer. But since I need working gstreamer, using mplayer is not an option.
Any clues on how to fix it?

Offline

#2 2008-02-04 18:53:41

bboozzoo
Member
From: Poland
Registered: 2006-08-01
Posts: 125

Re: gstreamer0.10-ffmpeg and ffmpeg wmv3 playback issue

just checked, taking latest ffmpeg from svn does not solve the issue with gstreamer

Edit:
silly me, gst-ffmpeg-0.10.3 comes with it's own version of ffmpeg

Edit2:
still not solved, uses exactly the same sources as gstreamer0.10-ffmpeg from debian multimedia

Last edited by bboozzoo (2008-02-04 20:54:35)

Offline

Board footer

Powered by FluxBB