[FFmpeg-user] Image Conversion TIFF > JPEG with yuv422 chroma subsampling

Andrea Rastelli a.rastelli at rbw-cgi.it
Mon Jan 19 18:05:34 CET 2015


here the uncut command

$ ffmpeg.exe -pix_fmt yuv422p -i 
"//isilon.nas/miame/02_production/00_supervision/03_shot_approval/06_compositing/sc_mm2e14/_Tiff/sq_001/sc_001/pcp_m
ia_mm2e14_001_001_v005/pcp_mia_mm2e14_001_001_v005_0067.tif" 
"//isilon.nas/miame/02_production/02_compositing/test/test_jpeg/pcp_mia_mm2e14_001_001_v
005_0067_yuv422_test_01.jpeg" -q 1
ffmpeg version N-68645-g41ee459 Copyright (c) 2000-2014 the FFmpeg 
developers
   built on Dec 21 2014 22:02:40 with gcc 4.9.2 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads 
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r 
--enable-gnu
tls --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-libopenjpeg --enable-libopus --enable-l
ibrtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex 
--enable-libtheora --enable-libtwolame --enable-libvidstab 
--enable-libvo-aacenc --
enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx 
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 
--enable-libxavs --ena
ble-libxvid --enable-decklink --enable-zlib
   libavutil      54. 15.100 / 54. 15.100
   libavcodec     56. 16.100 / 56. 16.100
   libavformat    56. 16.101 / 56. 16.101
   libavdevice    56.  3.100 / 56.  3.100
   libavfilter     5.  4.100 /  5.  4.100
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  3.100 / 53.  3.100
Trailing options were found on the commandline.
[tiff_pipe @ 02c89360] Stream #0: not enough frames to estimate rate; 
consider increasing probesize
Input #0, tiff_pipe, from 
'//isilon.nas/miame/02_production/00_supervision/03_shot_approval/06_compositing/sc_mm2e14/_Tiff/sq_001/sc_001/pcp_mia_mm2e1
4_001_001_v005/pcp_mia_mm2e14_001_001_v005_0067.tif':
   Duration: N/A, bitrate: N/A
     Stream #0:0: Video: tiff, rgb24, 1920x1300 [SAR 1:1 DAR 96:65], 25 
tbr, 25 tbn, 25 tbc
[swscaler @ 02ca1fc0] deprecated pixel format used, make sure you did 
set range correctly
Output #0, image2, to 
'//isilon.nas/miame/02_production/02_compositing/test/test_jpeg/pcp_mia_mm2e14_001_001_v005_0067_yuv422_test_01.jpeg':
   Metadata:
     encoder         : Lavf56.16.101
     Stream #0:0: Video: mjpeg, yuvj444p(pc), 1920x1300 [SAR 1:1 DAR 
96:65], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
     Metadata:
       encoder         : Lavc56.16.100 mjpeg
Stream mapping:
   Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
Press [q] to stop, [?] for help
frame=    1 fps=0.0 q=8.5 Lsize=N/A time=00:00:00.04 bitrate=N/A
video:162kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB 
muxing overhead: unknown


On 19/01/2015 18:03, Werner Robitza wrote:
> On Mon, Jan 19, 2015 at 5:53 PM, Andrea Rastelli <a.rastelli at rbw-cgi.it>
> wrote:
>
>> Hi,
>>
>> I'm trying to convert a TIFF image sequence into JPEG (sequence) for
>> preliminary video analysis, and I need to save the JPEG using yuv444 or
>> yuv442.. but all I have achieved by now is the simple TIFF to JPEG
>> conversion with some setup in the quality setting (that still produce
>> blocky images, even with -q 1 or -q:v 1)..
>>
>> Also, the only codec that works is the MJPEG, any other codec produces
>> unreadable images or extremely slow-to-process images (libopenjpeg)..
>>
> Please post the command(s) you're using, including the full, uncut command
> line output.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user



More information about the ffmpeg-user mailing list