Re: [Rhythmbox-devel] rhythmbox-cvs: Could not find media type (for mp3)



Quoting "J.A. Magallon" <jamagallon@able.es>:
> Hi all...
> 
> I am using the CVS version of the new rhythmbox. I have bunch of mp3
> files that just produce a message:
> 
> Could not find media type
> 
> It is because they have some trash at the beginning, as mpg123 says:
> 
> Playing MPEG stream from 01 test.mp3 ...
> Junk at the beginning 49443303
> MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo
> 
> Some players are more tolerants that others...
> First question: failing to open this is responsibility of rhythmbox or
> of gstreamer (er, I use gst backend) ?

RB uses gstreamer's type finding, which current has some trouble identifying 
some files, eg:

james@gerj:~/Media/Music/Dope/(2001) Life$ gst-
typefind /home/james/Media/Music/Sevendust/Sevendust\ -\ Home\ -\ 01\ -\ 
Home.ogg
INFO ( 1931: 0) Initializing GStreamer Core Library version 0.6.2
INFO ( 1931: 0) CPU features: (0c040882) MMX SSE
INFO ( 1931: 0) registry: loaded global_registry in 0.386033 seconds
          (/var/lib/gstreamer/0.6/registry.xml)
vorbis_type_find (application/x-ogg)

james@gerj:~/Media/Music/Dope/(2001) Life$ gst-typefind Dope\ -\ Life\ -\ 01\ -
\ Take\ Your\ Best\ Shot.mp3
INFO ( 1930: 0) Initializing GStreamer Core Library version 0.6.2
INFO ( 1930: 0) CPU features: (0c040882) MMX SSE
INFO ( 1930: 0) registry: loaded global_registry in 0.401332 seconds
          (/var/lib/gstreamer/0.6/registry.xml)
No type found

Others on the list know far more than me about gstreamer.

> Second: is there any mp3-to-mp3 copier to clean that files ?

I can't actually test if it sounds OK because I'm at work, but you could 
try this (kinda from the gst-launch man page, butchered by me):

"gst-launch filesrc location=source.mp3 ! mp3parse ! filesink 
location=destination.mp3".  Unfortunately it appears to lose id3 information.  
I don't know how to preserve it.


> Please, CC me, I am not subscribed to the list...
Sure.

Cheers,
James.

-- 
James Kahn <james@liet.net>
http://liet.net



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]