Terje J. Hanssen wrote:
Den 24. jan. 2017 12:41, skrev Andy Furniss:
Terje J. Hanssen wrote:
1) 576i DV video to x264, pcm audio to ac3
ffmpeg -i dv01.dv -c:v libx264 -profile:v high -level 41
-pix_fmt yuv420p -preset slow -crf 20 -g 24 -vf setsar=sar=12/11
-threads 8 -x264opts
bluray-compat=1:vbv-bufsize=15000:vbv-maxrate=30000 -acodec ac3
-strict experimental -ar 48000 -ab 256k -y SD_BD2_x264_ac3.m2ts
This is coding interlaced as progressive.
Yeah, will "-flags +ilme+ildct" be the right interlace parameters to
add in the code above?
Seems so - you can tell whether libx264 is using mbaff by seeing
interlace + weightp is not implemented
in the output.
And I wonder how to possibly tell ffmpeg that the import video use
"bottom field first"?
The field order should get passed on from the source (assuming it's
present and correct).
IIRC from years ago, I managed to get tff into dv ripping Hi8 and
everything still assumed bff because it was dv, I had to override on
command line when further processing that.
Best to check anything you make by deinterlacing a high motion scene
with yadif=1 and frame(field) step playback, if the field order is wrong
motion will flip backwards and forwards. Also check with ffmpeg/ffprobe
or mediainfo that it actually reports a field dominance.
Indeed there are more in the ffmpeg code above I should like to get
"quality assured", i.e does it take into account that this is PAL
575i SD, i.e regarding colors and equivalent quality (bit-rate). So
if someone can tip or suggest how to merge the initial 1) x264
parameters into an ffmpeg code line, it would be be very helpful to
start with ;)
I don't know how to do things properly, but notice that the link in the
first post suggested setting extra opts for PAL color.
The crf 20 will set variable bitrate, libx264 should also, I think, cap
it with the above command. crf 20 is higher quality than default. I
don't know what rate to suggest for PAL SD, even if I made up a number
it may be too high or low depending on the complexity of the scene.
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".