Repacking a QuickTime file?

"Otto J. Makela" <[email protected]>
Newsgroups gmane.comp.video.transcode.user
Message-ID <[email protected]>
What would be the correct command line syntax to take one kind of a QuickTime
file and repack the streams into another type? In the following, make04.mov
works fine on a TViX media player, whereas maketelevison01.mp4 does not.
As they use the same codecs it would seem likely that it's just a matter of
correcting the packing "container" file.

% ls -l make04.mov maketelevison01.mp4
-rw-r--r-- 1 otto otto     1014539476 2009-02-21 01:28 make04.mov
-rw-r--r-- 1 otto otto      335064688 2009-02-20 16:24 maketelevison01.mp4

% file make04.mov maketelevison01.mp4
make04.mov:          ISO Media, Apple QuickTime movie
maketelevison01.mp4: ISO Media, MPEG v4 system, version 2

% tcprobe -i make04.mov
[tcprobe] Apple QuickTime movie file
[probe_mov.c] audio codec=mp4a
[probe_mov.c] video codec=avc1
[tcprobe] summary for make04.mov, (*) = not default, 0 = not detected
import frame size: -g 1280x720 [720x576] (*)
       frame rate: -f 29.970 [25.000] frc=4 (*)
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x1 [0x2000] (*)
           length: 48213 frames, frame_time=33 msec, duration=0:26:48.708

% tcprobe -i maketelevison01.mp4
[tcprobe] Apple QuickTime movie file
[probe_mov.c] audio codec=mp4a
[probe_mov.c] video codec=avc1
[tcprobe] summary for maketelevison01.mp4, (*) = not default, 0 = not detected
import frame size: -g 720x480 [720x576] (*)
       frame rate: -f 29.981 [25.000] frc=4 (*)
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x1 [0x2000] (*)
           length: 48310 frames, frame_time=33 msec, duration=0:26:51.339

PS. The wiki is somewhat lacking in the QuickTime section:
	http://www.transcoding.org/cgi-bin/transcode?Quicktime
-- 
   /* * * Otto J. Makela <[email protected]> * * * * * * * * * * * * * * * */
  /* Phone: +358 40 765 5772, FAX: +358 42 7655772, ICBM: 60N 25E */
 /* Mail: Mechelininkatu  26 B 27,  FI-00100  Helsinki,  FINLAND */
/* * * Computers Rule 01001111 01001011 * * * * * * * * * * * * */
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.