Revision: 56024
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 7, 2012 06:44 by rowntreerob
Initial Code
./ffmpeg -i MAH01688-2.MP4 -map 0:0 -vcodec copy tgeo.mp4
./ffmpeg -i tgeo.mp4 -i audio_geo.3gpp -vcodec copy -acodec libmp3lame -ar 44100 -ab 44100 applygeo.mp4
STEP 1 drops audio track from mp4 creating outfile
STEP 2 Muxes audio from 3gp file ( audio from phone ) with the outfile from step 1
--- mp4 INPUT Details:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MAH01688.MP4':
Metadata:
major_brand : MSNV
minor_version : 19595352
compatible_brands: MSNVmp42isom
creation_time : 2012-03-06 08:33:47
Duration: 00:00:54.05, start: 0.000000, bitrate: 12165 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1440x1080 [SAR 4:3 DAR 16:9], 12032 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc
Metadata:
creation_time : 2012-03-06 08:33:47
handler_name : Video Media Handler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 128 kb/s
Metadata:
creation_time : 2012-03-06 08:33:47
handler_name : Sound Media Handler
Initial URL
Initial Description
2 steps using ffmpeg to drop the original audio track and replace it with new audio file from the phone
Initial Title
ffmpeg replace audio in mp4 with 3gp audio from phone
Initial Tags
Initial Language
Bash