I have been tasked with creation of a PAL DV .mov with ffmpeg matching the following specifications:
I would like to keep the output as close to the specifications above for broadcasting purposes. I created two samples with -format mov -target pal-dv -r pal and -format mov -target dvvideo -r pal, but both files were rejected by Adobe Media Encoder.Code:General Complete name : sample.mov Format : MPEG-4 Format profile : QuickTime Codec ID : qt File size : 2.01 GiB Duration : 1mn 42s Overall bit rate : 167 Mbps Writing library : Apple QuickTime Video ID : 1 Format : YUV Codec ID : 2vuy Duration : 1mn 42s Bit rate mode : Constant Bit rate : 166 Mbps Width : 703 pixels Original width : 720 pixels Height : 576 pixels Display aspect ratio : 4:3 Frame rate mode : Constant Frame rate : 25.000 fps Color space : YUV Chroma subsampling : 4:2:2 Compression mode : Lossless Bits/(Pixel*Frame) : 16.387 Stream size : 1.99 GiB (99%) Language : English Color primaries : BT.601 PAL Transfer characteristics : BT.709 Matrix coefficients : BT.601 Audio ID : 2 Format : PCM Format settings, Endianness : Little Format settings, Sign : Signed Codec ID : sowt Duration : 1mn 42s Bit rate mode : Constant Bit rate : 1 536 Kbps Channel count : 2 channels Channel positions : Front: L R Sampling rate : 48.0 KHz Bit depth : 16 bits Stream size : 18.8 MiB (1%) Language : English Other ID : 3 Type : Time code Format : QuickTime TC Duration : 1mn 42s Time code of first frame : 01:00:00:00 Time code settings : Striped Language : English
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 4 of 4
			
		- 
	
- 
	That's like saying, "I want to create a SQUARE with these requirements: constant radius from centerpoint (aka CIRCLE)." It's an oxymoron. It cannot be done. 
 
 Your "DV" MOV file is not a DV-type file, it is a losslessly-compressed YUV4:2:2 MOV file (of unknown codec). Could be Apple, Aja Kona, Drastic...
 You want something more like: -vcodec rawvideo -pix_fmt uyvy422 -vtag 2vuy.
 
 But if you are inputting to AME anyway, why the requirement now? Both are encoders with outputs - why not output what your intended output from AME is supposed to be and bypass 1 generation of encoding? (or do you not have AME yourself?)
 
 BTW, that LPCM audio is backwards-endian for a normal MOV (most normal LPCM MOVs are "twos" Big Endian). Another strangeness in your request.
 
 Scott
- 
	Thank you for responding. -vcodec rawvideo -pix_fmt uyvy422 -vtag 2vuy is exactly what I was looking for, but how do I define the color primaries in the metadata through ffmpeg? 
 
 Also, I was unable to find the -vtag switch in the ffmpeg documentation. Could you please point me to a list of all acceptable switches?Color primaries : BT.601 PAL
 
 I was loading the files in AME to check for general compatibility. The end product from ffmpeg will not be fed to AME.
- 
	Here are 2 quick places:http://www.ffmpeg.org/faq.html#How-do-I-encode-Xvid-or-DivX-video-with-ffmpeg_003f 
 and
 https://trac.ffmpeg.org/wiki/Encode/MPEG-4
 From what I can see, there isn't full documentation on FourCC options, as that is external to ffmpeg (used primarily with AVIs & MOVs).
 
 Not sure about metadata for 601, but I'm guessing that, since your size is SD PAL, 601 is used by default whether it is flagged in metadata or not.
 
 Scott


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