Using the ffmpeg command below, I can convert 1080 mov videos taken with my iPhone 4s to mp4. But when I try to convert a mov file taken with my Canon SX 1, it fails with these errors;
ffmpeg -i christmas_2012-01.mov -acodec copy -vcodec copy christmas_2012-01-ff.mp4
mp4 @ 0x7ffc92051600] track 1: could not find tag, codec not currently supported in container
Could not write header for output file #0 (incorrect codec parameters ?): Operation not permitted[/COLOR]
Here are the video's attributes:
ID_VIDEO_ID=0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=qt
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=537331968
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=qt CAEP
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2012-12-24 19:44:27
ID_CLIP_INFO_N=4
ID_FILENAME=christmas_2012-01.mov
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=2483240
ID_VIDEO_WIDTH=320
ID_VIDEO_HEIGHT=240
ID_VIDEO_FPS=30.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=1
ID_AUDIO_BITRATE=1411200
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=71.60
ID_SEEKABLE=1
ID_CHAPTERS=0
ID_VIDEO_CODEC=ffh264
ID_AUDIO_BITRATE=1411200
ID_AUDIO_RATE=44100
ID_AUDIO_NCH=2
ID_AUDIO_CODEC=pcm
ID_EXIT=EOF
+ Reply to Thread
Results 1 to 6 of 6
-
-
I don't think uncompressed audio(ID_AUDIO_CODEC=pcm) is supported in a .MP4 container.
-
You'll have to re-encode your audio
ffmpeg.exe -i christmas_2012-01.mov -vcodec copy -acodec aac -ab 128k christmas_2012-01.mp4Last edited by Wolfen; 16th Feb 2013 at 00:36.
-
I don't understand why it has to be re-encoded -- The audio codec appears to be the same using your command or my original one:
ID_AUDIO_CODEC=ffaac
-Thanks -
Similar Threads
-
FFmpeg error trying to convert audio in mp4
By Thunderhead2772 in forum Video ConversionReplies: 4Last Post: 30th Jan 2015, 09:24 -
Convert with ffmpeg or ffbmc to .mp4 msmpeg4v2 codecs
By SashaBN in forum Video ConversionReplies: 7Last Post: 5th Dec 2012, 16:16 -
Convert MKV with .ass subs to mp4 with ffmpeg
By bearnado in forum Video ConversionReplies: 2Last Post: 1st Mar 2012, 02:21 -
ffmpeg help... convert mp4 to jpeg array, and back to mp4 - problem!
By SaskVideoMaker in forum Video ConversionReplies: 2Last Post: 4th Feb 2011, 04:53 -
Can QuickTime Pro Convert XDCAM MP4 to .mov?
By boriega in forum Video ConversionReplies: 2Last Post: 15th Sep 2010, 15:17