Opened 7 years ago

Last modified 7 years ago

#6104 new enhancement

supprt -c:v 2vuy

Reported by: dave rice Owned by:
Priority: wish Component: avcodec
Version: git-master Keywords: rawvideo
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the enhancement:

To make a 2vuy quicktime file requires several coordinated options: "-c:v rawvideo -pix_fmt uyvy422 -vtag 2vuy".

I suggest supporting "-c:v 2vuy" as a shortcut for the three.

Similar request: support "-c:v yuv2" for "-vcodec rawvideo -pix_fmt yuyv422 -vtag yuv2".

ffmpeg -f lavfi -i testsrc -c:v rawvideo -pix_fmt uyvy422 -vtag 2vuy -t 1 example.mov
ffmpeg version git-2016-12-28-49abd5d Copyright (c) 2000-2016 the FFmpeg developers
  built with Apple LLVM version 8.0.0 (clang-800.0.42.1)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/HEAD-49abd5d --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-chromaprint --enable-ffplay --enable-libcaca --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtesseract --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --disable-lzma --enable-vda
  libavutil      55. 43.100 / 55. 43.100
  libavcodec     57. 70.100 / 57. 70.100
  libavformat    57. 61.100 / 57. 61.100
  libavdevice    57.  2.100 / 57.  2.100
  libavfilter     6. 68.100 /  6. 68.100
  libavresample   3.  2.  0 /  3.  2.  0
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
Input #0, lavfi, from 'testsrc':
  Duration: N/A, start: 0.000000, bitrate: N/A
    Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
Output #0, mov, to 'example.mov':
  Metadata:
    encoder         : Lavf57.61.100
    Stream #0:0: Video: rawvideo (2vuy / 0x79757632), uyvy422, 320x240 [SAR 1:1 DAR 4:3], q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
    Metadata:
      encoder         : Lavc57.70.100 rawvideo
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame=   25 fps=0.0 q=-0.0 Lsize=    3751kB time=00:00:00.96 bitrate=32003.8kbits/s speed=52.6x    
video:3750kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.020052%

How to reproduce:

% ffmpeg -i input ... output
ffmpeg version
built on ...

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (1)

comment:1 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavcodec
Priority: normalwish
Note: See TracTickets for help on using tickets.