PDA

View Full Version : Error opening file video.mp4: IsoMedia File is truncated


Sirber
3rd January 2007, 22:39
From mp4box:
[iso file] Box size 8 invalid (read 260993)
Error opening file video.mp4: IsoMedia File is truncated

From MediaInfo:
General #0
Complete name : video.mp4
Format : MPEG-4
Format/Info : ISO 14496-1 Base Media
Format/Family : MPEG-4
File size : 1.23 GiB
PlayTime : 1h 34mn
Bit rate : 1859 Kbps
StreamSize : 3.37 MiB
Encoded date : UTC 1970-01-01 03:00:00
Tagged date : UTC 1970-01-01 00:00:00

Video #0
Codec : H.264
Codec/Info : H.264 (3GPP)
PlayTime : 1h 34mn
Bit rate : 318 Kbps
Width : 800 pixels
Height : 450 pixels
Aspect ratio : 16/9
Frame rate : 23.976 fps
StreamSize : 215 MiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00

Audio #0
Codec : PCM
PlayTime : 1h 34mn
Bit rate : 1536 Kbps
Channel(s) : 2 channels
Sampling rate : 48 KHz
Resolution : 16 bits
StreamSize : 1.02 GiB
Encoded date : UTC 1970-01-01 00:00:00
Tagged date : UTC 1970-01-01 00:00:00

the mp4 was made using mencoder and libformat. Any idea why it doesn't like it?

[edit]

VLC plays it.

Sirber
3rd January 2007, 22:59
seems I can fix it by passing it through ffmpeg...
kinda ugly solution :confused:

bond
4th January 2007, 19:59
didnt i say that mencoder doesnt create correct mp4 files? also why the hell are you using pcm with mp4?

stop using mp4 with mencoder...

Sirber
4th January 2007, 20:04
didnt i say that mencoder doesnt create correct mp4 files?With bframes, yes. I tryed whitout.

also why the hell are you using pcm with mp4?Code error ;)

stop using mp4 with mencoder...
Sir Yes Sir!

bond
4th January 2007, 20:23
didnt i tell you to fix mencoder first before using it ;)

Sirber
4th January 2007, 20:24
bframes yes, but you didn't accept my 5$ to fix it ;)
you never said it was generaly screwed with no hope... ;)

bond
4th January 2007, 20:27
hm indeed :stupid:

well seems mp4box detected another bug ;)

SeeMoreDigital
4th January 2007, 20:42
Jeez yea...

Placing PCM audio streams within the MP4 container is not very elegant. Especially as (in this instance) the audio stream is nearly "five" times greater than the AVC video stream....

AAC-LC at 320Kbps is pretty transparent....


Cheers

Sirber
4th January 2007, 20:44
error in my code, the MP4 wasn't supposed to hold audio.
the same error happens whitout audio.