[Ffmpeg-devel] [PATCH] ADTS muxer (original) (raw)

Erik Slagter erik
Thu Feb 9 21:25:00 CET 2006


On Thu, 2006-02-09 at 16:48 +0100, Baptiste COUDURIER wrote:

Here is an ADTS muxer. I think it will solve Erik Slagter problem with gpac. Does it worker for you Erik ?

Hmmm, maybe I am doing something wrong here?

artemis erik:/var/tv/misc/bewaren/mp4 $ ffmpeg -i input.mp4 -vn -acodec copy -f adts test.aac FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard configuration: --extra-cflags=-mtune=athlon-mp -finline-functions --prefix=/usr --enable-mp3lame --enable-faad --enable-faadbin --enable-faac --enable-x264 --enable-a52 --enable-a52bin --enable-pp --enable-shared --enable-pthreads --disable-audio-oss --disable-v4l --disable-bktr --disable-dv1394 --disable-debug --enable-gpl libavutil version: 49.0.0 libavcodec version: 51.2.0 libavformat version: 50.1.0 built on Feb 9 2006 21:17:11, gcc: 4.0.2 20051125 (Red Hat 4.0.2-8) Input #0, mov,mp4,m4a,3gp,3g2, from 'input.mp4': Duration: 00:37:16.4, start: 0.000000, bitrate: 352 kb/s Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 320x240 Stream #0.1(eng): Audio: aac, 44100 Hz, stereo File 'test.aac' already exists. Overwrite ? [y/N] y Output #0, adts, to 'test.aac': Stream #0.0: Audio: aac, 44100 Hz, stereo Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop encoding size= 34937kB time=2236.1 bitrate= 128.0kbits/s video:0kB audio:34937kB global headers:0kB muxing overhead 0.000000%

artemis erik:/var/tv/misc/bewaren/mp4 $ file test.aac test.aac: data

artemis erik:/var/tv/misc/bewaren/mp4 $ MP4Box -info test.aac Import probing results for test.aac: File has 1 tracks Track 1 type: Audio

artemis erik:/var/tv/misc/bewaren/mp4 $ MP4Box -add test.aac test.mp4 AAC import - sample rate 24000 - MPEG-2 audio - 5 channels Converting to ISMA Audio-Video MP4 file... Saving to test.mp4: 0.500 secs Interleaving

This is the same as I got before. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 2771 bytes Desc: not available URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20060209/a611f882/attachment.bin>



More information about the ffmpeg-devel mailing list