[FFmpeg-user] how to disable the auto frame replenishment when decoding the h.265 file
Andy Furniss
adf.lists at gmail.com
Wed Mar 16 11:25:37 CET 2016
zhuhb wrote:
> The command is as follows:
> ffmpeg -i BlowingBubbles_416x240_50_qp23.265 -vcodec rawvideo -pix_fmt yuv420p BlowingBubbles_416x240_50_qp23_y.yuv
>
> The console output is as follows:
> ffmpeg version N-79000-g66edd86 Copyright (c) 2000-2016 the FFmpeg developers
> built with gcc 5.3.0 (GCC)
> configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-li
> bass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libm
> fx --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsnappy --en
> able-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-li
> bwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
> libavutil 55. 19.100 / 55. 19.100
> libavcodec 57. 28.100 / 57. 28.100
> libavformat 57. 28.100 / 57. 28.100
> libavdevice 57. 0.101 / 57. 0.101
> libavfilter 6. 39.102 / 6. 39.102
> libswscale 4. 0.100 / 4. 0.100
> libswresample 2. 0.101 / 2. 0.101
> libpostproc 54. 0.100 / 54. 0.100
> Input #0, hevc, from 'BlowingBubbles_416x240_50_qp23.265':
> Duration: N/A, bitrate: N/A
> Stream #0:0: Video: hevc (Main), yuv420p(tv), 416x240, 50 fps, 50 tbr, 1200k tbn, 50 tbc
> File 'BlowingBubbles_416x240_50_qp23_y.yuv' already exists. Overwrite ? [y/N] y
> Output #0, rawvideo, to 'BlowingBubbles_416x240_50_qp23_y.yuv':
> Metadata:
> encoder : Lavf57.28.100
> Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 416x240, q=2-31, 200 kb/s, 50 fps, 50 tbn, 50 tbc
> Metadata:
> encoder : Lavc57.28.100 rawvideo
> Stream mapping:
> Stream #0:0 -> #0:0 (hevc (native) -> rawvideo (native))
> Press [q] to stop, [?] for help
> Past duration 0.999992 too large
> Last message repeated 154 times
> Past duration 0.999992 too large 22961kB time=00:00:03.16 bitrate=59524.9kbits/s dup=1 drop=0 speed=6.31x
> Last message repeated 194 times
> Past duration 0.999992 too large 51480kB time=00:00:07.06 bitrate=59734.3kbits/s dup=1 drop=0 speed=7.05x
> Last message repeated 148 times
> frame= 501 fps=359 q=-0.0 Lsize= 73271kB time=00:00:10.04 bitrate=59784.7kbits/s dup=1 drop=0 speed=7.19x
> video:73271kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
Please don't top post.
I've mentioned this before - frame rate is a trigger, though it
doesn't happen with containers.
workaround = -vsync 0 before -i ......
Another issue = your command line won't work (unless it's just me!)
with current ffmpeg as something changed to do with wrapped avframe.
It's reminded me I was going to post about this some time ago but
when using out.y4m historically -vcodec rawvideo worked (though
redundant I guess) now its
inclusion will throw an error so you need to omit it.
More information about the ffmpeg-user
mailing list