How can playing the flac files with ffmpeg instead of flacdec

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How can playing the flac files with ffmpeg instead of flacdec

Hen-Hsen Huang
Dears,

There are something wrong on my embedded system (BealgeBoard) that the flac decoder (i.e. libflac8 runtime) fails on CRC mismatch for some flac files. The libflac8 runtime is also evoked by gst-flacdec, hence for these files the gstreamer halts decoding in playing. 

However, these files can be played perfectly with mplayer. If I am correct, mplayer plays the flac with ffmpeg decoder, instead of the libflac8 runtime that used by gstreamer. For this reason, how can I force gstreamer to play the flac with ffmpeg decoder instead the flacdec? 


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How can playing the flac files with ffmpeg instead of flacdec

Tim-Philipp Müller-2
On Sun, 2010-10-24 at 21:23 +0800, Hen-Hsen Huang wrote:

> There are something wrong on my embedded system (BealgeBoard) that the
> flac decoder (i.e. libflac8 runtime) fails on CRC mismatch for some
> flac files. The libflac8 runtime is also evoked by gst-flacdec, hence
> for these files the gstreamer halts decoding in playing.

> However, these files can be played perfectly with mplayer. If I am
> correct, mplayer plays the flac with ffmpeg decoder, instead of the
> libflac8 runtime that used by gstreamer. For this reason, how can I
> force gstreamer to play the flac with ffmpeg decoder instead the
> flacdec?

I'm not sure if this will work at the moment, there's a bug in bugzilla
about that IIRC.

However, you could check out Felipe's gst-av, I think it implements flac
decoding based on the ffmpeg decoder.

Could you make one of those sample files available somewhere by any
chance?

Cheers
 -Tim



------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel