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)
-   -   splitting videos with ffmpeg? (https://gfy.com/showthread.php?t=764982)

fris 08-31-2007 06:58 AM

splitting videos with ffmpeg?
 
anyone do this? not sure if this is right

set end time
mencoder -endpos 02:00:00 -ovc copy -oac copy black_shock_cock_full_video.mpg -o first_half.mpg

set beginning
mencoder -ss 01:00:00 -oac copy -ovc copy black_shock_cock_full_video.mpg -o second_half.mpg

then join them
mencoder -oac copy -ovc copy -o "new_black_shock_cock.mpg" "first_half.mpg" "second_half.mpg"

gleem 08-31-2007 07:34 AM

I dunno, I just had a script developed to split FLV files, splits em based on meta data I think, so it works the same way as a typical WMV/AVI splitter except it's on my server.

Would like to split WMV's on my server, can FFMpeg split WMV's on the server via a little server script?

fris 08-31-2007 01:25 PM

Quote:

Originally Posted by gleem (Post 13014215)
I dunno, I just had a script developed to split FLV files, splits em based on meta data I think, so it works the same way as a typical WMV/AVI splitter except it's on my server.

Would like to split WMV's on my server, can FFMpeg split WMV's on the server via a little server script?

also looking to split .flv perl/bash/sh script if you have it

i should be still on your aim

calmlikeabomb 08-31-2007 02:55 PM

using FFMPEG you can split mpgs files like this:

Code:

ffmpeg -y -i video.mpg -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:15 video_part1.mpg
where
-y forces an overwrite
-i video.mpg is the input file
-vcodec copy, reuses existing video codecs
-acodec copy, reuses existing audio codecs
-ss 00:00:00, is the start time
-t 00:00:15, is the end time (15 seconds)
video_part1.mpg, is the output file

If you want to convert mpg to flv then split you can do:
Code:

ffmpeg -y -i video.mpg video.flv;
ffmpeg -y -i video.mpg -ss 00:00:00 -t 00:00:15 video_part1.mpg

When converting wmv to any format I always loose the a/v sync.

I'd like to know if anyone here has a solution or can share their wmv conversion methods...

bDok 08-31-2007 04:29 PM

this is something that i have been wanting to know for awhile too. bummmmp.

fris 08-31-2007 04:34 PM

Quote:

Originally Posted by calmlikeabomb (Post 13016114)
using FFMPEG you can split mpgs files like this:

Code:

ffmpeg -y -i video.mpg -vcodec copy -acodec copy -ss 00:00:00 -t 00:00:15 video_part1.mpg
where
-y forces an overwrite
-i video.mpg is the input file
-vcodec copy, reuses existing video codecs
-acodec copy, reuses existing audio codecs
-ss 00:00:00, is the start time
-t 00:00:15, is the end time (15 seconds)
video_part1.mpg, is the output file

If you want to convert mpg to flv then split you can do:
Code:

ffmpeg -y -i video.mpg video.flv;
ffmpeg -y -i video.mpg -ss 00:00:00 -t 00:00:15 video_part1.mpg

When converting wmv to any format I always loose the a/v sync.

I'd like to know if anyone here has a solution or can share their wmv conversion methods...


can you please hit me up? i been trying to reach you for over 2 weeks now, i cant update my site, jfc is broken, i tried aim, email, nothing. thanks.


All times are GMT -7. The time now is 08:50 PM.

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