PDA

View Full Version : over 8Gb mp4 file


banchan
29th April 2009, 10:25
Hi,

I have a 8.91 Gbytes MP4 AVC file on my PC and I would like to cut it because we can not play over 4Gb file on PS3.
I tried with YAMB but it crashes.
I tried to merge it into a mkv file and cut it after but it didnot work.

My question is : is it possible to cut this kind of file ? or not ?

Thank your for your answers :o

Dust Signs
29th April 2009, 10:32
Hi,

It should be no problem - try mp4box. Besides: isn't this topic more related to containers than to H.264/AVC?

Dust Signs

banchan
29th April 2009, 11:37
Hi,
It should be no problem - try mp4box. Besides: isn't this topic more related to containers than to H.264/AVC?
Dust Signs
I tried mp4box (Yamb uses mp4box). It can recognized file but it can not demux.
tried in command line too.

Dust Signs
29th April 2009, 11:59
What do you mean by "it can not demux"? Is there an error message or does it crash? Please provide more detail.

Dust Signs

banchan
29th April 2009, 12:28
there is a error message : Access violation when I click on the streams (AVC/H264 stream and AAC stream) then I can not click on "Next" to demux.

Dust Signs
29th April 2009, 12:50
there is a error message : Access violation when I click on the streams (AVC/H264 stream and AAC stream) then I can not click on "Next" to demux.

You mean in the GUI? That does not necessarily mean something - I get this sort of message quite often when using yamb. When I wrote about using mp4box above I meant using mp4box on its own (via command line) without yamb. Can you demux your streams when using mp4box without a GUI like yamb?

Dust Signs

banchan
29th April 2009, 13:32
Here is my command line :
mp4box -raw 1 movie.mp4

and the message is :
[iso file] Read box "/y.." failed (Out Of Memory)
Error opening movie.mp4: Out Of Memory

I'm wrong somewhere ?

Dust Signs
29th April 2009, 13:38
How much memory do you have in your machine, and how much is shown as free in the task manager? Are you using a 32 or 64 bit OS?
Maybe you are experiencing the same problem as this guy did: http://geeksheadaches.blogspot.com/2009/01/mp4box-out-of-memory.html Did you already try the latest version?

Dust Signs

banchan
29th April 2009, 14:05
I'm using Vista 32 bits with 2Mb of RAM. Total : 1917Mb, Cache : 1274, Free : 0
mp4box version is the lastest I think : 0.4.6 DEV (feb 2009)

it seems it's the same problem, right :(

Sharktooth
29th April 2009, 14:20
mp4box was supposedly compiled using mingw.
on windows, mingw needs patching for large file support, otherwise all applications built under mingw cant access files larger than 4GB.

banchan
29th April 2009, 14:29
ok, so I can't do anything with this file ?
Kurtnoise made mp4box, do you if he knows about that ?

Sharktooth
29th April 2009, 14:40
you cant do anything. a new build is needed.

banchan
29th April 2009, 14:55
you cant do anything. a new build is needed.
ok thanks ;) I will try to contact Kurtnoise.

Kurtnoise
30th April 2009, 07:28
mp4box was supposedly compiled using mingw.
what ??? mine is compiled w/ the old MSVC6...

I have a 8.91 Gbytes MP4 AVC file on my PC and I would like to cut it because we can not play over 4Gb file on PS3.
I tried with YAMB but it crashes.
I tried to merge it into a mkv file and cut it after but it didnot work.
have a look at Avidemux to cut your file and no need to send PM for such things...:rolleyes:

b66pak
30th April 2009, 18:16
or you can use mkvmerge to import the .mp4 then split it in 2 .mkv...then demux then to raw and finally remux to 2 .mp4...
_

Keiyakusha
30th April 2009, 18:49
better in 3 .mkv coz file is over 8GB

lexor
30th April 2009, 20:23
He did say that the mkv way didn't work for him.

Keiyakusha
30th April 2009, 20:32
Well, we don't know how exactly he tried to mux mkv, so...

kemuri-_9
30th April 2009, 22:20
Well, we don't know how exactly he tried to mux mkv, so...
iirc, the ps3 doesn't support mkv that's why it doesn't work.

I made myself a >4 GB h264 file by binary concatenating one such file to itself a couple times, the resulting file was 6.35 GB.
i then muxed it to a .mp4 file using mp4box (to get a similar condition to the OP)
and then did

mp4box -add large_file.mp4 -split-size 4193280 -new split.mp4

using my x86 build... (that value is in KB which is about 3.999 GB)
which worked fine in producing two files (split_001.mp4 & split_002.mp4), so it seems that the build of mp4box you're using is effectively broken for large files.
here's my build of mp4box that are 0.4.6-DEV Build 1
x86 (http://kemuri9.net/dev/mp4box/MP4Box_x86.exe) x64 (http://kemuri9.net/dev/mp4box/MP4Box_x64.exe)

Keiyakusha
30th April 2009, 22:32
iirc, the ps3 doesn't support mkv that's why it doesn't work.
Sure, muxing into mkv needed only to help split the file. I think banchan is aware of that but somewhere on muxing step there was a problem.

Comatose
1st May 2009, 20:06
Maybe not. To me that part wasn't obvious, anyway. kemuri's post probably solves the issue, but just mux to mkv while splitting, then demux and mux back to mp4.

banchan
8th May 2009, 04:06
If you tried to import the mp4 into in a mkv file and then tried to demux it, you have 2 files, right, but no picture (grey screen) and no sound. Not the good way.

kemuri> I tried your command line (with your x86 mp4box) : mp4box -add movie.mp4 -split-size 4193280 -new split.mp4
but it did not work. just after press enter, here is the message :
Unknown input file type
Unknown input file type
No suitable tracks found for spliting file

Kurtnoise> Sorry for the MP. Tried Avidemux and worked fine. I could split my file into 3 mp4 files.

Thank you very much ;)

kemuri-_9
8th May 2009, 04:45
kemuri> I tried your command line (with your x86 mp4box) :
but it did not work. just after press enter, here is the message :

you were supposed to use that as a basis for your own usage.
naturally "movie.mp4" should be replaced with whatever file you're working with. and "split.mp4" should be what you want the output file name to be.
so of course it fails if you copy and pasted the cmd without realizing what was going on.

banchan
8th May 2009, 14:48
I'm not stupid. My movie is named movie.mp4 and split.mp4 is ok just for test.
If I rename my mp4file, same problem.

Schrade
8th May 2009, 17:15
I'm not stupid. My movie is named movie.mp4 and split.mp4 is ok just for test.
If I rename my mp4file, same problem.

Maybe do a mp4box -info filename.mp4. Let's see what it says.