JP Vossen via plug on 30 Aug 2020 12:22:08 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] Transcoding MTS vids to something else for frame exctraction


My wife has some MTS videos we took on vacation from which we want to extract some frames. No problem:
```
ffmpeg -hide_banner -loglevel error -nostdin \
 -i $file -ss $start -to $stop -r $fps $dir/$output_file-$loop-%06d.$ext
```

But most of the resulting frames are fuzzy or interlaced, presumably because MTS (about which I know nothing) uses a key frame and then diffs (whatever that's called). Note I got the same results using `-r 30` and `-r 5`.

I was thinking that I could transcode MTS to something better (read much, much larger), then extract the frames I want from that. I know the answer is also `ffmpeg` but...with what settings?

Clues?

TIA,
JP
--  -------------------------------------------------------------------
JP Vossen, CISSP | http://www.jpsdomain.org/ | http://bashcookbook.com/
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug