Opened 11 years ago

Closed 7 years ago

#2505 closed defect (fixed)

ProRes encoding dupe frames at head and tail w/ bad tail sound

Reported by: Bob Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mov edts
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:

I am trying to encode from a ProRes4x4 generated by an Arri Alexa camera into a lighter form of ProRes (dailies). On windows 7 X64 bit.

Note: This may be the same issue as Ticket #2324, but it has so little info it's hard to tell.

Any number of attempts to encode into ProRes (ks or aw) results in a file in which the 1st and last images is duplicated (the first skews the clip from the master footage) and the sound has 2 extra 'frames' of sound and a burst of static.
This can be seen on the timeline in Adobe Premiere:

To illustrate the problem, I slid the resulting video track back 1 frame to align the body of it with the source clip. I then cut the first two frames to make them easier to see. They are both the first actual image of the sequence, so one is a duplicate:
http://www.mindspring.com/~bgruen/images/head.JPG

There is also a duplicate frame at the tail of the clip, meaning the overall clip is 2 frames too long. This can be seen in the audio clip, which has a burst of static when the master clip runs out of actual audio.
http://www.mindspring.com/~bgruen/images/tail.JPG

How to reproduce:

Some of the command lines I've attempted:

ffmpeg -i D:\StockFootage\Alexa\A001C006_120923_R33F.mov -acodec pcm_s24le -vcodec prores_ks -profile:v hq -pix_fmt yuv444p10le E:\ArriTest\1080p.A001C006_120923_R33F.mov

ffmpeg -i D:\StockFootage\Alexa\A001C006_120923_R33F.mov -acodec pcm_s24le -vcodec prores_ks -profile:v hq -pix_fmt yuv422p10le E:\ArriTest\1080p.A001C006_120923_R33F.mov

ffmpeg -i D:\StockFootage\Alexa\A001C006_120923_R33F.mov -acodec pcm_s24le -r:0 23.98 -s:0 hd720 -vcodec prores_ks -profile:v hq -pix_fmt yuv422p10le E:\ArriTest\720p.A001C006_120923_R33F.mov

---Even going to a Tiff sequence first does not cure the image problem---

ffmpeg -i D:\StockFootage\Alexa\A001C006_120923_R33F.mov -f image2 E:\ArriTest\A001C006.%%04d.tif
ffmpeg -f image2 -r 23.976 -i E:\ArriTest\A001C006.%%04d.tif -codec:v:0 prores_ks -profile:v lt -pix_fmt yuv422p10le E:\ArriTest\1080p.A001C006_120923_R33F.tif.mov

Test footage:
ftp://ftp.arri.de/01_sxs/Reel1/A001R33F/A001C006_120923_R33F.mov
User: alexafootage
Password: 20100910

Arri stock footage info: http://www.arri.com/?eID=registration&file_uid=9271

---Report---

ffmpeg started on 2013-04-26 at 23:33:20
Report written to "ffmpeg-20130426-233320.log"
Command line:
ffmpeg -report -i "D:
StockFootage
Alexa
A001C006_120923_R33F.mov" -acodec pcm_s24le -vcodec prores_ks -profile:v hq -pix_fmt yuv444p10le "E:
ArriTest
1080p.A001C006.mov"
ffmpeg version N-52458-gaa96439 Copyright (c) 2000-2013 the FFmpeg developers

built on Apr 24 2013 22:26:37 with gcc 4.8.0 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxvid --enable-zlib
libavutil 52. 27.101 / 52. 27.101
libavcodec 55. 6.100 / 55. 6.100
libavformat 55. 3.100 / 55. 3.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 60.101 / 3. 60.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

Splitting the commandline.
Reading option '-report' ... matched as option 'report' (generate a report) with argument '1'.
Reading option '-i' ... matched as input file with argument 'D:\StockFootage\Alexa\A001C006_120923_R33F.mov'.
Reading option '-acodec' ... matched as option 'acodec' (force audio codec ('copy' to copy stream)) with argument 'pcm_s24le'.
Reading option '-vcodec' ... matched as option 'vcodec' (force video codec ('copy' to copy stream)) with argument 'prores_ks'.
Reading option '-profile:v' ... matched as option 'profile' (set profile) with argument 'hq'.
Reading option '-pix_fmt' ... matched as option 'pix_fmt' (set pixel format) with argument 'yuv444p10le'.
Reading option 'E:\ArriTest\1080p.A001C006.mov' ... matched as output file.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option report (generate a report) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input file D:\StockFootage\Alexa\A001C006_120923_R33F.mov.
Successfully parsed a group of options.
Opening an input file: D:\StockFootage\Alexa\A001C006_120923_R33F.mov.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006ded00] Format mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006ded00] ISO: File Type Major Brand: qt
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006ded00] File position before avformat_find_stream_info() is 709562446
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006ded00] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000000006ded00] File position after avformat_find_stream_info() is 10233856
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:\StockFootage\Alexa\A001C006_120923_R33F.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt ARRI
creation_time : 2012-09-23 08:09:29
timecode : 10:09:30:01

Duration: 00:00:19.77, start: 0.000000, bitrate: 287130 kb/s

Stream #0:0(eng), 1, 1/23976: Video: prores (ap4h / 0x68347061), yuv444p10le, 1920x1080, 276456 kb/s, SAR 1:1 DAR 16:9, 23.98 fps, 23.98 tbr, 23976 tbn, 23976 tbc
Metadata:

creation_time : 2012-09-23 08:09:29
handler_name : Apple Alias Data Handler

Stream #0:1(eng), 48, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
Metadata:

creation_time : 2012-09-23 08:09:29
handler_name : Apple Alias Data Handler

Stream #0:2(eng), 1, 1/23976: Data: none (tmcd / 0x64636D74), 0 kb/s
Metadata:

creation_time : 2012-09-23 08:09:29
handler_name : Apple Alias Data Handler
timecode : 10:09:30:01

Successfully opened the file.
Parsing a group of options: output file E:\ArriTest\1080p.A001C006.mov.
Applying option acodec (force audio codec ('copy' to copy stream)) with argument pcm_s24le.
Applying option vcodec (force video codec ('copy' to copy stream)) with argument prores_ks.
Applying option profile:v (set profile) with argument hq.
Applying option pix_fmt (set pixel format) with argument yuv444p10le.
Successfully parsed a group of options.
Opening an output file: E:\ArriTest\1080p.A001C006.mov.
Successfully opened the file.
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'video_size' to value '1920x1080'
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'pix_fmt' to value '78'
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'time_base' to value '1/23976'
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'pixel_aspect' to value '1/1'
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'sws_param' to value 'flags=2'
[graph 0 input from stream 0:0 @ 0000000002560e40] Setting 'frame_rate' to value '2997/125'
[graph 0 input from stream 0:0 @ 0000000002560e40] w:1920 h:1080 pixfmt:yuv444p10le tb:1/23976 fr:2997/125 sar:1/1 sws_param:flags=2
[format @ 0000000000759e00] compat: called with args=[yuv444p10le]
[format @ 0000000000759e00] Setting 'pix_fmts' to value 'yuv444p10le'
[AVFilterGraph @ 00000000007ec1e0] query_formats: 4 queried, 3 merged, 0 already done, 0 delayed
[graph 1 input from stream 0:1 @ 00000000007eb5a0] Setting 'time_base' to value '1/48000'
[graph 1 input from stream 0:1 @ 00000000007eb5a0] Setting 'sample_rate' to value '48000'
[graph 1 input from stream 0:1 @ 00000000007eb5a0] Setting 'sample_fmt' to value 's32'
[graph 1 input from stream 0:1 @ 00000000007eb5a0] Setting 'channel_layout' to value '0x3'
[graph 1 input from stream 0:1 @ 00000000007eb5a0] tb:1/48000 samplefmt:s32 samplerate:48000 chlayout:0x3
[audio format for output stream 0:1 @ 00000000007eb980] Setting 'sample_fmts' to value 's32'
[AVFilterGraph @ 00000000006dcc60] query_formats: 4 queried, 9 merged, 0 already done, 0 delayed
[prores_ks @ 00000000006ea900] detected 8 logical cores
[prores_ks @ 00000000006ea900] profile 3, 1020 slices, interlacing: no, 950 bits per MB
[prores_ks @ 00000000006ea900] frame size upper bound: 977360
[prores @ 00000000006d97e0] detected 8 logical cores
Output #0, mov, to 'E:\ArriTest\1080p.A001C006.mov':

Metadata:

major_brand : qt
minor_version : 537199360
compatible_brands: qt ARRI
timecode : 10:09:30:01
encoder : Lavf55.3.100
Stream #0:0(eng), 0, 1/11988: Video: prores (apch / 0x68637061), yuv444p10le, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 11988 tbn, 23.98 tbc
Metadata:

creation_time : 2012-09-23 08:09:29
handler_name : Apple Alias Data Handler

Stream #0:1(eng), 0, 1/48000: Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32, 2304 kb/s
Metadata:

creation_time : 2012-09-23 08:09:29
handler_name : Apple Alias Data Handler

Stream mapping:

Stream #0:0 -> #0:0 (prores -> prores_ks)
Stream #0:1 -> #0:1 (pcm_s24le -> pcm_s24le)

Press [q] to stop, ? for help
frame= 3 fps=0.0 q=0.0 size= 2854kB time=00:00:01.10 bitrate=21109.1kbits/s
frame= 6 fps=4.7 q=0.0 size= 5723kB time=00:00:01.23 bitrate=37939.1kbits/s
frame= 9 fps=5.0 q=0.0 size= 8594kB time=00:00:01.36 bitrate=51630.0kbits/s
frame= 12 fps=5.1 q=0.0 size= 11418kB time=00:00:01.49 bitrate=62707.4kbits/s
frame= 15 fps=5.2 q=0.0 size= 14277kB time=00:00:01.60 bitrate=72729.0kbits/s
frame= 18 fps=5.3 q=0.0 size= 17115kB time=00:00:01.73 bitrate=80755.0kbits/s
frame= 22 fps=5.5 q=0.0 size= 20925kB time=00:00:01.90 bitrate=89897.0kbits/s
frame= 26 fps=5.7 q=0.0 size= 24722kB time=00:00:02.06 bitrate=98028.4kbits/s
frame= 30 fps=5.7 q=0.0 size= 28519kB time=00:00:02.23 bitrate=104455.0kbits/s
frame= 33 fps=5.7 q=0.0 size= 31370kB time=00:00:02.36 bitrate=108676.1kbits/s
frame= 36 fps=5.7 q=0.0 size= 34232kB time=00:00:02.49 bitrate=112500.9kbits/s
frame= 40 fps=5.8 q=0.0 size= 38061kB time=00:00:02.65 bitrate=117577.8kbits/s
frame= 44 fps=5.8 q=0.0 size= 41896kB time=00:00:02.82 bitrate=121599.6kbits/s
frame= 48 fps=5.8 q=0.0 size= 45727kB time=00:00:02.99 bitrate=125150.5kbits/s
frame= 52 fps=5.9 q=0.0 size= 49554kB time=00:00:03.15 bitrate=128776.3kbits/s
frame= 55 fps=5.9 q=0.0 size= 52429kB time=00:00:03.28 bitrate=130932.3kbits/s
frame= 58 fps=5.9 q=0.0 size= 55304kB time=00:00:03.40 bitrate=132924.9kbits/s
frame= 62 fps=5.9 q=0.0 size= 59136kB time=00:00:03.56 bitrate=135793.6kbits/s
frame= 65 fps=5.9 q=0.0 size= 62014kB time=00:00:03.69 bitrate=137468.9kbits/s
frame= 69 fps=5.9 q=0.0 size= 65847kB time=00:00:03.86 bitrate=139522.8kbits/s
frame= 73 fps=5.9 q=0.0 size= 69688kB time=00:00:04.02 bitrate=141823.6kbits/s
frame= 77 fps=5.9 q=0.0 size= 73506kB time=00:00:04.19 bitrate=143508.5kbits/s
frame= 80 fps=5.9 q=0.0 size= 76377kB time=00:00:04.32 bitrate=144699.2kbits/s
frame= 84 fps=6.0 q=0.0 size= 80212kB time=00:00:04.49 bitrate=146194.8kbits/s
frame= 87 fps=6.0 q=0.0 size= 83086kB time=00:00:04.61 bitrate=147607.0kbits/s
frame= 91 fps=6.0 q=0.0 size= 86924kB time=00:00:04.78 bitrate=148913.3kbits/s
frame= 94 fps=6.0 q=0.0 size= 89804kB time=00:00:04.90 bitrate=149837.2kbits/s
frame= 97 fps=6.0 q=0.0 size= 92686kB time=00:00:05.02 bitrate=151060.6kbits/s
frame= 101 fps=6.0 q=0.0 size= 96514kB time=00:00:05.19 bitrate=152135.1kbits/s
frame= 104 fps=6.0 q=0.0 size= 99392kB time=00:00:05.32 bitrate=152905.0kbits/s
frame= 107 fps=6.0 q=0.0 size= 102270kB time=00:00:05.45 bitrate=153639.0kbits/s
frame= 110 fps=6.0 q=0.0 size= 105146kB time=00:00:05.56 bitrate=154656.3kbits/s
frame= 114 fps=6.0 q=0.0 size= 108989kB time=00:00:05.74 bitrate=155541.7kbits/s
frame= 118 fps=6.0 q=0.0 size= 112829kB time=00:00:05.91 bitrate=156372.6kbits/s
frame= 122 fps=6.0 q=0.0 size= 116656kB time=00:00:06.07 bitrate=157437.2kbits/s
frame= 126 fps=6.0 q=0.0 size= 120489kB time=00:00:06.24 bitrate=158162.9kbits/s
frame= 129 fps=6.0 q=0.0 size= 123365kB time=00:00:06.36 bitrate=158683.8kbits/s
frame= 132 fps=6.0 q=0.0 size= 126244kB time=00:00:06.49 bitrate=159188.5kbits/s
frame= 136 fps=6.0 q=0.0 size= 130080kB time=00:00:06.65 bitrate=160103.0kbits/s
frame= 139 fps=6.0 q=0.0 size= 132958kB time=00:00:06.78 bitrate=160557.6kbits/s
frame= 143 fps=6.0 q=0.0 size= 136793kB time=00:00:06.95 bitrate=161134.0kbits/s
frame= 147 fps=6.0 q=0.0 size= 140624kB time=00:00:07.11 bitrate=161941.2kbits/s
frame= 151 fps=6.0 q=0.0 size= 144461kB time=00:00:07.28 bitrate=162462.1kbits/s
frame= 154 fps=6.0 q=0.0 size= 147343kB time=00:00:07.41 bitrate=162841.4kbits/s
frame= 158 fps=6.0 q=0.0 size= 151182kB time=00:00:07.57 bitrate=163571.3kbits/s
frame= 162 fps=6.0 q=0.0 size= 155022kB time=00:00:07.74 bitrate=164028.6kbits/s
frame= 166 fps=6.0 q=0.0 size= 158854kB time=00:00:07.91 bitrate=164457.9kbits/s
frame= 169 fps=6.0 q=0.0 size= 161731kB time=00:00:08.02 bitrate=165007.6kbits/s
frame= 172 fps=6.0 q=0.0 size= 164605kB time=00:00:08.15 bitrate=165304.5kbits/s
frame= 175 fps=6.0 q=0.0 size= 167471kB time=00:00:08.28 bitrate=165584.6kbits/s
frame= 178 fps=6.0 q=0.0 size= 170330kB time=00:00:08.41 bitrate=165849.2kbits/s
frame= 181 fps=6.0 q=0.0 size= 173194kB time=00:00:08.52 bitrate=166334.9kbits/s
frame= 184 fps=6.0 q=0.0 size= 176046kB time=00:00:08.65 bitrate=166574.0kbits/s
frame= 187 fps=6.0 q=0.0 size= 178903kB time=00:00:08.78 bitrate=166810.9kbits/s
frame= 190 fps=5.9 q=0.0 size= 181763kB time=00:00:08.91 bitrate=167044.3kbits/s
frame= 193 fps=5.9 q=0.0 size= 184624kB time=00:00:09.03 bitrate=167484.6kbits/s
frame= 196 fps=5.9 q=0.0 size= 187478kB time=00:00:09.15 bitrate=167696.4kbits/s
frame= 199 fps=5.9 q=0.0 size= 190336kB time=00:00:09.28 bitrate=167906.1kbits/s
frame= 202 fps=5.9 q=0.0 size= 193199kB time=00:00:09.41 bitrate=168114.3kbits/s
frame= 205 fps=5.9 q=0.0 size= 196063kB time=00:00:09.53 bitrate=168521.4kbits/s
frame= 208 fps=5.9 q=0.0 size= 198922kB time=00:00:09.65 bitrate=168712.7kbits/s
frame= 211 fps=5.9 q=0.0 size= 201784kB time=00:00:09.78 bitrate=168902.2kbits/s
frame= 214 fps=5.9 q=0.0 size= 204647kB time=00:00:09.91 bitrate=169086.7kbits/s
frame= 217 fps=5.9 q=0.0 size= 207510kB time=00:00:10.03 bitrate=169461.5kbits/s
frame= 220 fps=5.9 q=0.0 size= 210366kB time=00:00:10.15 bitrate=169628.8kbits/s
frame= 223 fps=5.9 q=0.0 size= 213228kB time=00:00:10.28 bitrate=169797.7kbits/s
frame= 226 fps=5.9 q=0.0 size= 216085kB time=00:00:10.41 bitrate=169957.8kbits/s
frame= 229 fps=5.9 q=0.0 size= 218947kB time=00:00:10.53 bitrate=170303.9kbits/s
frame= 232 fps=5.9 q=0.0 size= 221790kB time=00:00:10.65 bitrate=170443.7kbits/s
frame= 235 fps=5.9 q=0.0 size= 224643kB time=00:00:10.78 bitrate=170588.0kbits/s
frame= 238 fps=5.8 q=0.0 size= 227496kB time=00:00:10.91 bitrate=170729.0kbits/s
frame= 241 fps=5.8 q=0.0 size= 230348kB time=00:00:11.03 bitrate=171043.8kbits/s
frame= 244 fps=5.8 q=0.0 size= 233196kB time=00:00:11.16 bitrate=171172.4kbits/s
frame= 247 fps=5.8 q=0.0 size= 236050kB time=00:00:11.28 bitrate=171302.4kbits/s
frame= 250 fps=5.8 q=0.0 size= 238901kB time=00:00:11.41 bitrate=171428.1kbits/s
frame= 253 fps=5.8 q=0.0 size= 241751kB time=00:00:11.53 bitrate=171720.2kbits/s
frame= 256 fps=5.8 q=0.0 size= 244588kB time=00:00:11.66 bitrate=171828.4kbits/s
frame= 259 fps=5.8 q=0.0 size= 247436kB time=00:00:11.78 bitrate=171942.1kbits/s
frame= 262 fps=5.8 q=0.0 size= 250277kB time=00:00:11.91 bitrate=172048.1kbits/s
frame= 265 fps=5.8 q=0.0 size= 253116kB time=00:00:12.03 bitrate=172314.9kbits/s
frame= 268 fps=5.8 q=0.0 size= 255946kB time=00:00:12.16 bitrate=172408.1kbits/s
frame= 271 fps=5.8 q=0.0 size= 258784kB time=00:00:12.28 bitrate=172503.8kbits/s
frame= 274 fps=5.8 q=0.0 size= 261602kB time=00:00:12.41 bitrate=172584.9kbits/s
frame= 277 fps=5.8 q=0.0 size= 264417kB time=00:00:12.53 bitrate=172820.6kbits/s
frame= 280 fps=5.8 q=0.0 size= 267225kB time=00:00:12.66 bitrate=172890.2kbits/s
frame= 283 fps=5.8 q=0.0 size= 270029kB time=00:00:12.78 bitrate=172955.7kbits/s
frame= 286 fps=5.8 q=0.0 size= 272848kB time=00:00:12.91 bitrate=173029.8kbits/s
frame= 289 fps=5.8 q=0.0 size= 275677kB time=00:00:13.03 bitrate=173261.5kbits/s
frame= 292 fps=5.8 q=0.0 size= 278488kB time=00:00:13.16 bitrate=173326.0kbits/s
frame= 295 fps=5.8 q=0.0 size= 281297kB time=00:00:13.29 bitrate=173388.1kbits/s
frame= 298 fps=5.8 q=0.0 size= 284103kB time=00:00:13.41 bitrate=173447.2kbits/s
frame= 301 fps=5.7 q=0.0 size= 286906kB time=00:00:13.53 bitrate=173650.8kbits/s
frame= 304 fps=5.7 q=0.0 size= 289694kB time=00:00:13.66 bitrate=173695.8kbits/s
frame= 307 fps=5.7 q=0.0 size= 292490kB time=00:00:13.79 bitrate=173744.1kbits/s
frame= 311 fps=5.7 q=0.0 size= 296247kB time=00:00:13.96 bitrate=173824.8kbits/s
frame= 314 fps=5.7 q=0.0 size= 299073kB time=00:00:14.07 bitrate=174031.1kbits/s
frame= 317 fps=5.7 q=0.0 size= 301900kB time=00:00:14.20 bitrate=174092.7kbits/s
frame= 320 fps=5.7 q=0.0 size= 304721kB time=00:00:14.33 bitrate=174150.8kbits/s
frame= 323 fps=5.7 q=0.0 size= 307543kB time=00:00:14.46 bitrate=174207.7kbits/s
frame= 326 fps=5.7 q=0.0 size= 310360kB time=00:00:14.57 bitrate=174398.4kbits/s
frame= 329 fps=5.7 q=0.0 size= 313176kB time=00:00:14.70 bitrate=174449.1kbits/s
frame= 332 fps=5.7 q=0.0 size= 315992kB time=00:00:14.83 bitrate=174498.8kbits/s
frame= 335 fps=5.7 q=0.0 size= 318809kB time=00:00:14.96 bitrate=174548.5kbits/s
frame= 338 fps=5.7 q=0.0 size= 321621kB time=00:00:15.07 bitrate=174727.8kbits/s
frame= 341 fps=5.7 q=0.0 size= 324437kB time=00:00:15.20 bitrate=174773.8kbits/s
frame= 344 fps=5.7 q=0.0 size= 327252kB time=00:00:15.33 bitrate=174819.0kbits/s
frame= 347 fps=5.7 q=0.0 size= 330069kB time=00:00:15.46 bitrate=174864.5kbits/s
frame= 350 fps=5.7 q=0.0 size= 332883kB time=00:00:15.57 bitrate=175036.0kbits/s
frame= 353 fps=5.7 q=0.0 size= 335701kB time=00:00:15.70 bitrate=175079.5kbits/s
frame= 356 fps=5.7 q=0.0 size= 338520kB time=00:00:15.83 bitrate=175122.6kbits/s
frame= 359 fps=5.7 q=0.0 size= 341342kB time=00:00:15.96 bitrate=175166.5kbits/s
frame= 362 fps=5.7 q=0.0 size= 344161kB time=00:00:16.08 bitrate=175334.0kbits/s
frame= 365 fps=5.7 q=0.0 size= 346981kB time=00:00:16.20 bitrate=175374.5kbits/s
frame= 368 fps=5.7 q=0.0 size= 349799kB time=00:00:16.33 bitrate=175413.4kbits/s
frame= 371 fps=5.7 q=0.0 size= 352620kB time=00:00:16.46 bitrate=175453.1kbits/s
frame= 375 fps=5.7 q=0.0 size= 356379kB time=00:00:16.62 bitrate=175625.8kbits/s
frame= 378 fps=5.7 q=0.0 size= 359199kB time=00:00:16.75 bitrate=175662.9kbits/s
frame= 381 fps=5.7 q=0.0 size= 362021kB time=00:00:16.87 bitrate=175700.4kbits/s
frame= 384 fps=5.7 q=0.0 size= 364848kB time=00:00:17.00 bitrate=175739.7kbits/s
frame= 387 fps=5.7 q=0.0 size= 367673kB time=00:00:17.12 bitrate=175895.5kbits/s
frame= 390 fps=5.7 q=0.0 size= 370498kB time=00:00:17.25 bitrate=175931.8kbits/s
frame= 393 fps=5.7 q=0.0 size= 373324kB time=00:00:17.37 bitrate=175968.1kbits/s
frame= 397 fps=5.7 q=0.0 size= 377095kB time=00:00:17.53 bitrate=176132.8kbits/s
frame= 400 fps=5.7 q=0.0 size= 379914kB time=00:00:17.66 bitrate=176163.5kbits/s
frame= 403 fps=5.7 q=0.0 size= 382738kB time=00:00:17.79 bitrate=176196.6kbits/s
frame= 406 fps=5.7 q=0.0 size= 385563kB time=00:00:17.92 bitrate=176229.7kbits/s
frame= 409 fps=5.7 q=0.0 size= 388390kB time=00:00:18.03 bitrate=176375.2kbits/s
frame= 412 fps=5.7 q=0.0 size= 391206kB time=00:00:18.16 bitrate=176402.3kbits/s
frame= 415 fps=5.7 q=0.0 size= 394031kB time=00:00:18.29 bitrate=176432.9kbits/s
frame= 418 fps=5.7 q=0.0 size= 396855kB time=00:00:18.42 bitrate=176463.2kbits/s
frame= 421 fps=5.7 q=0.0 size= 399680kB time=00:00:18.53 bitrate=176602.5kbits/s
frame= 424 fps=5.7 q=0.0 size= 402490kB time=00:00:18.66 bitrate=176624.8kbits/s
frame= 427 fps=5.7 q=0.0 size= 405308kB time=00:00:18.81 bitrate=176449.6kbits/s
frame= 430 fps=5.7 q=0.0 size= 408127kB time=00:00:18.92 bitrate=176675.4kbits/s
frame= 433 fps=5.7 q=0.0 size= 410945kB time=00:00:19.04 bitrate=176806.8kbits/s
frame= 436 fps=5.7 q=0.0 size= 413757kB time=00:00:19.16 bitrate=176827.9kbits/s
frame= 439 fps=5.7 q=0.0 size= 416576kB time=00:00:19.31 bitrate=176656.4kbits/s
frame= 442 fps=5.7 q=0.0 size= 419394kB time=00:00:19.42 bitrate=176875.0kbits/s
frame= 445 fps=5.7 q=0.0 size= 422216kB time=00:00:19.54 bitrate=177003.2kbits/s
frame= 448 fps=5.7 q=0.0 size= 425029kB time=00:00:19.66 bitrate=177023.1kbits/s
frame= 451 fps=5.7 q=0.0 size= 427849kB time=00:00:19.79 bitrate=177045.6kbits/s
frame= 455 fps=5.7 q=0.0 size= 431611kB time=00:00:19.85 bitrate=178095.2kbits/s
frame= 458 fps=5.7 q=0.0 size= 434426kB time=00:00:19.85 bitrate=179257.0kbits/s
frame= 462 fps=5.8 q=0.0 size= 438197kB time=00:00:19.85 bitrate=180812.9kbits/s
frame= 466 fps=5.8 q=0.0 size= 441979kB time=00:00:19.85 bitrate=182373.4kbits/s
frame= 470 fps=5.8 q=0.0 size= 445751kB time=00:00:19.85 bitrate=183930.1kbits/s
frame= 474 fps=5.8 q=0.0 size= 449548kB time=00:00:19.85 bitrate=185496.8kbits/s
EOF on sink link output stream 0:0:default.
[output stream 0:1 @ 00000000007eb820] EOF on sink link output stream 0:1:default.
No more output streams to write to, finishing.
frame= 474 fps=5.7 q=0.0 Lsize= 449591kB time=00:00:19.85 bitrate=185514.4kbits/s

video:443998kB audio:5584kB subtitle:0 global headers:0kB muxing overhead 0.001954%
1426 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000000006eb180] Statistics: 92 seeks, 15146 writeouts
[AVIOContext @ 00000000007ec320] Statistics: 698435686 bytes read, 913 seeks

I also noticed that some of the framerates are doubled (which I was not able to fix via
command line options). Premiere reports the reference clip as 23.976 and the new clips
as 23.98. Not sure if that really means anything or not.

reference/source:

[STREAM]
index=0
codec_name=prores
codec_long_name=ProRes
profile=unknown
codec_type=video
codec_time_base=1/23976 <-------------
codec_tag_string=ap4h
codec_tag=0x68347061
width=1920
height=1080
has_b_frames=0
sample_aspect_ratio=1:1
display_aspect_ratio=16:9
pix_fmt=yuv444p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=2997/125
avg_frame_rate=2997/125
time_base=1/23976 <--------------
start_pts=0
start_time=0.000000
duration_ts=474000
duration=19.769770
bit_rate=276456078
nb_frames=474 <----Note # of frames is correct---
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:creation_time=2012-09-23 08:09:29
TAG:language=eng
TAG:handler_name=Apple Alias Data Handler
STREAM

Result:

[STREAM]
index=0
codec_name=prores
codec_long_name=ProRes
profile=unknown
codec_type=video
codec_time_base=1/11988 <---- Doubled -----
codec_tag_string=apcs
codec_tag=0x73637061
width=1280
height=720
has_b_frames=0
sample_aspect_ratio=0:1
display_aspect_ratio=0:1
pix_fmt=yuv422p10le
level=-99
timecode=N/A
id=N/A
r_frame_rate=2997/125
avg_frame_rate=2997/125
time_base=1/11988 <---- Doubled -----
start_pts=0
start_time=0.000000
duration_ts=237000
duration=19.769770
bit_rate=42651358
nb_frames=474 <----Note # of frames is correct---
nb_read_frames=N/A
nb_read_packets=N/A
DISPOSITION:default=0
DISPOSITION:dub=0
DISPOSITION:original=0
DISPOSITION:comment=0
DISPOSITION:lyrics=0
DISPOSITION:karaoke=0
DISPOSITION:forced=0
DISPOSITION:hearing_impaired=0
DISPOSITION:visual_impaired=0
DISPOSITION:clean_effects=0
DISPOSITION:attached_pic=0
TAG:language=eng
TAG:handler_name=DataHandler
TAG:timecode=10:09:30:01
STREAM

Version:
This is a FFmpeg Win64 shared build by Kyle Schwarz.

Zeranoe's FFmpeg Builds Home Page:

This build was compiled on: Apr 24 2013, at: 22:26:37

FFmpeg version: 2013-04-24 git-aa96439

libavutil 52. 27.101 / 52. 27.101
libavcodec 55. 6.100 / 55. 6.100
libavformat 55. 3.100 / 55. 3.100
libavdevice 55. 0.100 / 55. 0.100
libavfilter 3. 60.101 / 3. 60.101
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100

This FFmpeg build was configured with:

--disable-static
--enable-shared
--enable-gpl
--enable-version3
--disable-w32threads
--enable-avisynth
--enable-bzlib
--enable-fontconfig
--enable-frei0r
--enable-gnutls
--enable-iconv
--enable-libass
--enable-libbluray
--enable-libcaca
--enable-libfreetype
--enable-libgsm
--enable-libilbc
--enable-libmp3lame
--enable-libopencore-amrnb
--enable-libopencore-amrwb
--enable-libopenjpeg
--enable-libopus
--enable-librtmp
--enable-libschroedinger
--enable-libsoxr
--enable-libspeex
--enable-libtheora
--enable-libtwolame
--enable-libvo-aacenc
--enable-libvo-amrwbenc
--enable-libvorbis
--enable-libvpx
--enable-libx264
--enable-libxavs
--enable-libxvid
--enable-zlib

Change History (3)

comment:1 by Carl Eugen Hoyos, 11 years ago

Keywords: mov added; ProRes removed

(Is there a reason why you post the version information and the configure line twice?)

Am I correct that the exact same problem is reproducible with the mpeg4 encoder?

Is the only problem you see that the FFmpeg muxer does not support variable frame rate? If yes, I will close this ticket because it is far too complicated to describe a simple issue.
Or is there another problem? For example that audio and video are not in sync in your output file?

If there is a problem apart from missing vfr support in the mov muxer: Is this problem only reproducible with a 677MB sample or is there a smaller sample available that shows the issue?

comment:2 by Bob, 11 years ago

I posted the Zeranoe information because I'm in the PC world and it seemed to have a little more info. My apologies if it is not needed, I'm a bit new to this and thought the more info the better.

I just checked and it is repeatable with the mpeg4 encoder, so it would seem to be a muxer problem.

These are not variable frame rate files. And yes, due to the extra 1st frame the audio is out of sync with the video by 1 frame. In Premiere I have to slide the video 1 frame backwards in relation to the audio to get it to line up (caused by the duped 1st frame).

All the files on Arri's site show the issue, but the smallest on does not have sound. A001C008_120923_R33F.mov is a bit smaller at 370MB. I was also able to make a tiff sequence and get the same duped first frame, but the relationship to the audio is then lost.

Bob

comment:3 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavformat
Keywords: edts added
Resolution: fixed
Status: newclosed
Version: unspecifiedgit-master

I was never able to reproduce the issue with the duplicated first frame, the sound issue was fixed by Sasi Inguva in ca6cae73db207f17a0d5507609de12842d8f0ca3

Note: See TracTickets for help on using tickets.