[Libav-user] wrong frame dimensions

Kirill Gavrilov gavr.mail at gmail.com
Wed Jul 13 20:57:02 CEST 2011


Hi,

I got wrong dimensions for such files:
http://sview.cifro-city.ru/trash/Sisvel3DTile.ts

ffmpeg.exe -i "Sisvel_3D Tile Format_.ts"
> FFmpeg version 0.6.90-rc0, Copyright (c) 2000-2011 the FFmpeg developers
>   built on Apr  4 2011 22:40:27 with gcc 4.4.2
>   configuration: --enable-swscale --enable-shared --disable-static
> --enable-memalign-hack --enable-avfilter --enable-hardcoded-tables
> --enable-pthreads --disable-libopenjpeg --enable-runtime-cpudetect
> --enable-avisynth --enable-cross-compile --target-os=mingw32
> --cross-prefix=i686-mingw32- --arch=x86_32 --disable-debug --enable-version3
>   libavutil    50. 40. 0 / 50. 40. 0
>   libavcodec   52.117. 0 / 52.117. 0
>   libavformat  52.104. 0 / 52.104. 0
>   libavdevice  52.  4. 0 / 52.  4. 0
>   libavfilter   1. 76. 0 /  1. 76. 0
>   libswscale    0. 13. 0 /  0. 13. 0
> [aac @ 01fbbf30] Sample rate index in program config element does not match
> the
> sample rate index configured by the container.
> [aac @ 01fbbf30] Input buffer exhausted before END element found
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] non-existing PPS referenced
> [h264 @ 01fa7d30] non-existing PPS 0 referenced
> [h264 @ 01fa7d30] decode_slice_header error
> [h264 @ 01fa7d30] no frame!
> [h264 @ 01fa7d30] brainfart cropping not supported, this could look
> slightly wro
> ng ...
>     Last message repeated 8 times
> [mpegts @ 01f9ece0] max_analyze_duration reached
> Input #0, mpegts, from 'Sisvel_3D Tile Format_.ts':
>   Duration: 00:00:48.95, start: 46232.537233, bitrate: 8223 kb/s
>   Program 5220
>   Program 5225
>     Stream #0.0[0x23]: Video: h264 (High), yuv420p, 1906x1074, 27.12 fps,
> 25 tbr
> , 90k tbn, 50 tbc
>     Stream #0.1[0x25]: Audio: aac, 48000 Hz, stereo, s16, 135 kb/s
>

I'm sure that the real size is complete 1080p!
Moreover I tried to override dimensions set in AVCodecContext::width and
AVCodecContext::height
and see that 'hidden' parts are really decoded.

Could someone explain whats may be wrong (bug in FFmpeg or in file?)?

Prehistory - this file is in "Sisvel 3D Tile" stereoscopic format.
It exploits an idea to fit 2x full sizes 720p frames pair (stereoscopic)
into one standard 1080p frame.
This probably stupid idea but format already used in some broadcasts and
users want to watch them using alternative players.
As I understand stream contains crop filter to show content as monoscopic
720p
(that is probably the reason of tons "[h264 @ 01fa7d30] brainfart cropping
not supported, this could look slightly wrong ..." messages).

Actually I need not any crop support or special parsing of tiled format from
FFmpeg itself.
I want just receive correct dimensions ;).
-----------------------------------------------
Kirill Gavrilov,
Software designer.
<kirill at sview.ru>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20110713/737d114b/attachment.html>


More information about the Libav-user mailing list