[FFmpeg-user] Converting Quicktime (.mov ) from iPhone to mp4
Peter Alderson
petera at rush.technology
Wed Mar 25 12:11:15 EET 2020
> On 24 Mar 2020, at 16:21, Carl Zwanzig <cpz at tuunq.com> wrote:
>
> On 3/24/2020 9:05 AM, Peter Alderson wrote:
>> How do I stop top-posting?
>
> Check the docs for your email client or google it? If you're using gmail in a browser, click on the three dots at the bottom to expand the quoted text, then edit from there.
>
> And if you haven't already, take a look at https://ffmpeg.org/mailing-list-faq.html.
OK, got it!
>
>
>> Also I have now installed 4.2.2. ( 2019 ). ( which is the latest homebrew version )
> "homebrew version"?? Where are you getting ffmpeg? You can get up-to-date macos builds at https://ffmpeg.zeranoe.com/builds/macos64/ and https://evermeet.cx/ffmpeg/ (both linked from https://ffmpeg.org/download.html). But.... see below…
>
>
>> And I now when converting from .mov ( saved Video ) from iOS 11 I get error...
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7ff72f801600] moov atom not found
>
> Please provide the -entire- command output. It's very hard to debug a problem with almost no information.
The Command / Output is...
$ ffmpeg -i <tezt-file>.mov -vcodec h264 -acodec mp2 test-output-21.mp4
ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple clang version 11.0.0 (clang-1100.0.33.17)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.2.2_2 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-libsoxr --enable-videotoolbox --disable-libjack --disable-indev=jack
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fe4de00c000] moov atom not found
<text-file>.mov: Invalid data found when processing input
$
The test file can be found at https://s3-eu-west-1.amazonaws.com/app.netframe.io/another-test.mov <https://s3-eu-west-1.amazonaws.com/app.netframe.io/another-test.mov>
>
>
> From the original email
>> If the video is recorded and then transferred to a Desktop uploaded and
>> then converted it works OK.
> Are you running ffmpeg on the iphone or on a desktop/laptop? That's very important to know. Have you tried multiple videos? With that error, it's possible that the video wasn't properly closed when recorded.
>
ffmpeg is running on Desktop, the Video is captured on iPhone. ( and transferred via Upload in Browser ).
After investigation the issue seems to relate to how the Video is transferred.
Works...
1) From iPhone by email ( iOS Mail is actually converting the Video to a link, and not attaching the Video itself ).
2) From Phone when recoded ‘live’, ie, not saved in Photo Library.
3) From Phone when saved in Picture Library when using iOS 12.4.5 or earlier.
Fails…
1) From iPhone when save in Picture Library when using later than iOS 12.4.5 ( only have access to few devices, but know that 13.3.1 fails ).
So it appears the issue is NOT with ffmpeg, but some stage behaviour in Safari / Webkit.
However, any suggestions would be appreciated.
> Later,
>
> z!
>
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list