Advertisement
Guest User

Untitled

a guest
Nov 25th, 2014
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. $ ffmpeg -i me.avi |& grep Dura
  2. Duration: 00:01:43.27, start: 0.000000, bitrate: 16330 kb/s
  3.  
  4. # e.g. from start to 1 min.
  5. $ ./ffmpeg -i me.avi -vcodec copy -acodec copy -t 00:01:00 output1.avi
  6. # e.g. from 1 min. to end
  7. $ ./ffmpeg -i me.avi -vcodec copy -acodec copy -ss 00:01:00 output2.avi
  8.  
  9. $ ls -l me.avi output*
  10. -rw-rw-r-- 1 saml saml 210816000 Nov 27 21:36 me.avi
  11. -rw-rw-r-- 1 saml saml 120361978 Nov 27 21:39 output1.avi
  12. -rw-rw-r-- 1 saml saml 90571034 Nov 27 21:40 output2.avi
  13.  
  14. $ ./ffmpeg -i output1.avi |& grep Dura
  15. Duration: 00:01:00.00, start: 0.000000, bitrate: 16048 kb/s
  16. $ ./ffmpeg -i output2.avi |& grep Dura
  17. Duration: 00:00:43.27, start: 0.000000, bitrate: 16743 kb/s
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement