Opened 13 years ago
Closed 12 years ago
#411 closed enhancement (fixed)
Support left and top cropping in H264
Reported by: | Seaweed | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | git-master | Keywords: | H264 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | yes | |
Analyzed by developer: | no |
Description
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).
Attachments (1)
Change History (4)
comment:1 by , 13 years ago
Priority: | normal → wish |
---|---|
Reproduced by developer: | set |
Status: | new → open |
Summary: | Insane cropping error → Support left and top cropping in H264 |
Type: | defect → enhancement |
Version: | 0.8.2 → git-master |
by , 13 years ago
Attachment: | rawh264bitStream_insane_cropping added |
---|
comment:2 by , 13 years ago
Keywords: | H264 added |
---|
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | open → closed |
This was fixed by Vittorio Giovara, and works fine now with ffmpeg and ffplay (and mplayer -vc ffh264).
It does not work correctly with mplayer -vc ffh264vdpau, I don't know if that is a limitation of MPlayer or libavcodec.
No relation to VDPAU.