considering my source
https://dl.dropboxusercontent.com/u/39871584/C0020.mxf
if I would like to transcode it in uncompressed yuy2 how is the command line?
I have try: ffmpeg -y -i c0020.mxf -vcodec rawvideo -pix_fmt yuv422p -an -vtag YUY2 output.avi
(with and without -vtag yuy2, but don't work) but my nle don' read the output.avi
maybe I have to set interlacing flags?
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 10 of 10
			
		- 
	
- 
	Did it import correctly in your NLE ? 
 
 No avisynth doesn't have an equivalent . It's essentially the same thing (8bit YUV 422), just different way of organizing the data (byte ordering is different) . There is no data loss when you swap between them . It's just that certain programs "expect" the data to be organized in a certain way
 
 http://www.fourcc.org/yuv.php#UYVY
 http://www.fourcc.org/yuv.php#YUY2
- 
	-pix_fmt uyvy422 is interesting but why it don't figure in -pix_fmts list? 
 
 ffmpeg -pix_fmts
 ffmpeg version N-56749-g7057cc8 Copyright (c) 2000-2013 the FFmpeg developers
 built on Sep 29 2013 18:02:00 with gcc 4.8.1 (GCC)
 configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetyp
 e --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --ena
 ble-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-l
 ibopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libsp
 eex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aa
 cenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavp
 ack --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
 libavutil 52. 46.100 / 52. 46.100
 libavcodec 55. 33.101 / 55. 33.101
 libavformat 55. 18.104 / 55. 18.104
 libavdevice 55. 3.100 / 55. 3.100
 libavfilter 3. 88.100 / 3. 88.100
 libswscale 2. 5.100 / 2. 5.100
 libswresample 0. 17.103 / 0. 17.103
 libpostproc 52. 3.100 / 52. 3.100
 Pixel formats:
 I.... = Supported Input format for conversion
 .O... = Supported Output format for conversion
 ..H.. = Hardware accelerated format
 ...P. = Paletted format
 ....B = Bitstream format
 FLAGS NAME NB_COMPONENTS BITS_PER_PIXEL
 -----
 IO... yuv420p 3 12
 IO... yuyv422 3 16
 IO... rgb24 3 24
 IO... bgr24 3 24
 IO... yuv422p 3 16
 IO... yuv444p 3 24
 IO... yuv410p 3 9
 IO... yuv411p 3 12
 IO... gray 1 8
 IO..B monow 1 1
 IO..B monob 1 1
 I..P. pal8 1 8
 IO... yuvj420p 3 12
 IO... yuvj422p 3 16
 IO... yuvj444p 3 24
 ..H.. xvmcmc 0 0
 ..H.. xvmcidct 0 0
 IO... uyvy422 3 16
 ..... uyyvyy411 3 12
 IO... bgr8 3 8
 .O..B bgr4 3 4
 IO... bgr4_byte 3 4
 IO... rgb8 3 8
 .O..B rgb4 3 4
 IO... rgb4_byte 3 4
 IO... nv12 3 12
 IO... nv21 3 12
 IO... argb 4 32
 IO... rgba 4 32
 IO... abgr 4 32
 IO... bgra 4 32
 IO... gray16be 1 16
 IO... gray16le 1 16
 IO... yuv440p 3 16
 IO... yuvj440p 3 16
 IO... yuva420p 4 20
 ..H.. vdpau_h264 0 0
 ..H.. vdpau_mpeg1 0 0
 ..H.. vdpau_mpeg2 0 0
 ..H.. vdpau_wmv3 0 0
 ..H.. vdpau_vc1 0 0
 IO... rgb48be 3 48
 IO... rgb48le 3 48
 IO... rgb565be 3 16
 IO... rgb565le 3 16
 IO... rgb555be 3 15
 IO... rgb555le 3 15
 IO... bgr565be 3 16
 IO... bgr565le 3 16
 IO... bgr555be 3 15
 IO... bgr555le 3 15
 ..H.. vaapi_moco 0 0
 ..H.. vaapi_idct 0 0
 ..H.. vaapi_vld 0 0
 IO... yuv420p16le 3 24
 IO... yuv420p16be 3 24
 IO... yuv422p16le 3 32
 IO... yuv422p16be 3 32
 IO... yuv444p16le 3 48
 IO... yuv444p16be 3 48
 ..H.. vdpau_mpeg4 0 0
 ..H.. dxva2_vld 0 0
 IO... rgb444le 3 12
 IO... rgb444be 3 12
 IO... bgr444le 3 12
 IO... bgr444be 3 12
 I.... gray8a 2 16
 IO... bgr48be 3 48
 IO... bgr48le 3 48
 IO... yuv420p9be 3 13
 IO... yuv420p9le 3 13
 IO... yuv420p10be 3 15
 IO... yuv420p10le 3 15
 IO... yuv422p10be 3 20
 IO... yuv422p10le 3 20
 IO... yuv444p9be 3 27
 IO... yuv444p9le 3 27
 IO... yuv444p10be 3 30
 IO... yuv444p10le 3 30
 IO... yuv422p9be 3 18
 IO... yuv422p9le 3 18
 ..H.. vda_vld 0 0
 IO... gbrp 3 24
 IO... gbrp9be 3 27
 IO... gbrp9le 3 27
 IO... gbrp10be 3 30
 IO... gbrp10le 3 30
 I.... gbrp16be 3 48
 I.... gbrp16le 3 48
 IO... yuva420p9be 4 22
 IO... yuva420p9le 4 22
 IO... yuva422p9be 4 27
 IO... yuva422p9le 4 27
 IO... yuva444p9be 4 36
 IO... yuva444p9le 4 36
 IO... yuva420p10be 4 25
 IO... yuva420p10le 4 25
 IO... yuva422p10be 4 30
 IO... yuva422p10le 4 30
 IO... yuva444p10be 4 40
 IO... yuva444p10le 4 40
 IO... yuva420p16be 4 40
 IO... yuva420p16le 4 40
 IO... yuva422p16be 4 48
 IO... yuva422p16le 4 48
 IO... yuva444p16be 4 64
 IO... yuva444p16le 4 64
 ..H.. vdpau 0 0
 IO... xyz12le 3 36
 IO... xyz12be 3 36
 ..... nv16 3 16
 ..... nv20le 3 20
 ..... nv20be 3 20
 IO... rgba64be 4 64
 IO... rgba64le 4 64
 ..... bgra64be 4 64
 ..... bgra64le 4 64
 IO... 0rgb 3 24
 IO... rgb0 3 24
 IO... 0bgr 3 24
 IO... bgr0 3 24
 IO... yuva444p 4 32
 IO... yuva422p 4 24
 IO... yuv420p12be 3 18
 IO... yuv420p12le 3 18
 IO... yuv420p14be 3 21
 IO... yuv420p14le 3 21
 IO... yuv422p12be 3 24
 IO... yuv422p12le 3 24
 IO... yuv422p14be 3 28
 IO... yuv422p14le 3 28
 IO... yuv444p12be 3 36
 IO... yuv444p12le 3 36
 IO... yuv444p14be 3 42
 IO... yuv444p14le 3 42
 IO... gbrp12be 3 36
 IO... gbrp12le 3 36
 IO... gbrp14be 3 42
 IO... gbrp14le 3 42
 IO... gbrap 4 32
 I.... gbrap16be 4 64
 I.... gbrap16le 4 64
 IO... yuvj411p 3 12
 ..... bayer_bggr8 3 8
 ..... bayer_rggb8 3 8
 ..... bayer_gbrg8 3 8
 ..... bayer_grbg8 3 8
 ..... bayer_bggr16le 3 16
 ..... bayer_bggr16be 3 16
 ..... bayer_rggb16le 3 16
 ..... bayer_rggb16be 3 16
 ..... bayer_gbrg16le 3 16
 ..... bayer_gbrg16be 3 16
 ..... bayer_grbg16le 3 16
 ..... bayer_grbg16be 3 16
 
 
 
 
 AHH no it's present in list, sorry
- 
	
- 
	
- 
	yes: the uncompressed file works well. 
 
 The problem is in the file mjpg made with ffmpeg: ffmpeg -i c0020.mxf -vcodec mjpeg -pix_fmt yuvj422p -q:v 0 -an outMJPEG.avi
 
 playback in incorrect.
 
 Meanwile I have transcode the same source with virtualdub using LEAD mjpeg codec and it works well: the only difference in mediainfo seems to be the lead.avi is declarated "interlace" and the ffmpeg one is undefined.
 
 General
 Complete name : D:\outMJPEG.avi
 Format : AVI
 Format/Info : Audio Video Interleave
 File size : 536 MiB
 Duration : 36s 600ms
 Overall bit rate : 123 Mbps
 Writing application : Lavf55.18.104
 
 Video
 ID : 0
 Format : JPEG
 Codec ID : MJPG
 Duration : 36s 600ms
 Bit rate : 123 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Color space : YUV
 Bit depth : 8 bits
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 2.370
 Time code of first frame : 01:34:21:15
 Time code source : ISMP
 Stream size : 536 MiB (100%)
 
 General
 Complete name : D:\LEAD.avi
 Format : AVI
 Format/Info : Audio Video Interleave
 File size : 121 MiB
 Duration : 4s 0ms
 Overall bit rate : 254 Mbps
 Writing library : VirtualDub build 32842/release
 
 Video
 ID : 0
 Format : JPEG
 Codec ID : MJPG
 Duration : 4s 0ms
 Bit rate : 254 Mbps
 Width : 1 920 pixels
 Height : 1 080 pixels
 Original height : 2 160 pixels
 Display aspect ratio : 16:9
 Frame rate : 25.000 fps
 Color space : YUV
 Chroma subsampling : 4:2:2
 Bit depth : 8 bits
 Scan type : Interlaced
 Compression mode : Lossy
 Bits/(Pixel*Frame) : 4.906
 Stream size : 121 MiB (100%)
 
 but I think this is problem is irresolvible in ffmpeg
- 
	
- 
	my nle don't import nothing in mjpeg, using ffmbc or ffmpeg. 
 
 import mjpeg files that are made with virtualdub, maybe I think is for the "interalced" but I don't know.
 
 Only when I set the project settings of Blade/Speed Razor to "rgb24" it comes able to read mjpeg .avi file from ffmpeg/ffmbc: the only differences between ffmbc and ffmpeg is that ffmpeg include a "vprp" which makes it difficult the playback and timecode read by the internal mjpeg decoder of Speed Razor/Blade: so I have modify the ffmpeg.exe with an hex editor, in "my" version of ffmpeg.exe it write .avi with a "vpr2" and not "vprp": this allow speed razor/blade to playback correctly .avi mjpeg file and reading timecode.
 
 But now my problem is another: if I set the project editing in 16bityuy2 or 16bituyvy the nle don't playback ffmpeg/ffmbc .avi files.
 
 I've not modify ffmbc, simply my speed razor don't playback mjpeg .avi files from ffmbc: simply ffmbc don't write "vprp" in .avi files but the problem remains.
 
 
 
Similar Threads
- 
  .mxf to .avi/mjpeg with mjpegtoolsBy marcorocchini in forum Newbie / General discussionsReplies: 2Last Post: 8th Oct 2013, 19:32
- 
  .mxf (PAL HD422) HD to SD aviBy marcorocchini in forum Newbie / General discussionsReplies: 63Last Post: 25th Apr 2013, 08:01
- 
  What is uncompressed AVI?By andrewjameshoward in forum Capturing and VCRReplies: 35Last Post: 2nd Nov 2012, 08:56
- 
  Uncompressed AVI to x.264 (some help needed)By spycam in forum Video ConversionReplies: 15Last Post: 5th Jan 2011, 03:27
- 
  Exporting from uncompressed AVI to uncompressed MOVBy courtneye in forum Video ConversionReplies: 0Last Post: 9th Jul 2010, 09:20


 
		
		 View Profile
				View Profile
			 View Forum Posts
				View Forum Posts
			 Private Message
				Private Message
			 
 
			
			
 Quote
 Quote
