GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   ffmpeg mp4 splitting (https://gfy.com/showthread.php?t=1072780)

cwd 06-27-2012 06:31 AM

ffmpeg mp4 splitting
 
Hello,
I'm looking for a ffmpeg command to split a mp4 file without re-encoding it.
Someone here have done that?
Thanks

- Jesus Christ - 06-27-2012 06:32 AM

I use Avidemux

btw it took me 2 seconds on google to find answers for what you just ask...

cwd 06-27-2012 06:38 AM

I know, I searched on google but I forgot to mention that I need the command line to work with ElevatedX, my bad.

Why 06-27-2012 08:48 AM

-ss 1:00:00 -t 2:00:00 -acodec copy -vcodec copy

where 1:00:00 is the start time and 2:00:00 would be the end time.
-ss and -t need to remain in THAT order and need to be at the beginning of the command line. even before your -i.

i dont know the specifics of what other videos you are delivering so i cant help you with the full command line input. if you have an existing one youd like to port, post it here and i can fix it for you.

fris 06-27-2012 12:58 PM

Quote:

Originally Posted by cwd (Post 19026924)
Hello,
I'm looking for a ffmpeg command to split a mp4 file without re-encoding it.
Someone here have done that?
Thanks

use the copy command so it doesnt re-encode like so

Code:

ffmpeg -ss 00:00:00 -t 00:50:00 -i largefile.mp4 -acodec copy -vcodec copy smallfile.mp4

cwd 06-28-2012 05:17 AM

Thanks Why and Fris, I will transfert this to Elevatex X and see if they can integrate it.


All times are GMT -7. The time now is 03:14 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc