Hi ....
please download my source HD 1920x1080 interlaced 4:2:2
https://www.dropbox.com/s/829iziwuetpdqm4/source422.MXF?dl=0
I would like encode in MP4 4:2:0 using ffmpeg
but this output [attached] have a croma ghost problem artifacts on video or I mistake?Code:ffmpeg -y -i source422.mxf -s 1920x1080 -vf scale=interl=1 -c:v libx264 -profile:v main -pix_fmt yuv420p -an HaveCromaGhost.MP4
Please consider this second commandline:
This output [attached] is correct, don't have croma ghost.Code:ffmpeg -y -i source422.mxf -vf scale=interl=1 -c:v libx264 -profile:v main -pix_fmt yuv420p -an OK.MP4
So I wonder: why using the -S 1920x1080 theparameter don't act?Code:-vf scale=interl=1
Is there a way to keep the -S 1920x1080 but let act as right the? thanksCode:-vf scale=interl=1
		
			+ Reply to Thread
			
		
		
		
			
	
	
				Results 1 to 8 of 8
			
		- 
	
- 
	
 yes cat , but the croma ghost persistCode:ffmpeg -y -i source422.mxf -s 1920x1080 -vf scale=width=1920:height=1080:interl=1 -c:v libx264 -profile:v main -pix_fmt yuv420p -an Test2.MP4  
 
 if possible I would keep (for various reasons) the -s 1920x1080 line, so I wonder if there is a way to encode well keeping this line
- 
	1920x1080 => 1920x1080 is a no-opt ; nothing happens . If you changed the dimensions, then it would be bad and you need to use the other way with -vf scale 
 
 The problem here is -pix_fmt is using progressive scaling for 422=>420 (The dimensions of the chroma planes are being scaled in progressive fashion instead of interlaced). The solution is to move -pix_fmt to -vf scale using interl=1 to indicate interlaced 422=>420
 
 I assume you want interlaced encoding (MBAFF) , TFF, flagged 709
 Code:ffmpeg -i source422.MXF -s 1920x1080 -vf scale=w=1920:h=1080:interl=1,format=pix_fmts=yuv420p -flags +ildct+ilme -c:v libx264 -x264opts tff=1:colorprim=bt709:transfer=bt709:colormatrix=bt709 -profile:v main -an IM_A_BAD_CAT.mp4 
- 
	
- 
	
 [Attachment 42274 - Click to enlarge]
 
 it works well  
 thanks
Similar Threads
- 
  The problem with converting ffmpegBy Jamaika in forum Newbie / General discussionsReplies: 2Last Post: 30th Sep 2015, 14:02
- 
  ffmpeg mux problemBy hippy2000 in forum Video ConversionReplies: 23Last Post: 2nd Mar 2014, 18:54
- 
  FFmpeg muxing problemBy w2kpro in forum Newbie / General discussionsReplies: 21Last Post: 26th Oct 2013, 05:46
- 
  problem with ffmpeg.exeBy euphonic in forum Video ConversionReplies: 4Last Post: 9th Oct 2013, 13:00
- 
  What is this... Ghost?By Vijaykmr in forum Newbie / General discussionsReplies: 15Last Post: 30th Jul 2012, 09:25


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