nvcodec validate.file.transcode.to_mp3_and_h264_in_mp4.bowlerhatdancer_sleepytom_SGP_mjpeg_avi failure
When nvh264enc is present, this test fails.
the muxer complains about receiving a buffer without pts. And indeed, when running this pipeline:
gst-launch-1.0 -v file:///home/bilboed/work/devel/gst-build/subprojects/gst-integration-testsuites/medias/defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi ! decodebin ! identity name=before silent=False ! nvh264enc ! identity name=between silent=False ! h264parse ! identity name=after silent=False ! mp4mux ! filesink location=test
We can see the following:
chain ******* (before:sink) (165888 bytes, dts: none, pts: 0:00:00.000000000
chain ******* (between:sink) (30572 bytes, dts: 1000:00:00.000000000, pts: 1000:00:00.000000000,
chain ******* (after:sink) (22070 bytes, dts: 1000:00:00.000000000, pts: 1000:00:00.000000000
chain ******* (after:sink) (8502 bytes, dts: 1000:00:00.040000000, pts: none
chain ******* (before:sink) (165888 bytes, dts: none, pts: 0:00:00.080000000
chain ******* (between:sink) (20659 bytes, dts: 1000:00:00.040000000, pts: 1000:00:00.040000000
chain ******* (after:sink) (12087 bytes, dts: 1000:00:00.040000000, pts: 1000:00:00.040000000
chain ******* (after:sink) (8572 bytes, dts: 1000:00:00.080000000, pts: none
Not 100% sure who's at fault:
- The encoder pushing more than one AU or NAL ?
- The parser not carrying over the PTS to the 2nd buffers (despite carrying over the DTS)