[Libav-user] prores variable frame rate last frame bug?

Al Crate al at dneg.com
Tue Sep 18 14:35:39 CEST 2012


It was created using the API, so there is no console output.

This is the full output of ffprobe though.

ffprobe version 0.7-rc7
Copyright (c) 2007-2012 Baptiste Coudurier and the FFmpeg developers
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test6.mov':
   Metadata:
     major_brand: qt
     minor_version: 0
     compatible_brands: qt
     creation_time: 2012-09-17 12:08:32
     encoder: FFmbc 0.7
     comment:
source frame range:1-24
     copyright: Double Negative
   Duration: 00:00:00.96, start: 0.000000, bitrate: 26110 kb/s
     Stream #0.0(eng): Video: prores, yuv422p10le, 640x480p, 26101 kb/s, 
24.00 fps
     Metadata:
       codec_name: prores
[PACKET]
codec_type=video
stream_index=0
pts=0
pts_time=0.000000
dts=0
dts_time=0.000000
duration=25
duration_time=0.041667
size=127567.000000
pos=1021
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=25
pts_time=0.041667
dts=25
dts_time=0.041667
duration=25
duration_time=0.041667
size=129927.000000
pos=128588
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=50
pts_time=0.083333
dts=50
dts_time=0.083333
duration=25
duration_time=0.041667
size=130269.000000
pos=258515
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=75
pts_time=0.125000
dts=75
dts_time=0.125000
duration=25
duration_time=0.041667
size=129853.000000
pos=388784
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=100
pts_time=0.166667
dts=100
dts_time=0.166667
duration=25
duration_time=0.041667
size=130131.000000
pos=518637
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=125
pts_time=0.208333
dts=125
dts_time=0.208333
duration=25
duration_time=0.041667
size=130074.000000
pos=648768
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=150
pts_time=0.250000
dts=150
dts_time=0.250000
duration=25
duration_time=0.041667
size=129748.000000
pos=778842
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=175
pts_time=0.291667
dts=175
dts_time=0.291667
duration=25
duration_time=0.041667
size=130146.000000
pos=908590
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=200
pts_time=0.333333
dts=200
dts_time=0.333333
duration=25
duration_time=0.041667
size=130311.000000
pos=1038736
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=225
pts_time=0.375000
dts=225
dts_time=0.375000
duration=25
duration_time=0.041667
size=130783.000000
pos=1169047
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=250
pts_time=0.416667
dts=250
dts_time=0.416667
duration=25
duration_time=0.041667
size=129874.000000
pos=1299830
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=275
pts_time=0.458333
dts=275
dts_time=0.458333
duration=25
duration_time=0.041667
size=130686.000000
pos=1429704
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=300
pts_time=0.500000
dts=300
dts_time=0.500000
duration=25
duration_time=0.041667
size=131212.000000
pos=1560390
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=325
pts_time=0.541667
dts=325
dts_time=0.541667
duration=25
duration_time=0.041667
size=130641.000000
pos=1691602
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=350
pts_time=0.583333
dts=350
dts_time=0.583333
duration=25
duration_time=0.041667
size=130633.000000
pos=1822243
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=375
pts_time=0.625000
dts=375
dts_time=0.625000
duration=25
duration_time=0.041667
size=130884.000000
pos=1952876
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=400
pts_time=0.666667
dts=400
dts_time=0.666667
duration=25
duration_time=0.041667
size=130722.000000
pos=2083760
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=425
pts_time=0.708333
dts=425
dts_time=0.708333
duration=25
duration_time=0.041667
size=130852.000000
pos=2214482
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=450
pts_time=0.750000
dts=450
dts_time=0.750000
duration=25
duration_time=0.041667
size=130864.000000
pos=2345334
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=475
pts_time=0.791667
dts=475
dts_time=0.791667
duration=25
duration_time=0.041667
size=131561.000000
pos=2476198
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=500
pts_time=0.833333
dts=500
dts_time=0.833333
duration=25
duration_time=0.041667
size=131025.000000
pos=2607759
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=525
pts_time=0.875000
dts=525
dts_time=0.875000
duration=25
duration_time=0.041667
size=131434.000000
pos=2738784
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=550
pts_time=0.916667
dts=550
dts_time=0.916667
duration=25
duration_time=0.041667
size=131592.000000
pos=2870218
flags=K
[/PACKET]
[PACKET]
codec_type=video
stream_index=0
pts=575
pts_time=0.958333
dts=575
dts_time=0.958333
duration=1
duration_time=0.001667
size=131401.000000
pos=3001810
flags=K
[/PACKET]
[STREAM]
index=0
codec_name=prores
codec_long_name=ProRes
codec_type=video
codec_time_base=0/1
codec_tag_string=apch
codec_tag=0x68637061
width=640
height=480
has_b_frames=0
pix_fmt=yuv422p10le
level=-99
progressive
r_frame_rate=24/1
avg_frame_rate=25/1
time_base=1/600
start_time=0.000000
duration=0.960000
nb_frames=24
TAG:language=eng
TAG:codec_name=prores
[/STREAM]
[FORMAT]
filename=test6.mov
nb_streams=1
format_name=mov,mp4,m4a,3gp,3g2,mj2
format_long_name=QuickTime/MPEG-4/Motion JPEG 2000 format
start_time=0.000000
duration=0.960000
size=3133211.000000
bit_rate=26110091.000000
TAG:major_brand=qt
TAG:minor_version=0
TAG:compatible_brands=qt
TAG:creation_time=2012-09-17 12:08:32
TAG:encoder=FFmbc 0.7
TAG:comment=
source frame range:1-24
TAG:copyright=Double Negative
[/FORMAT]


On 18/09/12 13:25, Carl Eugen Hoyos wrote:
> Al Crate <al at ...> writes:
>
>> I'm getting some odd behaviour when writing out
>> prores movies (in quicktime container).
>>
>> It looks like the last frame in the movie has an
>> invalid duration ("1" should be "25").
>
> Please add the command line you are using to encode
> together with complete, uncut console output.
>
> Carl EUgen
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
>


More information about the Libav-user mailing list