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 610449 - codec autodetection does not always work
codec autodetection does not always work
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.26
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-19 13:09 UTC by Jean-François Fortin Tam
Modified: 2010-08-27 00:11 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-02-19 13:09:44 UTC
http://jeff.ecchi.ca/public/gstreamer-codec-autodetection/
You should be looking mainly at folder #4 and #2, and then #3 optionally (I filed a pitivi-specific bug about category #3 in bug #610325).

Is a collection of video samples that I put together. They work and playback fine in totem (and pitivi, usually) if you have the proper gst plugins (good, bad, ugly, ffmpeg...) installed.

The problem is that if you don't have them installed, some of those media files will not be properly detected by the codec installer thingy. So this means that users who don't really know gstreamer will try to open them and get the following two types of error messages:

http://jeff.ecchi.ca/public/gstreamer-codec-autodetection/generic%20gst%20codec%20error.png

http://jeff.ecchi.ca/public/gstreamer-codec-autodetection/generic%20gst%20codec%20error,%20alternate%20version.png

And they might give up, thinking that gstreamer just doesn't support those files.
Comment 1 Tim-Philipp Müller 2010-02-19 13:15:24 UTC
Have you tried with the 0.10.26.2 pre-release yet?

There were a number of fixes to playbin2/decodebin2 regarding the missing-plugin stuff.
Comment 2 Jean-François Fortin Tam 2010-02-19 13:32:26 UTC
Not yet, as I need to wait for ubuntu package updates or gstreamer PPA updates.
Comment 3 Jean-François Fortin Tam 2010-02-19 14:48:26 UTC
Additional info: my testing methodology was to use a clean ubuntu 10.04 (development version) setup, with only gst base and gst good.

I considered a file to be properly detected when the codec search dialog came up. I considered a file as incorrectly detected when totem on pitivi just spit an error (in totem's case, it always is one of the errors shown in the two screneshots).
Comment 4 Sebastian Dröge (slomo) 2010-02-19 17:02:56 UTC
Some tests with latest releases/latest GIT:

#5: Chic with Nile Rodgers - Le Freak.flv:
 - Internal data stream error with latest pre-releases and all codecs installed
 - gst-ffmpeg GIT fixes it
 - Without gst-ffmpeg: codec installer is started

#4: 00108.MTS:
 - Works fine with all codecs installed
 - Starts codec installer for mpeg ts demuxer with only core/base/good installed

#4: Metal Gear Solid 2 - E3.asx:
  - Complains that it can't be parsed. With everything from latest GIT

#4: Mushihimesama au tapis de DDR.avi:
  - Works just fine with latest pre-releases

Next I'll look at the #2 directory ;)
Comment 5 Sebastian Dröge (slomo) 2010-02-19 17:10:10 UTC
1.21 gigawatts - Dr. Brown and Marty - Back to the future.mp4
4481458.avi
Alone in the Dark 5.avi
Animator vs Animation.avi
Anti-Piracy Ad from The IT Crowd.mp4
Apple Keynote in 110 seconds.flv
D90 HD video test par Yannick Khong.flv
Dove - Evolution.avi
Linux, the next step in software evolution.flv

All work fine with latest pre-releases of everything. I'll stop testing now and close this bug as fixed. If you still have any problems with totem and the latest pre-releases please reopen. If it only fails with pitivi it's most likely a pitivi bug.
Comment 6 Jean-François Fortin Tam 2010-02-26 01:18:45 UTC
Reopening as I tested with the various gstreamer 0.10.26.3 updates today on my lucid testing box, still none of those files are correctly autodetected.
Comment 7 Jean-François Fortin Tam 2010-02-26 02:07:36 UTC
It seems bluez-gstreamer is the culprit; having it installed in karmic (it is, by default) causes the problems.
Comment 8 Sebastian Dröge (slomo) 2010-02-26 07:54:32 UTC
Yes, bluez is known to break stuff because the sinks have a too high rank although they can't be autoplugged.

Apart from that you could try if things work better with this totem patch:
http://git.gnome.org/browse/totem/commit/?id=fda6b27a40f4e130b48cd2c7ab8f9bed7b8009f3
Comment 9 Tobias Mueller 2010-04-17 00:11:45 UTC
Jean: Ping.
Comment 10 Jean-François Fortin Tam 2010-04-19 02:26:24 UTC
I'm unable to test this right now due to lack of time and the fact that my ubuntu 10.04 testing machine is hosed again.
Comment 11 Fabio Durán Verdugo 2010-08-26 16:07:28 UTC
Jean any news?
Comment 12 Jean-François Fortin Tam 2010-08-27 00:11:48 UTC
Hi, thanks for your patience and sorry for taking so long to get back to you folks (it was on my to-do list, I swear ;)

Retested with Ubuntu 10.10 testing today, Totem is able to detect everything fine, no errors, so I'm closing this bug report (the pitivi bug #610325 still remains).