Author Topic: Edge emphasis screwup  (Read 7161 times)

ArcziPL

  • Contributor
  • Member
  • *****
  • Posts: 184
Re: Edge emphasis screwup
« Reply #25 on: November 13, 2018, 10:53:29 PM »
That is why tif is superior  ;)
Do you really mean TIFF (Thousands of Incompatible File Formats)? ;)
M50.110 [main cam] | G7X III [pocket cam] | 70D.112 [gathers dust] | M.202 [gathers dust] | waiting for M5II

Narumon

  • New to the forum
  • *
  • Posts: 12
Re: Edge emphasis screwup
« Reply #26 on: November 14, 2018, 11:02:08 PM »
Is it possible to do a script (.bat?) to automate this process?

1, ffmpeg -i INPUT.MOV image-%07d.png
2. Octave running the script then exit
3. ffmpeg -framerate 23.976 -i fixed%07d.png -i INPUT.MOV -vcodec mjpeg -q 0 -acodec copy -map 0:v:0 -map 1:a:0 INPUT_fixed.avi

Where INPUT = which is after the .bat file or script?

Kharak

  • Hero Member
  • *****
  • Posts: 1019
Re: Edge emphasis screwup
« Reply #27 on: November 15, 2018, 01:50:48 PM »
Tested some more and think this was a good compromise of things:
Code: [Select]
for f in *.{mp4,MP4,mov,MOV,avi,AVI}; do
ffmpeg -i "$f" -c:v libx264 -crf 10 -vf removegrain=4,removegrain=4,unsharp=3:3:1.0:3:3:0.0 clean_"$f"
done

Add:
Code: [Select]
ffmpeg -i "$f" -c:v libx264 -crf 10 -vf removegrain=4,removegrain=4,unsharp=5:5:1.0:5:5:0.0 clean_"$f"for a slightly sharper output.

Original
PIC REMOVED

ffmpeg
PIC REMOVED

Octave script(warmer tone?)


Very impressive fix!

Add some Dithering and and that last example will look perfect!
once you go raw you never go back