Page 1 of 1

Wrong pixel format for PAL DV encoder

Posted: Sat Nov 12, 2016 6:05 pm
by laurfb
Hi seipal.

Trying to use DV/DVCPro encoders Encoder I found in generated command line, that ffastrans add for PAL DV files wrong pixel format:

"C:\Windows\system32\cmd.exe /c ""D:\ffastrans_77\Processors\FFMpeg\ffmpeg.exe" -i "D:\test.mpg" -f lavfi -i aevalsrc=0 -shortest -map_metadata -1 -vf fieldorder=bff,setfield=bff,fps=fps=25,scale=720:576:out_color_matrix=bt601:interl=1,format=yuv420p,setdar=dar=16:9 -ar 48000 -map 0:v -map 0:1 -map_channel 0.1.0:0.1 -map 0:1 -map_channel 0.1.1:0.2 -acodec pcm_s16le -ar 48000 -timecode 00:00:00:00 -c:v dvvideo -color_primaries 6 -color_trc 4 -colorspace 4 -top 0 -field_order bb -pix_fmt yuv411p -vtag dvsd -aspect 16:9 -f avi -metadata creation_time="2016-11-12 18:12:19" -y "D:\_temp_fftrans_\20160618113728\20161112-181215-611-B2011BE21DE2\~20161112-181219-331-8F196C522DD0.avi"

As far as I know -pix_fmt should be "yuv420p" for PAL DV and "yuv411p" for NTSC DV.
Am I wrong?

regards,
laur

Re: Wrong pixel format for PAL DV encoder

Posted: Sun Nov 13, 2016 3:38 pm
by admin
Hi laur and thanks for reporting that bug. It will be corrected for the 0.8.0 release.

-steinar