[FFmpeg-trac] #411(avcodec:open): Support left and top cropping in H264 (was: Insane cropping error)

FFmpeg trac at avcodec.org
Mon Aug 22 08:44:27 CEST 2011


#411: Support left and top cropping in H264
------------------------+----------------------
Reporter:  seaweed      |       Owner:
    Type:  enhancement  |      Status:  open
Priority:  wish         |   Component:  avcodec
 Version:  git-master   |  Resolution:
Keywords:               |  Blocked By:
Blocking:               |  Reproduced:  1
Analyzed:  0            |
------------------------+----------------------
Changes (by cehoyos):

 * status:  new => open
 * reproduced:  0 => 1
 * priority:  normal => wish
 * version:  0.8.2 => git-master
 * type:  defect => enhancement


Comment:

 No relation to VDPAU.
 {{{
 ffmpeg -i rawh264bitStream_insane_cropping
 ffmpeg version N-32034-g18de796, Copyright (c) 2000-2011 the FFmpeg
 developers
   built on Aug 21 2011 16:38:27 with gcc 4.5.3
   configuration: --enable-libopencore-amrnb --enable-version3
 --cc=/usr/local/gcc-4.5.3/bin/gcc
   libavutil    51. 13. 0 / 51. 13. 0
   libavcodec   53. 11. 0 / 53. 11. 0
   libavformat  53.  9. 0 / 53.  9. 0
   libavdevice  53.  3. 0 / 53.  3. 0
   libavfilter   2. 34. 1 /  2. 34. 1
   libswscale    2.  0. 0 /  2.  0. 0
 [h264 @ 0x129f560] non-existing PPS referenced
 [h264 @ 0x129f560] non-existing PPS 0 referenced
 [h264 @ 0x129f560] decode_slice_header error
 [h264 @ 0x129f560] no frame!

 ...

 [h264 @ 0x129f560] non-existing PPS referenced
 [h264 @ 0x129f560] non-existing PPS 0 referenced
 [h264 @ 0x129f560] decode_slice_header error
 [h264 @ 0x129f560] no frame!
 [h264 @ 0x129f560] insane cropping not completely supported, this could
 look slightly wrong ... (top: 2, bottom: 2, left: 0, right: 0)
     Last message repeated 3 times
 [h264 @ 0x129d420] Estimating duration from bitrate, this may be
 inaccurate

 Seems stream 0 codec frame rate differs from container frame rate: 50.00
 (50/1) -> 25.00 (50/2)
 Input #0, h264, from 'rawh264bitStream_insane_cropping':
   Duration: N/A, bitrate: N/A
     Stream #0.0: Video: h264 (Main), yuv420p, 1920x1084 [SAR 1:1 DAR
 480:271], 28.49 fps, 25 tbr, 1200k tbn, 50 tbc
 At least one output file must be specified
 }}}

-- 
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/411#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list