Keith C. Perry via plug on 30 Aug 2020 12:47:40 -0700


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

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


Try going to mjpeg first at the same quality. That format is usually best for intermittent work and for pulling stills out.

On August 30, 2020 3:03:49 PM EDT, JP Vossen via plug <plug@lists.phillylinux.org> wrote:
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

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
___________________________________________________________________________
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