nvenc h264 with interlaced content
To reproduce : gst-validate-launcher -t validate.file.transcode.to_mp3_and_h264_in_mp4.GH1_00094_1920x1280_MTS
The problem is essentially that when being provided interlaced content, nvh264enc outputs the following in the first buffer:
- AU
- SPS
- PPS
- Slice IDR
- AU
- AU
- Slice
And h264parse outputs this as two buffers:
- AU / SPS / PPS / Slice IDR
- AU / Slice
And qtmux complains, because the 2nd buffer doesn't have a PTS.
I'm still not sure who's at fault here:
-
nvench264
is outputting stray AU, the first buffer should have : AU / SPS / PPS/ Slice IDR / Slice -
h264parse
should not split the buffer in two ? See #101 -
qtmux
should store the two different fields
Suggestions/feedback welcome