[FFmpeg-user] Changing colorspace of output file

Zdravko Zdravkov nirayah at gmail.com
Tue Apr 30 15:03:57 EEST 2019


Hi Carl and thank you for your time.

I apologize for my incomplete command and lack of output.

I've just tested your suggestion (with dpx sequence this time) and it
worked just as needed:

ffmpeg -start_number 1000 -f image2 -r 24 -i ARR_106_0070_v006.%04d.dpx
> -vcodec libx264rgb -s 1920x1080 /home/outputty.mov
> ffmpeg version 3.4.6 Copyright (c) 2000-2019 the FFmpeg developers
>   built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
>   configuration: --prefix=/usr --bindir=/usr/bin
> --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg
> --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man
> --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
> -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
> -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro '
> --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb
> --enable-libvo-amrwbenc --enable-version3 --enable-bzlib
> --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls
> --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio
> --enable-libdrm --enable-indev=jack --enable-libfreetype
> --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc
> --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg
> --enable-libopus --disable-encoder=libopus --enable-libpulse
> --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora
> --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libx264
> --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter
> --enable-avresample --enable-postproc --enable-pthreads --disable-static
> --enable-shared --enable-gpl --disable-debug --disable-stripping
> --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
>   libavutil      55. 78.100 / 55. 78.100
>   libavcodec     57.107.100 / 57.107.100
>   libavformat    57. 83.100 / 57. 83.100
>   libavdevice    57. 10.100 / 57. 10.100
>   libavfilter     6.107.100 /  6.107.100
>   libavresample   3.  7.  0 /  3.  7.  0
>   libswscale      4.  8.100 /  4.  8.100
>   libswresample   2.  9.100 /  2.  9.100
>   libpostproc    54.  7.100 / 54.  7.100
> Input #0, image2, from 'ARR_106_0070_v006.%04d.dpx':
>   Duration: 00:00:02.63, start: 0.000000, bitrate: N/A
>     Stream #0:0: Video: dpx, rgb48be, 5120x2700 [SAR 1:1 DAR 256:135], 24
> tbr, 24 tbn, 24 tbc
> Stream mapping:
>   Stream #0:0 -> #0:0 (dpx (native) -> h264 (libx264rgb))
> Press [q] to stop, [?] for help
> [libx264rgb @ 0x261aa80] using SAR=16/15
> [libx264rgb @ 0x261aa80] using cpu capabilities: MMX2 SSE2Fast SSSE3
> SSE4.2 AVX FMA3 AVX2 LZCNT BMI2
> [libx264rgb @ 0x261aa80] profile High 4:4:4 Predictive, level 4.0, 4:4:4
> 8-bit
> [libx264rgb @ 0x261aa80] 264 - core 148 r2795 aaa9aa8 - H.264/MPEG-4 AVC
> codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options:
> cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
> psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
> cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=34
> lookahead_threads=5 sliced_threads=0 nr=0 decimate=1 interlaced=0
> bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
> b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=24
> scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
> qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
> Output #0, mov, to '/root/outputty.mov':
>   Metadata:
>     encoder         : Lavf57.83.100
>     Stream #0:0: Video: h264 (libx264rgb) (avc1 / 0x31637661), rgb24,
> 1920x1080 [SAR 16:15 DAR 256:135], q=-1--1, 24 fps, 12288 tbn, 24 tbc
>     Metadata:
>       encoder         : Lavc57.107.100 libx264rgb
>     Side data:
>       cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
> frame=   63 fps=0.6 q=-1.0 Lsize=     388kB time=00:00:02.50
> bitrate=1272.5kbits/s speed=0.0253x
> video:387kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
> muxing overhead: 0.415391%
> [libx264rgb @ 0x261aa80] frame I:2     Avg QP:21.71  size: 98138
> [libx264rgb @ 0x261aa80] frame P:16    Avg QP:22.31  size:  8852
> [libx264rgb @ 0x261aa80] frame B:45    Avg QP:24.24  size:  1276
> [libx264rgb @ 0x261aa80] consecutive B-frames:  4.8%  0.0%  0.0% 95.2%
> [libx264rgb @ 0x261aa80] mb I  I16..4: 24.9% 64.6% 10.4%
> [libx264rgb @ 0x261aa80] mb P  I16..4:  0.1%  0.1%  0.0%  P16..4: 23.2%
> 1.8%  3.1%  0.0%  0.0%    skip:71.7%
> [libx264rgb @ 0x261aa80] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8: 10.6%
> 0.0%  0.0%  direct: 0.0%  skip:89.3%  L0:18.2% L1:81.7% BI: 0.1%
> [libx264rgb @ 0x261aa80] 8x8 transform intra:64.4% inter:86.8%
> [libx264rgb @ 0x261aa80] coded y,u,v intra: 28.7% 35.8% 37.3% inter: 0.6%
> 3.0% 2.2%
> [libx264rgb @ 0x261aa80] i16 v,h,dc,p: 83%  8%  4%  5%
> [libx264rgb @ 0x261aa80] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 55% 10% 24%  2%
> 2%  3%  2%  2%  2%
> [libx264rgb @ 0x261aa80] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 52% 16% 10%  4%
> 4%  6%  3%  4%  2%
> [libx264rgb @ 0x261aa80] Weighted P-Frames: Y:0.0% UV:0.0%
> [libx264rgb @ 0x261aa80] ref P L0: 56.3%  1.7% 30.9% 11.1%
> [libx264rgb @ 0x261aa80] ref B L0: 84.4% 13.5%  2.1%
> [libx264rgb @ 0x261aa80] ref B L1: 87.0% 13.0%
> [libx264rgb @ 0x261aa80] kb/s:1204.79



Thanks for the quick response!


On Tue, Apr 30, 2019 at 2:33 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:

>
>
> > Am 30.04.2019 um 11:54 schrieb Zdravko Zdravkov <nirayah at gmail.com>:
> >
> > For a project I'm working on I need to create .mov clip out of TIFF
> > sequence. This is the command I'm using:
> >
> > ffmpeg -start_number 1000 -f image2 -r 24 -i ARR_106_0 -vcodec libx264 -s
> >> 1920x1080 /home/output152.mov
>
> Complete, uncut console output missing.
> If you want RGB output use the“x264rgb“ encoder.
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list