[meta-freescale] gstreamer1.0 imxvpudec creates artifacts under packet loss where avdec_h264 does not

Carlos Rafael Giani dv at pseudoterminal.org
Tue Feb 10 02:26:13 PST 2015


On 2015-02-10 04:35, Rodger Benham wrote:
> Hello all,
>
> I am having an issue with the imxvpudec plugin when decoding a h.264
> stream using gstreamer1.0.
>
> In the event of a network interruption, artifacts display in the
> decoded output using imxvpudec. When swapped out in place to
> avdec_h264, it does not garble the output.
>
> When saving the h.264 output and decoding using avdec_h264 instead, it
> doesn't have this issue. I would prefer to use hardware decoding
> however.
>
> This is the pipeline I am using to have established this bug is
> deterministically reproducible:
> gst-launch-1.0 -v filesrc location=video.h264 ! h264parse ! imxvpudec
> ! imxipuvideosink
>
> To juxtapose the two results:
>
> https://cloud.githubusercontent.com/assets/4905775/6100904/1d019d5e-b06d-11e4-854a-f6de87831361.JPG
> - imxvpudec
> https://cloud.githubusercontent.com/assets/4905775/6100907/47dda248-b06d-11e4-8aec-86f190654f95.JPG
> - avdec_h264
>
> I've created an issue for it on GitHub in the gstreamer-imx repo
> (https://github.com/Freescale/gstreamer-imx/issues/28) but I am not
> sure how frequented it is. I sincerely apologize if this is considered
> cross-posting, this is my first time using a mailing list.
>
> Are there any options I can use to skip frames with errors and instead
> cause a small jerk in playback rather than producing corrupt output?
>
> Kind Regards,
> Rodger Benham

Frameskipping is not yet implemented. I am preparing a backend switch to 
libimxvpuapi instead of libfslvpuwrap, and may be able to insert 
frameskipping there.


More information about the meta-freescale mailing list