Ticket #411 (closed enhancement: fixed)
Support left and top cropping in H264
|Reported by:||seaweed||Owned by:|
|Blocking:||Reproduced by developer:||yes|
|Analyzed by developer:||no|
Hi Im am trying to decode a 1080 P H264 video stream from a camera with VDPAU (NVIDIA driver version 260.19.04) / FFMPeg as the input demuxer/NALU parser. I am seeing the message below while decoding. The camera sends out slightly larger height frames than 1080 (1084). And I repeatedly get these messages about every second:
Last message repeated 1 times
[h264_vdpau @ 0x7f210c46df30]insane cropping not completely supported, this could look slightly wrong ...
[h264_vdpau @ 0x7f210c46df30]no frame!
I believe this happens during SPS/PPS parsing.
I captured some raw H.264 bitstream in a file and uploaded at http://www.datafilehost.com/download-f537c855.html. Its interesting that when this video stream is wrapped within RTMP packets and submitted to flash, flash player plays it fine - with no extra 4 bytes at the top and no signs of hiccups. The parser seems to cause latency issues when this happens (stuck for couple of seconds).
- Status changed from new to open
- Reproduced by developer set
- Summary changed from Insane cropping error to Support left and top cropping in H264
- Priority changed from normal to wish
- Version changed from 0.8.2 to git-master
- Type changed from defect to enhancement