A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Split MP4 Video?



 
 
Thread Tools Rate Thread Display Modes
  #1  
Old September 26th 19, 05:59 PM posted to alt.comp.os.windows-10
No_Name
external usenet poster
 
Posts: 88
Default Split MP4 Video?

What program do you use to split large MP4 videos? I can't get any to
work that I have tried - including AVS4YOU and FILAMORE.
I gotta be missing some 'trick' I guess.
Thanks
XXXXX
Ads
  #5  
Old September 27th 19, 01:11 AM posted to alt.comp.os.windows-10
Paul[_32_]
external usenet poster
 
Posts: 11,873
Default Split MP4 Video?

wrote:
On Thu, 26 Sep 2019 17:08:14 -0400, Big Al wrote:

On 9/26/19 12:59 PM,
wrote:
What program do you use to split large MP4 videos? I can't get any to
work that I have tried - including AVS4YOU and FILAMORE.
I gotta be missing some 'trick' I guess.
Thanks
XXXXX

Do you want to split them in order to move them as smaller pieces to
another place and then restore them into the one original mp4? Or
split one MP4 into smaller playable MP4s?

Two different items. There are easily programs that split a file for
transmission or transport. Rar will make part001 part002 etc pieces.
Common with newsgroup multi-part messages.


I have some MP4 files that I want to convert for storage on DVD disks
to play in my DVD player. I normally use AVS4YOU to do this,.
Problem is - the conversion generates a result too big to fit on my
DVD disks. For example, one MP4 file is 1.13GB which my Filamore V8
made into a single 6.36GB (!) MP4 file when I folowed guidance to do a
'split', following which I did an 'export' (mistake?). Obviously I
did not do a split did I?
So what did I miss?
XXXXX


When you do a split, you do not want the tool to
do *any* recompression of the content. This is why
you need to slip in a "copy" argument, rather than
"setting video codec to XYZ, setting audio codec to PQR".
If you insist on changing all the parameters, your
tool of choice is going to recompress it, which takes
time unless you're using a video card accelerator.
My video card only manages around 330FPS, a lot less
than this command achieved in terms of performance.

Now, I don't have a command set up exactly for your needs.
Every time I do a video conversion, I record the command, but
I don't always write copious notes with each one (this makes
it more of a "challenge" the next time, to figure out what
to do).

ffmpeg -i INPUT.mp4 -map 0 -copytb 1 -c:v rawvideo -pix_fmt bgr24 -af "volume=6dB"
-ac 2 -c:a pcm_s16le -f segment -segment_list out.list
-segment_frames 26267,52535,78803,105071,131339,157607,183875,2101 43,236411,262679,288947
G:\WORK\out%03d.mov

So that's just a *horrible* example, not fit for print.

It commits just about every sin possible, but it happens to be
a single step out of a longer workflow. So this is to be expected.

Let's strip it down a bit. I want to set the codecs both to
copy mode - this avoids recompression or bitrate changes.
I changed the output container to MP4, same as input.
Copying at 3900 frames/sec. Total frames 315304.
Execution time 81 seconds. The copy-time-base option avoids
complaints about time base, half way through my transfer.
The "out.list" file is a nuisance, but that style of list
is used with the "concatenate" operator, and that's when
you might want that file to be hanging around. You can
delete it right now, as it's not worth keeping.

cd /d E:\FFMPEG\bin

ffmpeg -i H:\BUILD2015\KEY01.mp4 -copytb 1 -c:v copy -c:a copy -f segment -segment_list out.list
-segment_frames 26267,52535,78803,105071,131339,157607,183875,2101 43,236411,262679,288947
D:\WORK\out%03d.mp4

out.list contains

out000.mp4
out001.mp4
out002.mp4
out003.mp4
out004.mp4
out005.mp4
out006.mp4
out007.mp4
out008.mp4
out009.mp4
out010.mp4
out011.mp4

H:\BUILD2015\KEY01.mp4 6,570,687,638 bytes

Directory of D:\WORK

09/26/2019 07:56 PM 546,042,510 out000.mp4
09/26/2019 07:56 PM 548,443,058 out001.mp4
09/26/2019 07:56 PM 548,387,211 out002.mp4
09/26/2019 07:56 PM 548,708,975 out003.mp4
09/26/2019 07:56 PM 546,783,059 out004.mp4
09/26/2019 07:56 PM 547,653,563 out005.mp4
09/26/2019 07:56 PM 548,187,875 out006.mp4
09/26/2019 07:57 PM 548,200,904 out007.mp4
09/26/2019 07:57 PM 548,804,004 out008.mp4
09/26/2019 07:57 PM 546,333,955 out009.mp4
09/26/2019 07:57 PM 548,206,805 out010.mp4
09/26/2019 07:57 PM 549,995,336 out011.mp4

To prove I picked my frame values well, would take
more work. A lot more work. I probably used AVIDEMUX
for a look, to see if I was picking a fade to black
area for the split. And I would also try to arrange
the splits so they're on Group-Of-Picture boundaries.
I scan through my movie, picking precise frame numbers,
then write them on a piece of paper to be fed into this command.

But in any case, you can see space-wise, no bytes
were added or removed, and the transfer happened
at around 80MB/sec (pretty good for two hard drives).

FFMPEG is available here. Select a static version
for convenience (no DLLs to lug around). For WinXP
you'd likely want version 3.3.3 or so.

https://ffmpeg.zeranoe.com/builds/

Paul
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 11:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.