For my trip abroad I had a Sony video camera I borrowed from my friend. The camera was filming in AVCHD format, in 1080i format, an interlaced video.
After coming home, I was searching for the best way, to preserve quality, to deinterlace the video files and keep them that way. I have tried several ways, also tried converting with VLC only to find out that there is a bug. So I came up with the following article:
http://cweiske.de/tagebuch/deinterlacing-1080i.htm
The way is to just use the command line, with the ffmpeg convert option. However, it came up to me, that the sameq option is no longer available which is used by the publisher. So I decided to publish this post, with the fix to the command. You just need to replace the sameq option with qscale 0:
This far it resulted in the best deinterlaced video quality I could find.
You can download ffmpeg here:
http://www.ffmpeg.org/download.html
After coming home, I was searching for the best way, to preserve quality, to deinterlace the video files and keep them that way. I have tried several ways, also tried converting with VLC only to find out that there is a bug. So I came up with the following article:
http://cweiske.de/tagebuch/deinterlacing-1080i.htm
The way is to just use the command line, with the ffmpeg convert option. However, it came up to me, that the sameq option is no longer available which is used by the publisher. So I decided to publish this post, with the fix to the command. You just need to replace the sameq option with qscale 0:
ffmpeg -i in.MTS -vf yadif=1 -acodec ac3 -ab 192k -vcodec mpeg4 -f mp4 -y -qscale 0 out.mp4Replace in.MTS with the source file and out.mp4 with the output file name.
This far it resulted in the best deinterlaced video quality I could find.
You can download ffmpeg here:
http://www.ffmpeg.org/download.html