I'm having trouble generating a bitstream which can trigger this for a test. Do we have any good tools for manually creating valid H264 NALU streams? VQ doesn't seem to let us edit files or anything like that. I only have the one I sourced from the site linked by the reporter in the bug, but it's NSFW...
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Seems okay if VQ is happy with it, but can you add a unit test?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Seems okay if VQ is happy with it, but can you add a unit test?
Yeah, like I mentioned in the comment above, I'm still trying to craft an example media file using the bear clip (instead of the NSFW-ish clip from the bug)
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Ted (Chromium) MeyerSeems okay if VQ is happy with it, but can you add a unit test?
Yeah, like I mentioned in the comment above, I'm still trying to craft an example media file using the bear clip (instead of the NSFW-ish clip from the bug)
well, it was an absolute nightmare to craft that test file, the NAL Units regularly cross TS packet boundaries, so it was a lot of fiddling about in a hex editor and ViCue.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
rename to `extra-nalu.ts` so style is like all other files in dir.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
rename to `extra-nalu.ts` so style is like all other files in dir.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Disregard SPS and PPS NALUs when there is no slice
Some H264 media content seems to contain the following order of NAL
Units:
AUD - SPS - PPS - AUD - SPS - PPS - SEI - NonIDR
ViCue & FFmpeg both seem to accept this ordering of NAL units and
consider the first slice to be a valid picture, without even providing a
warning. Our current es parser wants to attempt to emit a frame every
time we would have hit an AUD NALU, but sometimes there just isn't a
picture and the pps id is zero. In this case, we can just skip emitting
a frame.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |