[FFmpeg-trac] #5888(avcodec:open): ffv1 rgb48le encode error
FFmpeg
trac at avcodec.org
Fri Oct 14 15:38:03 EEST 2016
#5888: ffv1 rgb48le encode error
------------------------------------+-----------------------------------
Reporter: LordHDL | Owner:
Type: defect | Status: open
Priority: normal | Component: avcodec
Version: git-master | Resolution:
Keywords: ffv1 | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+-----------------------------------
Comment (by Zenitram):
I think that it is the expected behavior: this is experimental and there
is no " -strict experimental" on your command line; and behavior is
different on my side if I set " -strict experimental" on the command line,
examples:
error if experimental flag is not present:
{{{
>ffmpeg -y -f lavfi -i mandelbrot=s=1920x1080 -r 25 -t 2 -c:v ffv1 -level
3 -pix_fmt rgb48le rgb48.nut
ffmpeg version N-81989-g7845c13 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-
gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 32.100 / 55. 32.100
libavcodec 57. 61.103 / 57. 61.103
libavformat 57. 52.100 / 57. 52.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 64.100 / 6. 64.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 2.100 / 2. 2.100
libpostproc 54. 0.100 / 54. 0.100
Trailing options were found on the commandline.
Input #0, lavfi, from 'mandelbrot=s=1920x1080':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[0] / 0x424752), rgb0, 1920x1080 [SAR
1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[ffv1 @ 00000000025b36e0] 16bit RGB is experimental and under development,
only use it for experiments
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Error while opening encoder for output stream #0:0 - maybe incorrect
parameters such as bit_rate, rate, width or height
}}}
success if experimental flag is present:
{{{
>ffmpeg -y -f lavfi -i mandelbrot=s=1920x1080 -r 25 -t 2 -c:v ffv1 -level
3 -pix_fmt rgb48le -strict experimental rgb48.nut
ffmpeg version N-81989-g7845c13 Copyright (c) 2000-2016 the FFmpeg
developers
built with gcc 5.4.0 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads
--enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-
bzlib --enable-libebur128 --enable-fontconfig --enable-frei0r --enable-
gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b
--enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm
--enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopus --enable-librtmp --enable-
libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex
--enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-
amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-
libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-
libxvid --enable-libzimg --enable-lzma --enable-decklink --enable-zlib
libavutil 55. 32.100 / 55. 32.100
libavcodec 57. 61.103 / 57. 61.103
libavformat 57. 52.100 / 57. 52.100
libavdevice 57. 0.102 / 57. 0.102
libavfilter 6. 64.100 / 6. 64.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 2.100 / 2. 2.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, lavfi, from 'mandelbrot=s=1920x1080':
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (RGB[0] / 0x424752), rgb0, 1920x1080 [SAR
1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
[ffv1 @ 0000000000e07440] bits_per_raw_sample > 8, forcing range coder
Output #0, nut, to 'rgb48.nut':
Metadata:
encoder : Lavf57.52.100
Stream #0:0: Video: ffv1 (FFV1 / 0x31564646), rgb48le, 1920x1080 [SAR
1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 51200 tbn, 25 tbc
Metadata:
encoder : Lavc57.61.103 ffv1
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> ffv1 (native))
Press [q] to stop, [?] for help
frame= 50 fps=5.4 q=-0.0 Lsize= 211718kB time=00:00:01.96
bitrate=884884.4kbits/s speed=0.213x
video:211716kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.001012%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/5888#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list