GNOME Bugzilla – Bug 567336
Text file detected as VC1 video
Last modified: 2009-03-10 20:08:58 UTC
Please describe the problem: rhythmbox asks me to find suitable codec for .txt file(as i can see) Steps to reproduce: 1. Create directory with music files, in which there should be one subdirectory with only .txt files 2. start rhythmbox 3. In preferences set place where your music files are stored and set "Watch my library for new files" to true 4. Restart rhythmbox and start playing any file from your music library 3. Actual results: Rhythmbox shows me "Search for suitable codec?" dialog, and in import errors i see: file:///home/<username>/music/Nautilus/Texts/Наутилус Помпилиус/1987 - Чужая Земля/01 - Монгольская Степь.txt The GStreamer plugins to decode "Unknown" files cannot be found Choosed music file continues to play, after i click cancel - it is still playing. Expected results: just playing music Does this happen every time? yes Other information: Output in shell: rilium@rilium-lenovo:~$ LANG=C rhythmbox (rhythmbox:5468): Rhythmbox-WARNING **: Could not open device /dev/radio0 Rhythmbox-Message: Missing plugin: gstreamer|0.10|rhythmbox-metadata|application/x-gst_ff-vc1test decoder|decoder-application/x-gst_ff-vc1test Rhythmbox-Message: Missing plugin: gstreamer|0.10|rhythmbox-metadata|application/x-gst_ff-vc1test decoder|decoder-application/x-gst_ff-vc1test (ignoring) Rhythmbox-Message: All missing plugins are blacklisted, doing nothing Rhythmbox-Message: Missing plugin: gstreamer|0.10|rhythmbox-metadata|application/x-gst_ff-vc1test decoder|decoder-application/x-gst_ff-vc1test (ignoring) Rhythmbox-Message: All missing plugins are blacklisted, doing nothing Rhythmbox-Message: Missing plugin: gstreamer|0.10|rhythmbox-metadata|application/x-gst_ff-vc1test decoder|decoder-application/x-gst_ff-vc1test (ignoring) Rhythmbox-Message: All missing plugins are blacklisted, doing nothing Rhythmbox-Message: Missing plugin: gstreamer|0.10|rhythmbox-metadata|application/x-gst_ff-vc1test decoder|decoder-application/x-gst_ff-vc1test (ignoring) Rhythmbox-Message: All missing plugins are blacklisted, doing nothing
The problem is actually that you have some text files that appear (to GStreamer) to be 'application/x-gst_ff-vc1test' files. If you can attach one, we might be able to figure out how to stop these false positives in the typefind function responsible.
Created attachment 126240 [details] File which is detected as application/x-gst_ff-vc1test
Sorry for changing bug status, i made it by mistake I attached file, it is encoded in ISO-8859 and contains text in russian language. Thank you!
This file is detected as mp3 here (using gstreamer cvs head).
Maybe this information will be usefull for resolving this issue: sh$ file ~/music/Nautilus/Texts/Наутилус\ Помпилиус/1987\ -\ Чужая\ Земля/01\ -\ Монгольская\ Степь.txt /home/<username>/music/Nautilus/Texts/Наутилус Помпилиус/1987 - Чужая Земля/01 - Монгольская Степь.txt: ISO-8859 text, with CRLF line terminators dpkg -s file Package: file Status: install ok installed Priority: standard Section: utils Installed-Size: 136 Architecture: i386 Version: 4.26-2 Depends: libc6 (>= 2.7-1), libmagic1 (= 4.26-2), zlib1g (>= 1:1.1.4) Conffiles: /etc/magic 272913026300e7ae9b5e2d51f138e674 /etc/magic.mime 272913026300e7ae9b5e2d51f138e674 .... Starting with version 4, the file command is not much more than a wrapper around the "magic" library. Homepage: http://www.darwinsys.com/file/
Created attachment 126399 [details] [review] patch to fix vc1test detection in ffmpeg This is an ffmpeg patch to fix vc1test typefinding. It currently returns TRUE for every file that has 0xc5 as the fourth byte. (oops!) We should probably disable vc1test in the plugin until the snapshot is changed. It's not a useful format.
Please, apply at least temporary fix to code, as David Schleef wrote
We don't fix upstream ffmpeg issues. That bug should go in the ffmpeg bugtracker (https://roundup.mplayerhq.hu/roundup/ffmpeg/). What we can do for the release is to blacklist that specific typefinder... which is only for vc1 bitstream (aka: insanely rare and only for test purposes afaik).
commit ca1321b22405d0c5a70ded97d0e30ff6db533894 Author: Edward Hervey <bilboed@bilboed.com> Date: Tue Mar 10 21:05:52 2009 +0100 blacklist bogus demuxer/muxer/typefind. Fixes #567336 and #574814