After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 600037 - [asfdemux] ASF MPEG4 Part 2 file captured from Linksys WVC200 Camera corrupted/fails
[asfdemux] ASF MPEG4 Part 2 file captured from Linksys WVC200 Camera corrupte...
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal major
: 0.10.14
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-10-29 14:36 UTC by Robert Krakora
Modified: 2010-02-09 14:43 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Problematic ASF MPEG4 Part 2 File (zipped) (451.50 KB, application/octet-stream)
2009-10-29 14:40 UTC, Robert Krakora
Details

Description Robert Krakora 2009-10-29 14:36:20 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.
Comment 1 Robert Krakora 2009-10-29 14:40:18 UTC
Created attachment 146506 [details]
Problematic ASF MPEG4 Part 2 File (zipped)
Comment 2 Edward Hervey 2009-10-29 15:31:20 UTC
Fails with git. Doesn't even play
Comment 3 Robert Krakora 2009-10-29 15:37:59 UTC
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
Comment 4 Edward Hervey 2009-10-29 15:55:46 UTC
could you put the output of "gst-inspect-0.10 | grep -i asf" here ?
Comment 5 Robert Krakora 2009-10-29 16:57:11 UTC
[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
Comment 6 Edward Hervey 2009-10-29 17:04:04 UTC
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).
Comment 7 Robert Krakora 2009-10-29 17:15:35 UTC
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
Comment 8 Michael Smith 2009-10-29 17:24:28 UTC
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.
Comment 9 Michael Smith 2009-10-29 17:36:50 UTC
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.
Comment 10 Robert Krakora 2009-10-29 17:47:18 UTC
Michael:

What does your pipeline look like to play back without Fluendo components?  Where is the patch for the fix?

Best Regards,

Rob
Comment 11 Michael Smith 2009-10-29 18:37:45 UTC
I tested using playbin2.

The patch is 5ccedb2a38c62ae41dbdbe2ec26d6696db2c7a63 in gst-plugins-ugly.
Comment 12 Robert Krakora 2010-02-09 14:43:15 UTC
This bug appears to be fixed for both the GStreamer and Fluendo plugins.  It is no longer an issue.  Thanks to all.  ;-)