GNOME Bugzilla – Bug 600037
[asfdemux] ASF MPEG4 Part 2 file captured from Linksys WVC200 Camera corrupted/fails
Last modified: 2010-02-09 14:43:15 UTC
GStreaer will not play the attache ASF MPEG4 Part 2 file captured from a Linksys WVC200 web camera correctly. The top half of the picture plays fine, but the bottom half is corrupt. MPlayer with ffmpeg plays the file fine.
Created attachment 146506 [details] Problematic ASF MPEG4 Part 2 File (zipped)
Fails with git. Doesn't even play
Edward: It tried to play (but with corrupted picture) with 10.25 and latest released plugins. MPlayer and VLC (ffmpeg both) do not have a problem playing. However, I am a GStreamer/Fluendo user and would like to be able to stream my camera video to GStreamer for playback. ffmpeg is nice but violates patents... ;-) Best Regards, Rob
could you put the output of "gst-inspect-0.10 | grep -i asf" here ?
[root@devkrakora silentm]# gst-inspect-0.10 | grep -i asf flurtp: flurtpasfdepay: RTP packet parser fluasf: fluasfcmdparse: Fluendo ASF Command Parser fluasf: fluasfdemux: Fluendo ASF Demuxer asf: asfdemux: ASF Demuxer asf: rtspwms: WMS RTSP Extension asf: rtpasfdepay: RTP ASF packet depayloader asfmux: asfmux: ASF muxer asfmux: rtpasfpay: RTP ASF payloader asfmux: asfparse: ASF parser ffmpeg: ffdemux_asf: FFmpeg ASF format demuxer ffmpeg: ffmux_asf: FFmpeg ASF format muxer ffmpeg: ffmux_asf_stream: FFmpeg ASF format muxer typefindfunctions: video/x-ms-asf: wmv, wma, wm, asf
You're using the fluendo asf demuxer, so you'll have to report the issue on the fluendo bugtracker. I'm keeping this bug open nonetheless since that file is also failing with the gst-plugins-ugly asf demuxer but in a different fashion. The stream is ill-formed, and asfdemux seems stricter than fluasfdemux in that regards so doesn't output anything (instead of outputting half-baked packets).
Edward: I tried just the GStreamer plugins and I see nothing. Fluendo is a bit better as I can see video. Did you use afsparse or some other tool to disect the ASF stream to determine that it was ill-formed? Thanks for getting on this so quickly! ;-) Does Fluendo have a way to report bugs via Bugzilla? Best Regards, Rob
Strangely, microsoft's "ASF View" tool - which normally can dissect an ASF file pretty comprehensively - can't do much with this file. It shows the headers, but nothing else. And yet, windows media player can play it fine. So it's certainly corrupted in some way, but apparently in a way that we should be able to cope with.
Fixed with this. To the original reporter: this still won't work with the fluendo plugins - you should report this to their bug tracker (which is not bugzilla, and hopefully is still linked to somewhere on their website). commit 5ccedb2a38c62ae41dbdbe2ec26d6696db2c7a63 Author: Michael Smith <msmith@songbirdnest.com> Date: Thu Oct 29 10:34:17 2009 -0700 asfdemux: accept fragments in a continued packet where the subsequent fragme declare a size of 0. Fixes bug 600037.
Michael: What does your pipeline look like to play back without Fluendo components? Where is the patch for the fix? Best Regards, Rob
I tested using playbin2. The patch is 5ccedb2a38c62ae41dbdbe2ec26d6696db2c7a63 in gst-plugins-ugly.
This bug appears to be fixed for both the GStreamer and Fluendo plugins. It is no longer an issue. Thanks to all. ;-)