frame loss using avdec_flac

Weipeng HE heweipeng at gmail.com
Wed Mar 22 11:28:04 UTC 2017


On 22/03/17 12:26, Weipeng HE wrote:
> Hi all,
>
> I found a strange problem when I play flac files using avdec_flac, where
> there is always some part missing (frame loss). Does anyone have any
> idea about this?
>
> I've tried on two different machines (Ubuntu 14.04 and Debian). Both
> have gstreamer 1.8.1 compiled from source. A sample file is in the
> attachment. And I tried with:
>
> $ gst-launch-1.0 -t filesrc location=sample.flac ! flacparse !
> avdec_flac ! audioconvert ! rgvolume ! autoaudiosink
>
> It shows that:
>   Execution ended after 0:00:06.491973718
>
> but if I use flacenc instead of avdec_flac, it shows:
                ^^^^^^^
Sorry I mean flacdec

>   Execution ended after 0:00:07.932173391
>
> which means that there is 1.5 second missing if using avdec_flac.
>
> Thanks in advance.
>
> Best,
> Weipeng



More information about the gstreamer-devel mailing list