mp4 spliter

Tsu-Fan Cheng tscheng at ic.sunysb.edu
Sun Mar 7 16:29:27 PST 2004


Hi, thank you for the tip, but I have tried a few times and it doesn't
work :( The vedio track can be processed but not the audio. I played the
original movie file again with mplayer and logged the output:

.....

MOV: File-Type unknown Major-Brand: mp42
QuickTime/MOV file format detected.
--------------
MOV track #0: 29325 chunks, 262913 samples
Audio bits: 16  chans: 2  rate: 44100
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)!
Fourcc: mp4a
--------------
MOV track #1: 24427 chunks, 146411 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (86)!
Image size: 640 x 344 (32 bpp)
Display size: 640 x 344
Fourcc: mp4v  Codec: ''
--------------
MOV track #2: 1 chunks, 0 samples
Generic track - not completly understood! (id: 2)
--------------
MOV track #3: 1 chunks, 0 samples
Generic track - not completly understood! (id: 3)
--------------
MOV: longest streams: A: #0 (262913 samples)  V: #1 (146411 samples)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
	is this what went wrong?

AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [faad] afm:faad (AAC MPEG2/MPEG4 Audio)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 344 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.86:1 - prescaling to correct movie aspect.
VO: [xv] 640x344 => 640x344 Planar YV12
A:   1.5 V:   1.5 A-V:  0.003 ct:  0.021   37/ 37  11%  6%  6.1% 0 0 0%

  any help is appreciated! thanks!

> > Hi freebsders, I have a movie file ended with mp4 and it's bigger than
> > 700mb, does anybody know how I can split the file into 2 so I can make
> > a CD out of it? thanks a lot!
>
> If you can play it with mplayer, then you can (assuming your movie file
> is a.mp4 and length is 1000 secs)
>
> $ mencoder -oac copy -ovc copy -ss 0   -endpos 500  -o first.mp4  a.mp4
> $ mencoder -oac copy -ovc copy -ss 500 -endpos 1000 -o second.mp4 a.mp4
>
> Or you could take the easy way out and run this to get split files.
> $ split -b 700m a.mp4
>
> Gautam
>


More information about the freebsd-questions mailing list