GNOME Bugzilla – Bug 107186
We need a newer ffmpeg snapshot in HEAD
Last modified: 2004-12-22 21:47:04 UTC
For some mp3s ffmpegs typefind returns video/mpeg, which makes these files unplayable in apps. Probably could be solved by changing order of typefinding (going trough mp3 typefinder before going trough ffmpeg), but i don't know if this is possible. This looks like a typedetection bug in ffmpeg. I made this small patch to the ffmpeg typefinder to not check for mpegs. I don't think this has much impact, since there are other video/mpeg finders and now my mp3s do show up correctly.
Created attachment 14653 [details] [review] disable ffmpeg mpeg typefind
This patch should be merged before 0.6.1
2 things: 1) It's fixed in current ffmpeg cvs, so please don't apply to HEAD. (link to fix is http://cvs.sourceforge.net/cgi- bin/viewcvs.cgi/ffmpeg/ffmpeg/libavformat/mpeg.c.diff?r1=1.21&r2=1.22 - split by bugzilla) 2) if you comment out some part of the code, please add a comment to the source saying why you did so (like "disabling because ffmpeg v0.x.y detects lots of mp3 files as video/mpeg") or someone else might reenable it some day because he wonders why that line is commented out. Someone please apply to 0.6 and close this bug.
If it's fixed, we shoul try to get a newer snapshot of ffmpeg's CVS in HEAD. 0.6 can keep on using the current version with this patch.
Fixed in 0.6.1 CVS. Topic changed to reflect changes needed in HEAD CVS.
HEAD has new ffmpeg snapshot now.
*** Bug 112597 has been marked as a duplicate of this bug. ***