[FFmpeg-trac] #9328(undetermined:new): mmpeg bombs: Application provided duration: -9223372036854775808 / timestamp: -9223372036854775808 is out of range for mov/mp4 format
FFmpeg
trac at avcodec.org
Mon Jul 12 22:08:46 EEST 2021
#9328: mmpeg bombs: Application provided duration: -9223372036854775808 /
timestamp: -9223372036854775808 is out of range for mov/mp4 format
-------------------------------------+-------------------------------------
Reporter: | Type: task
carla_rogers |
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
My goal always is to find my own solutions. My biggest problem with
ffmpeg, besides not being able to use it find all video no matter where it
is with Dr. Fauci image or voice, then convert it all to Bugs Bunny, is I
have not found the documentation needed to get a real handle on what it is
doing. I must not be looking hard enough.
I would be thrilled with any insight you can write or talk about.
Summary of the bug:
Objective is to get an MP4 from an .mov file. I do it often, usually
without incident.
Computer is 2012 MacPro with Catalina macOS.
ffmpeg version 4.4 Copyright (c) 2000-2021
Command fired from saved bash script (named mpeg_common) fired from the
command line. Here is the contents of the script:
{{{
sourcevid_dir='/Volumes/rocketboss01/video/'
vidname_noext='improved_focus'
topicdir_up1_='inspiration/'
${topicdir_up1_}${vidname_noext}
ffmpeg -i ${sourcevid_dir}${vidname_noext}.mov -y -vf "format=yuv420p"
-vcodec h264 -acodec aac ${sourcevid_dir}${vidname_noext}.mp4
}}}
{{{
Finally, the bomb output:
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with Apple clang version 12.0.0 (clang-1200.0.32.29)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_1 --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-libdav1d --enable-libmp3lame
--enable-libopus --enable-librav1e --enable-librubberband --enable-
libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora
--enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid
--enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq
--enable-libzimg --disable-libjack --disable-indev=jack --enable-
videotoolbox
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f8ba300e600] stream 0, timescale not set
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from
'/Volumes/rocketboss01/video/improved_focus.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2020-08-23T02:54:17.000000Z
keywords : iMovie
title : improved focus
com.apple.quicktime.author:
com.apple.quicktime.keywords: iMovie
com.apple.quicktime.displayname: improved focus
com.apple.quicktime.title: improved focus
com.apple.quicktime.description: This video is about improved focus
Duration: 00:17:06.28, start: 0.000000, bitrate: 24536 kb/s
Stream #0:0(eng): Audio: pcm_s24le (lpcm / 0x6D63706C), 48000 Hz,
stereo, s32 (24 bit), 2304 kb/s (default)
Metadata:
creation_time : 2020-08-23T02:54:17.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:1(und): Video: prores (Standard) (apcn / 0x6E637061),
yuv422p10le(tv, bt709, progressive), 1280x720, 22231 kb/s, SAR 1:1 DAR
16:9, 23.98 fps, 23.98 tbr, 24k tbn, 24k tbc (default)
Metadata:
creation_time : 2020-08-23T02:54:17.000000Z
handler_name : Core Media Video
vendor_id : appl
encoder : Apple ProRes 422
timecode : 00:00:00:00
Stream #0:2(und): Data: none (tmcd / 0x64636D74) (default)
Metadata:
creation_time : 2020-08-23T02:54:17.000000Z
handler_name : Core Media Time Code
timecode : 00:00:00:00
Stream #0:3: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 1280x720 [SAR 72:72 DAR 16:9], 90k tbr, 90k tbn,
90k tbc (attached pic)
Stream mapping:
Stream #0:1 -> #0:0 (prores (native) -> h264 (libx264))
Stream #0:0 -> #0:1 (pcm_s24le (native) -> aac (native))
Press [q] to stop, [?] for help
[libx264 @ 0x7f8b92809400] using SAR=1/1
[libx264 @ 0x7f8b92809400] using cpu capabilities: MMX2 SSE2Fast SSSE3
SSE4.2
[libx264 @ 0x7f8b92809400] profile High, level 3.1, 4:2:0, 8-bit
[libx264 @ 0x7f8b92809400] 264 - core 161 r3049 55d517b - H.264/MPEG-4 AVC
codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options:
cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1
psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1
cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=22
lookahead_threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23
scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x7f8ba3014c00] Application provided duration: -9223372036854775808
/ timestamp: -9223372036854775808 is out of range for mov/mp4 format
[mp4 @ 0x7f8ba3014c00] pts has no value
Output #0, mp4, to '/Volumes/rocketboss01/video/improved_focus.mp4':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
com.apple.quicktime.description: This video is about improved focus
keywords : iMovie
title : improved focus
com.apple.quicktime.author:
com.apple.quicktime.keywords: iMovie
com.apple.quicktime.displayname: improved focus
com.apple.quicktime.title: improved focus
encoder : Lavf58.76.100
Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuv420p(tv, bt709,
progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 0.04 fps, 24k tbn
(default)
Metadata:
creation_time : 2020-08-23T02:54:17.000000Z
handler_name : Core Media Video
vendor_id : appl
timecode : 00:00:00:00
encoder : Lavc58.134.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo,
fltp (24 bit), 128 kb/s (default)
Metadata:
creation_time : 2020-08-23T02:54:17.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
encoder : Lavc58.134.100 aac
frame=24606 fps=135 q=-1.0 Lsize= 130909kB time=00:17:06.26
bitrate=1045.0kbits/s speed=5.63x
video:114168kB audio:16104kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead: 0.488667%
[libx264 @ 0x7f8b92809400] frame I:4294 Avg QP:18.49 size: 12850
[libx264 @ 0x7f8b92809400] frame P:9364 Avg QP:21.25 size: 4577
[libx264 @ 0x7f8b92809400] frame B:10948 Avg QP:20.94 size: 1724
[libx264 @ 0x7f8b92809400] consecutive B-frames: 37.3% 7.4% 8.1% 47.2%
[libx264 @ 0x7f8b92809400] mb I I16..4: 42.4% 55.5% 2.0%
[libx264 @ 0x7f8b92809400] mb P I16..4: 8.6% 8.8% 0.0% P16..4: 22.2%
2.3% 1.8% 0.0% 0.0% skip:56.3%
[libx264 @ 0x7f8b92809400] mb B I16..4: 1.1% 1.0% 0.0% B16..8: 15.1%
0.7% 0.1% direct: 1.3% skip:80.7% L0:48.9% L1:49.9% BI: 1.2%
[libx264 @ 0x7f8b92809400] 8x8 transform intra:54.0% inter:99.2%
[libx264 @ 0x7f8b92809400] coded y,uvDC,uvAC intra: 17.7% 64.2% 22.2%
inter: 3.8% 12.4% 0.0%
[libx264 @ 0x7f8b92809400] i16 v,h,dc,p: 36% 26% 8% 31%
[libx264 @ 0x7f8b92809400] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 29% 14% 45% 2%
2% 2% 2% 2% 1%
[libx264 @ 0x7f8b92809400] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 43% 22% 24% 2%
3% 1% 2% 1% 1%
[libx264 @ 0x7f8b92809400] i8c dc,h,v,p: 47% 19% 20% 15%
[libx264 @ 0x7f8b92809400] Weighted P-Frames: Y:0.3% UV:0.3%
[libx264 @ 0x7f8b92809400] ref P L0: 65.6% 2.2% 20.2% 12.0% 0.0%
[libx264 @ 0x7f8b92809400] ref B L0: 82.6% 13.3% 4.1%
[libx264 @ 0x7f8b92809400] ref B L1: 96.8% 3.2%
[libx264 @ 0x7f8b92809400] kb/s:911.31
[aac @ 0x7f8ba3015e00] Qavg: 207.087
root at Dans-Mac-Pro 21-07-12 13:42:02 downloads$ ffmpeg --version
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers
built with Apple clang version 12.0.0 (clang-1200.0.32.29)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.4_1 --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-libdav1d --enable-libmp3lame
--enable-libopus --enable-librav1e --enable-librubberband --enable-
libsnappy --enable-libsrt --enable-libtesseract --enable-libtheora
--enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp
--enable-libx264 --enable-libx265 --enable-libxml2 --enable-libxvid
--enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r
--enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq
--enable-libzimg --disable-libjack --disable-indev=jack --enable-
videotoolbox
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Unrecognized option '-version'.
Error splitting the argument list: Option not found
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9328>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list