frame loss using avdec_flac

Weipeng HE heweipeng at gmail.com
Thu Mar 23 10:35:59 UTC 2017


Hi Nicolas,

I've tried with 1.10.4, and it works correctly.
Thanks a lot.

Best,
Weipeng

On 22/03/17 15:29, Nicolas Dufresne wrote:
> Le mercredi 22 mars 2017 à 12:26 +0100, Weipeng HE a écrit :
>> 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:
>>    Execution ended after 0:00:07.932173391
>>
>> which means that there is 1.5 second missing if using avdec_flac.
>
> I've tested both flacdec and avdec_flac here, on 1.10.4 and it plays
> correctly. Maybe it's an ancient bug that has been fixed since.
>
> gst-launch-1.0 filesrc location=sample.flac ! flacparse ! avdec_flac ! pulsesink
> gst-launch-1.0 filesrc location=sample.flac ! flacparse ! flacdec ! pulsesink
>
> Nicolas
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



More information about the gstreamer-devel mailing list