Multitrack MP4 file - second track not playable in playbin3.

Leon Pollak leon.pollak at gmail.com
Mon Apr 3 07:29:57 UTC 2023


Hello, all.

We have a very strange situation with playbin3 (TI SDK 06.03.00.106 on
AM5728).

We have the 2 tracks MP4 file, created by our application based on the
mp4v2 library.
For the test purposes, both tracks are absolutely identical (except the
track number) and contain color bar. This file is played perfectly by
players ffmpeg, vlc, WMP.
Also the following pipe plays both tracks of the file very nice:
gst-launch-1.0 -e filesrc location=out.mp4 ! qtdemux name=demux2
demux2.video_1 ! queue ! decodebin ! autovideosink

It is also played without any error by playbin3 when asked to play the
first track.
BUT!!! When asked to play the second track, playbin3 emmits errors on each
I-frame:

0:00:01.479229988 1921 0xb43078f0 WARN ducati
gstducatividdec.c:570:codec_process:<decoder> err=-1, extendedError=00001421
0:00:01.479487815 1921 0xb43078f0 ERROR ducati
gstducati.c:61:gst_ducati_log_extended_error_info: Bit 0 (00000001): no
error-free slice
0:00:01.479767764 1921 0xb43078f0 ERROR ducati
gstducati.c:61:gst_ducati_log_extended_error_info: Bit 5 (00000020):
unknown SPS
0:00:01.479980695 1921 0xb43078f0 ERROR ducati
gstducati.c:61:gst_ducati_log_extended_error_info: Bit 10 (00000400):
insufficient data
0:00:01.480184516 1921 0xb43078f0 ERROR ducati
gstducati.c:61:gst_ducati_log_extended_error_info: Bit 12 (00001000):
corrupted header
0:00:01.482107724 1921 0xb43078f0 WARN ducati
gstducatividdec.c:570:codec_process:<decoder> err=-1, extendedError=00040000
0:00:01.482296092 1921 0xb43078f0 ERROR ducati
gstducati.c:61:gst_ducati_log_extended_error_info: Bit 18 (00040000):
stream end
(follows many times on each I-frame)

How can it be? Again - both tracks are identical!
So, why are these errors? How can this be solved?

Many many thanks ahead.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20230403/b1068df2/attachment.htm>


More information about the gstreamer-embedded mailing list