Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Le 12/11/2022 à 10:57, Bouke / Videotoolshed a écrit : So, you need to de-interlace the filter. There's also the possibility to keep the interlacing and encode an interlaced h264 (so relying on the player to properly deinterlace). I have never done that, and I am not sure which coding is appropriate. ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Am 12.11.22 um 17:09 schrieb Carl Zwanzig: On 11/12/2022 8:02 AM, Ulf Zibis wrote: Thanks for your detailed comparison. bwdif and estdif make it. Even they double the frame rate, compression factor now is 10 instead 8 and the visual result is brillant. For the list archive, would you publish the complete command line? Might help someone in the future. Thanks, z! With joy: ffmpeg -i "IN.avi" -preset slow -vf estdif,atadenoise=0.08:0.16:0.08:0.16:0.08:0.16 -movflags +faststart "OUT.mp4" -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Am Sa., 12. Nov. 2022 um 17:03 Uhr schrieb Ulf Zibis : > > > Am 12.11.22 um 14:41 schrieb Carl Eugen Hoyos: > > https://ffmpeg.org/ffmpeg-filters.html offers a few options: > > kerndeint is old / outdated, should be fast > > yadif was for a long time the most useful deinterlacer > > w3fdif is a BBC-sponsored development > > bwdif claims to combine yadif and w3fdif into something better > > estdif and nnedi are newer filters > > > > All filters will not correct something on the video but will try to > > invent information that simply isn't there. This makes sense as > > there is no screen that can show what originally was meant to > > be shown but you should be aware that all filters effectively > > change your video. > > Thanks for your detailed comparison. bwdif and estdif make it. > Even they double the frame rate Except for kerndeint, they should all be able to do this. I forgot to mention mcdeint which once upon a time was the slowest and best deinterlacing filter, you would need an older version of FFmpeg to test it. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Am 12.11.22 um 14:41 schrieb Carl Eugen Hoyos: https://ffmpeg.org/ffmpeg-filters.html offers a few options: kerndeint is old / outdated, should be fast yadif was for a long time the most useful deinterlacer w3fdif is a BBC-sponsored development bwdif claims to combine yadif and w3fdif into something better estdif and nnedi are newer filters All filters will not correct something on the video but will try to invent information that simply isn't there. This makes sense as there is no screen that can show what originally was meant to be shown but you should be aware that all filters effectively change your video. Thanks for your detailed comparison. bwdif and estdif make it. Even they double the frame rate, compression factor now is 10 instead 8 and the visual result is brillant. With atadenoise=0.08:0.16:0.08:0.16:0.08:0.16 I made it even better, especially in low light sequences. -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Am 12.11.22 um 10:57 schrieb Bouke / Videotoolshed: Hi Ulf, This is normal DV interlaced video. Open the .avi with VLC and turn OFF de-interlace, you’ll see how gorgeous the motion was on an old fashioned interlace aware screen. So, you need to de-interlace the filter. While you’re at it, you should crop a little, as SD is an over scanned format. And, you have non-square pixels that you have to accommodate for, so set aspect to 4:3 (in this case), or scale to a 4:3 ratio. Hi Bouke, when I switch off the de-interlace with the avi video in VLC, then the video looks ugly as the transcoded mp4 video ... not gorgeous. Yes I know, I have to de-interlace the video. I was hoping, that someone with more experience than me could suggest me the best filter for this task, so I would not need to poke around to find it myself. If I remember right, I had a good experience, when I set fps to 50 instead 25, so each halve-frame becomes a full-frame, but maybe someone knows an even better method. I don't think, I like to trans-format the ratio, as this always eats information/quality ... and if one want to watch the video on an old TV screen, he would have the original quality. Thanks for your sugestions. -Ulf ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Am Sa., 12. Nov. 2022 um 01:46 Uhr schrieb Ulf Zibis : > > I have transcoded a avi video to mp4 for compressing by factor 8. > Now I see interlace artifacts. https://ffmpeg.org/ffmpeg-filters.html offers a few options: kerndeint is old / outdated, should be fast yadif was for a long time the most useful deinterlacer w3fdif is a BBC-sponsored development bwdif claims to combine yadif and w3fdif into something better estdif and nnedi are newer filters All filters will not correct something on the video but will try to invent information that simply isn't there. This makes sense as there is no screen that can show what originally was meant to be shown but you should be aware that all filters effectively change your video. You will find several denoise filters in the documentation. Carl Eugen ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
> On 12 Nov 2022, at 01:46, Ulf Zibis wrote: > > Hi, > > I have transcoded a avi video to mp4 for compressing by factor 8. Now I see > interlace artifacts. E.g. the eagle in the back window of the bus or the > fence in the background. > Additionally I would like to reduce the noise for even better compression. > Any hint for a good filter? > > Refer: > http://jugkoeln.de/Videos/2012-01-03_21.46.40_6.29GB_15.avi > http://jugkoeln.de/Videos/2012-01-03_21.46.40_6.29GB_15.mp4 Hi Ulf, This is normal DV interlaced video. Open the .avi with VLC and turn OFF de-interlace, you’ll see how gorgeous the motion was on an old fashioned interlace aware screen. So, you need to de-interlace the filter. While you’re at it, you should crop a little, as SD is an over scanned format. And, you have non-square pixels that you have to accommodate for, so set aspect to 4:3 (in this case), or scale to a 4:3 ratio. Hth, Bouke ___ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-user] How to reduce interlace artifacts while trancoding to mp4
Hi, I have transcoded a avi video to mp4 for compressing by factor 8. Now I see interlace artifacts. E.g. the eagle in the back window of the bus or the fence in the background. Additionally I would like to reduce the noise for even better compression. Any hint for a good filter? Refer: http://jugkoeln.de/Videos/2012-01-03_21.46.40_6.29GB_15.avi http://jugkoeln.de/Videos/2012-01-03_21.46.40_6.29GB_15.mp4 $ ffmpeg -t 15 -i 2012-01-03_21.46.40_6.29GB_15.avi 2012-01-03_21.46.40_6.29GB_15.mp4 ffmpeg version 5.1.2-0ubuntu1~22.04.sav1 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 11 (Ubuntu 11.2.0-19ubuntu1) configuration: --prefix=/usr --extra-version='0ubuntu1~22.04.sav1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-sndio --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-librist --enable-libvmaf --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared WARNING: library configuration mismatch avcodec configuration: --prefix=/usr --extra-version='0ubuntu1~22.04.sav1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-sndio --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-librist --enable-libvmaf --enable-crystalhd --enable-libmfx --enable-libsvtav1 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-libplacebo --enable-librav1e --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc --enable-libshaderc --enable-liblensfun --enable-libsmbclient avfilter configuration: --prefix=/usr --extra-version='0ubuntu1~22.04.sav1' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-gnutls --enable-ladspa --enable-lcms2 --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libdav1d --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librabbitmq --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-sndio --enable-pocketsphinx --enable-librsvg --enable-libjxl --enable-librist --enable-libvmaf --enable-crystalhd --enable-libmfx