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 332157 - [asfdemux] This WMV file is played very strangely
[asfdemux] This WMV file is played very strangely
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
git master
Other Linux
: Normal normal
: 0.10.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 313851 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-02-22 11:22 UTC by Lionel Dricot
Modified: 2007-05-07 17:21 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix timestamps in compressed segments (605 bytes, patch)
2006-03-26 12:12 UTC, Fabrizio Gennari
none Details | Review

Description Lionel Dricot 2006-02-22 11:22:15 UTC
Download this wmv file : http://ploum.fritalk.com/piece-unique.wmv

Unlike many others wmv files, totem-gstreamer will play it, this is great.
But after a few seconds, strange things happend : frames are played very quickly then very slowly then very quickly. Very strange.

It's impressive to see that A/V sync is however really good !

I'm using gstreamer0.10-plugins-bad  0.10.1-0ubuntu1 with totem in Ubuntu Dapper.
Comment 1 Edward Hervey 2006-02-22 12:13:26 UTC
for some reason asfdemux is sending out buffers with GST_CLOCK_TIME_NONE. which screws up everything thereafter.
Comment 2 Tim-Philipp Müller 2006-02-22 12:26:10 UTC
There is most likely is an asfdemux bug here, no question about it.

Still, it's perfectly legitimate for the demuxer to send out frames with GST_CLOCK_TIME_NONE (if frames with a correct timestamps have been sent ealier) - the decoder should set sane timestamps on outgoing buffers in that case, e.g. based on the frame rate, shouldn't it? So the ffmpeg decoder probably needs fixing too in that case.
Comment 3 Fabrizio Gennari 2006-03-04 18:15:12 UTC
http://tolo88.altervista.org/video/calcettonido.wmv

FFmpeg plays this file, and keeps audio and video synchronised (the video is not display perfectly, however). Instead, Totem with GStreamer 0.10 backend only plays the first few video frames, then only audio.
Comment 4 Fabrizio Gennari 2006-03-05 22:26:47 UTC
I also have a .wmv file with a very similar problem described by Lionel: the audio is played right, the video goes very fast. Unfortunately it is too big to attach, and the site where it could be downloaded removed the .wmv and replaced it with a DivX. The original .wmv can be downloaded from eMule (look for "007 ipercoop wmv"), or I can send it via e-mail. FFmpeg plays it with no problems. Also, using ffdemux_asf instead of asfdemux solves everything
Comment 5 Lionel Dricot 2006-03-06 11:50:27 UTC
I've found an example like Fabrizio is describing :

http://ploum.fritalk.com/yatta.asf

The video is played very quickly then stopped. The audio is right. It seems to be a different issue than the one I have with the first file. Must I open a new bug ?
Comment 6 Tim-Philipp Müller 2006-03-06 12:03:53 UTC
Lionel: no, it's most likely the same issue. Thanks for the sample file.
Comment 7 Fabrizio Gennari 2006-03-26 12:12:08 UTC
Created attachment 62029 [details] [review]
Fix timestamps in compressed segments

This patch makes playback of Lionel's first video better.

Admittedly, with this patch I just tried to reproduce what FFmpeg does.
Comment 8 Fabrizio Gennari 2006-03-29 22:06:19 UTC
The above patch seems to fix yatta.asf too

Problem with calcettonido.wmv seems to be unrelated, I opened #336550 for it
Comment 9 Keith Curtis 2006-06-09 09:41:30 UTC
I noticed another file which jumps around:

Is this file fixed as well? I found this in a link from drudgereport.

http://movies.crooksandliars.com/Today-Coulter-12-27-05.wmv

I hope these fixes make it into the next Ubuntu!
Comment 10 Fabrizio Gennari 2006-06-14 20:13:25 UTC
For some strange reason, this video can only be downloaded by clicking on from the page http://www.crooksandliars.com/2005/12/27.html , I'm downloading the video right now.
Comment 11 Fabrizio Gennari 2006-06-14 21:13:42 UTC
Sorry, I've downloaded the file and cannot reproduce the problem (with Totem and the latest RPM version of GStreamer on FC5).

Instead, yatta.asf and piece-unique.wmv still have problems (same configuration).
Comment 12 Tim-Philipp Müller 2006-07-10 14:27:34 UTC
*** Bug 313851 has been marked as a duplicate of this bug. ***
Comment 13 Tim-Philipp Müller 2007-05-07 17:21:22 UTC
The patch has actually been committed by Wim at some point.

In any case, the packet parsing code has had a bit of an overhaul recently, and the above videos (in particular yatta and piece-unique) play fine now from local file. 

calcettonido.wmv doesn't play perfectly yet, but that's a decoder/ffmpeg issue I think (seems like it doesn't support a certain type of delta-frame or something).

Closing this bug as FIXED.

Please file new bugs for any other files that don't play correctly with current -ugly CVS.