[FFmpeg-user] Converting Quicktime (.mov ) from iPhone to mp4

Carl Eugen Hoyos ceffmpeg at gmail.com
Tue Mar 24 18:27:50 EET 2020


Am Di., 24. März 2020 um 16:07 Uhr schrieb Peter Alderson
<petera at rush.technology>:

> On iPhones running iOS 11, if a video is pre-recorded and uploaded I get the following
> errors:- ( ie, the video is recoded on the iPhone and then uploaded as an attachment ).
>
> $ ./ffmpeg -i <input-file>.mov -vcodec h264 -acodec mp4 test-output.mp4
> FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
> Mac OSX universal build for ffmpegX
>   configuration:  --enable-memalign-hack --enable-mp3lame --enable-gpl --disable-vhook --disable-ffplay --disable-ffserver --enable-a52 --enable-xvid --enable-faac --enable-faad --enable-amr_nb --enable-amr_wb --enable-pthreads --enable-x264
>   libavutil version: 49.0.0
>   libavcodec version: 51.9.0
>   libavformat version: 50.4.0
>   built on Apr 15 2006 04:58:19, gcc: 4.0.1 (Apple Computer, Inc. build 5250)
> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]mov: header not found !!! (err:0, moov:0, mdat:0) pos:3189455560
> <input-file>.mov: Error while opening file

Feel free to provide a sample input file.

Carl Eugen


More information about the ffmpeg-user mailing list