[FFmpeg-user] YUV10 Image Sequence
luke fazzary
lukefazzary at gmail.com
Sat Jul 16 18:24:00 EEST 2016
Hi,
I am trying to create a YUV10 image sequence from a Prores 422 HQ source
using FFMPEG. I have tried many input sources, pix_fmts, v210 vs rawvideo,
but all have failed to create a worthy image. The image sequence comes out
green. I do get the correct file size and bitdepth of 21,600 and 10-bit.
I know this because I have a yuv10 image sequence that works, however, I
believe this was made using DVS Clipster, not FFMPEG. I would like to
recreate the same exact files, but using FFMPEG. Can someone let me know
where I'm going wrong here or if it's even possible in FFMPEG?
What I’m looking to create (from clipster manual):
*.yuv10
10 bit YUV 4:2:2 and
YUVA 4:2:2:4
Raw 10 bit YUV file format with or without key.
This file has no header. The image format is rec-
ognized by the file size. This is done with a table
of predefined file sizes. Component order UYVY.
Bits are packed tightly from
left to right for three
component samples, then two bits of padding
(zero) to fill up to four
bytes. The lines are pad-
ded to a multiple of four
bytes. The file is padded
to a multiple of 512 bytes.
Command:
ffmpeg -i /Users/lf/Desktop/Metadata_Tool/EP105_Sofia_Clip.mov -video_size
3840x2160 -vcodec rawvideo -r 24 -pix_fmt yuv422p10le
/Users/lf/Desktop/Metadata_Tool/EP105_Sofia_%05d.yuv10
ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers
built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
3.6.0svn)
configuration: --prefix=/usr/local/Cellar/ffmpeg/3.1.1 --enable-shared
--enable-pthreads --enable-gpl --enable-version3 --enable-hardcoded-tables
--enable-avresample --cc=clang --host-cflags= --host-ldflags=
--enable-opencl --enable-libx264 --enable-libmp3lame --enable-libxvid
--enable-libfreetype --enable-libtheora --enable-libvorbis --enable-libvpx
--enable-librtmp --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libfaac --enable-libass --enable-ffplay --enable-libspeex
--enable-libschroedinger --enable-libfdk-aac --enable-libopus
--enable-frei0r --enable-libx265 --disable-lzma --enable-libopenjpeg
--disable-decoder=jpeg2000
--extra-cflags=-I/usr/local/Cellar/openjpeg/1.5.2_1/include/openjpeg-1.5
--enable-nonfree --enable-vda
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Users/lf/Desktop/Metadata_Tool/EP105_Sofia_Clip.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2016-06-03 06:45:18
com.apple.quicktime.keywords: 5-6-16 4,4-11-16,5-6-16 1,yellow,extra
footage,lslr_l3_render
com.apple.quicktime.description: This video is about EP105_Sofia
com.apple.quicktime.author: Alfarero
com.apple.quicktime.displayname: EP105_Sofia
com.apple.quicktime.title: EP105_Sofia
Duration: 00:00:11.76, start: 0.000000, bitrate: 171676 kb/s
Stream #0:0(und): Video: prores (apch / 0x68637061),
yuv422p10le(bt709), 1920x1080, 171570 kb/s, SAR 1:1 DAR 16:9, 23.98 fps,
23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:
creation_time : 2016-06-03 06:45:18
handler_name : Core Media Data Handler
encoder : Apple ProRes 422 HQ
timecode : 01:08:21:05
Stream #0:1(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2016-06-03 06:45:18
handler_name : Core Media Data Handler
timecode : 01:08:21:05
[image2 @ 0x7fb8cc027600] Using AVStream.codec to pass codec parameters to
muxers is deprecated, use AVStream.codecpar instead.
Output #0, image2, to
'/Users/lf/Desktop/Metadata_Tool/EP105_Sofia_%05d.yuv10':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
com.apple.quicktime.title: EP105_Sofia
com.apple.quicktime.keywords: 5-6-16 4,4-11-16,5-6-16 1,yellow,extra
footage,lslr_l3_render
com.apple.quicktime.description: This video is about EP105_Sofia
com.apple.quicktime.author: Alfarero
com.apple.quicktime.displayname: EP105_Sofia
encoder : Lavf57.41.100
Stream #0:0(und): Video: rawvideo (Y3[10][10] / 0xA0A3359),
yuv422p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 24 fps, 24
tbn, 24 tbc (default)
Metadata:
creation_time : 2016-06-03 06:45:18
handler_name : Core Media Data Handler
timecode : 01:08:21:05
encoder : Lavc57.48.101 rawvideo
Stream mapping:
Stream #0:0 -> #0:0 (prores (native) -> rawvideo (native))
Press [q] to stop, [?] for help
frame= 5 fps=0.0 q=-0.0 size=N/A time=00:00:00.20 bitrate=N/A
speed=0.369x frame= 9 fps=8.4 q=-0.0 size=N/A time=00:00:00.37
bitrate=N/A speed=0.348x frame= 13 fps=8.2 q=-0.0 size=N/A
time=00:00:00.54 bitrate=N/A speed=0.343x frame= 17 fps=8.1 q=-0.0
size=N/A time=00:00:00.70 bitrate=N/A speed=0.338x frame= 21 fps=8.1
q=-0.0 size=N/A time=00:00:00.87 bitrate=N/A speed=0.337x frame= 25
fps=8.1 q=-0.0 size=N/A time=00:00:01.04 bitrate=N/A speed=0.336x
frame= 29 fps=8.0 q=-0.0 size=N/A time=00:00:01.20 bitrate=N/A
speed=0.335x frame= 33 fps=8.0 q=-0.0 size=N/A time=00:00:01.37
bitrate=N/A speed=0.333x frame= 34 fps=7.8 q=-0.0 Lsize=N/A
time=00:00:01.41 bitrate=N/A speed=0.324x
video:275400kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Thank you in advance.
More information about the ffmpeg-user
mailing list