Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As always, ffmpeg is terrific, but unfortunately the solution given here is not frame-exact editing, so to me it is just another quick-and-dirty solution when a re-encode is not desired, sort of like avidemux in that regard.


Absolutely. If you need something precise and quality, this isn't the tool. It's definitely for a very quick chop in the command-line, when you want to share some 30s clip in a 2 hour video with a friend or something.


A friend = lots of devs

Screencasts don't need frame precision fortunately. A set up that isn't completely polished also feels more authentic.


Agreed. The post was written for an audience that doesn't care about exact frame editing.

Would the following work?

# Calculate the exact start time (in s.msec format) via: START = start_frame_number/frames_per_second

ffmpeg -ss $START -i video.mp4 -c copy -map 0 -frames 1400 output.mp4


Afaik ffmpeg requires a specific option to disable snapping to key frames. Don't remember which, but it can be easily found with a web search.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: