[FFmpeg-trac] #9654(avfilter:new): When using setts bsf, it does not smooth when playing with edge and chrome
FFmpeg
trac at avcodec.org
Fri Feb 18 13:45:01 EET 2022
#9654: When using setts bsf, it does not smooth when playing with edge and chrome
----------------------------------+--------------------------------------
Reporter: nicol | Type: defect
Status: new | Priority: normal
Component: avfilter | Version: git-master
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
----------------------------------+--------------------------------------
Summary of the bug:
How to reproduce:Adjusting pts with setts bsf causes playback not smooth
in some browsers. No problem with ffplay, VLC, firefox.
Windows 10 Pro
Firefox:97.0.1 64bit
Chrome:98.0.4758.102(Official Build) (64bit)
Microsoft Edge:98.0.1108.56 (Official Build) (64bit)
VLC:3.0.16 64bit
Create sample video,
ffmpeg -f lavfi -i testsrc2=d=2:r=24000/1001 foo.mp4
then use bsf filter.
{{{
% ffmpeg -v 9 -loglevel 99 -i foo.mp4 -bsf:v setts=ts=TS/2 -c copy bar.mp4
-y
ffmpeg version N-105660-g2812508086-20220217 Copyright (c) 2000-2022 the
FFmpeg developers
built with gcc 11.2.0 (crosstool-NG 1.24.0.533_681aaef)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static
--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64
--target-os=mingw32 --enable-gpl --enable-version3 --disable-debug
--disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2
--enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp
--enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl
--disable-libpulse --enable-libvmaf --disable-libxcb --disable-xlib
--enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-
libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm
--enable-frei0r --enable-libgme --enable-libass --enable-libbluray
--enable-libmp3lame --enable-libopus --enable-librist --enable-libtheora
--enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264
--enable-libopenjpeg --enable-libopenmpt --enable-librav1e --enable-
librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-
libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d
--disable-libdrm --disable-vaapi --enable-libvidstab --enable-vulkan
--enable-libshaderc --enable-libplacebo --enable-libx264 --enable-libx265
--enable-libxavs2 --enable-libxvid --enable-libzimg --enable-libzvbi
--extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-
ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp --extra-
version=20220217
libavutil 57. 21.100 / 57. 21.100
libavcodec 59. 21.100 / 59. 21.100
libavformat 59. 17.102 / 59. 17.102
libavdevice 59. 5.100 / 59. 5.100
libavfilter 8. 27.100 / 8. 27.100
libswscale 6. 5.100 / 6. 5.100
libswresample 4. 4.100 / 4. 4.100
libpostproc 56. 4.100 / 56. 4.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-i' ... matched as input url with argument 'foo.mp4'.
Reading option '-bsf:v' ... matched as option 'bsf' (A comma-separated
list of bitstream filters) with argument 'setts=ts=TS/2'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option 'bar.mp4' ... matched as output url.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument 9.
Applying option y (overwrite output files) with argument 1.
Successfully parsed a group of options.
Parsing a group of options: input url foo.mp4.
Successfully parsed a group of options.
Opening an input file: foo.mp4.
[NULL @ 00000288526f28c0] Opening 'foo.mp4' for reading
[file @ 00000288526f2ec0] Setting default whitelist 'file,crypto,data'
Probing mov,mp4,m4a,3gp,3g2,mj2 score:100 size:2048
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Format
mov,mp4,m4a,3gp,3g2,mj2 probed with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'ftyp' parent:'root' sz:
32 8 70554
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] ISO: File Type Major Brand:
isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'free' parent:'root' sz:
8 40 70554
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'mdat' parent:'root' sz:
69121 48 70554
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'moov' parent:'root' sz:
1393 69169 70554
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'mvhd' parent:'moov' sz:
108 8 1385
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] time scale = 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'trak' parent:'moov' sz:
1179 116 1385
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'tkhd' parent:'trak' sz:
92 8 1171
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'edts' parent:'trak' sz:
36 100 1171
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'elst' parent:'edts' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] track[0].edit_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] duration=2002 time=2002
rate=1.000000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'mdia' parent:'trak' sz:
1043 136 1171
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'mdhd' parent:'mdia' sz:
32 8 1035
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'hdlr' parent:'mdia' sz:
45 40 1035
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stype=vide
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'minf' parent:'mdia' sz:
958 85 1035
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'vmhd' parent:'minf' sz:
20 8 950
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'dinf' parent:'minf' sz:
36 28 950
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'dref' parent:'dinf' sz:
28 8 28
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Unknown dref type 0x206c7275
size 12
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stbl' parent:'minf' sz:
894 64 950
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stsd' parent:'stbl' sz:
190 8 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] size=174 4CC=avc1
codec_type=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'avcC' parent:'stsd' sz:
52 8 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'pasp' parent:'stsd' sz:
16 60 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'btrt' parent:'stsd' sz:
20 76 88
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stts' parent:'stbl' sz:
24 198 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] track[0].stts.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] sample_count=48,
sample_duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stss' parent:'stbl' sz:
20 222 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] keyframe_count = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'ctts' parent:'stbl' sz:
392 242 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] track[0].ctts.entries = 47
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=4004
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=2, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=5005
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=2002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=3003
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] count=1, duration=1001
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] dts shift 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stsc' parent:'stbl' sz:
28 634 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] track[0].stsc.entries = 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stsz' parent:'stbl' sz:
212 662 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] sample_size = 0 sample_count
= 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'stco' parent:'stbl' sz:
20 874 886
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 0,
offset 30, dts 0, size 5145, distance 0, keyframe 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 1,
offset 1449, dts 1001, size 2500, distance 1, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 2,
offset 1e0d, dts 2002, size 1426, distance 2, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 3,
offset 239f, dts 3003, size 1018, distance 3, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 4,
offset 2799, dts 4004, size 1150, distance 4, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 5,
offset 2c17, dts 5005, size 2228, distance 5, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 6,
offset 34cb, dts 6006, size 1288, distance 6, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 7,
offset 39d3, dts 7007, size 1065, distance 7, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 8,
offset 3dfc, dts 8008, size 916, distance 8, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 9,
offset 4190, dts 9009, size 1724, distance 9, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 10,
offset 484c, dts 10010, size 1033, distance 10, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 11,
offset 4c55, dts 11011, size 1785, distance 11, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 12,
offset 534e, dts 12012, size 1323, distance 12, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 13,
offset 5879, dts 13013, size 1035, distance 13, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 14,
offset 5c84, dts 14014, size 1116, distance 14, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 15,
offset 60e0, dts 15015, size 1787, distance 15, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 16,
offset 67db, dts 16016, size 1168, distance 16, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 17,
offset 6c6b, dts 17017, size 2071, distance 17, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 18,
offset 7482, dts 18018, size 1290, distance 18, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 19,
offset 798c, dts 19019, size 1083, distance 19, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 20,
offset 7dc7, dts 20020, size 936, distance 20, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 21,
offset 816f, dts 21021, size 1878, distance 21, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 22,
offset 88c5, dts 22022, size 1155, distance 22, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 23,
offset 8d48, dts 23023, size 2069, distance 23, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 24,
offset 955d, dts 24024, size 1049, distance 24, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 25,
offset 9976, dts 25025, size 1236, distance 25, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 26,
offset 9e4a, dts 26026, size 1953, distance 26, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 27,
offset a5eb, dts 27027, size 1260, distance 27, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 28,
offset aad7, dts 28028, size 887, distance 28, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 29,
offset ae4e, dts 29029, size 891, distance 29, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 30,
offset b1c9, dts 30030, size 1835, distance 30, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 31,
offset b8f4, dts 31031, size 1248, distance 31, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 32,
offset bdd4, dts 32032, size 1058, distance 32, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 33,
offset c1f6, dts 33033, size 1014, distance 33, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 34,
offset c5ec, dts 34034, size 1795, distance 34, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 35,
offset ccef, dts 35035, size 1238, distance 35, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 36,
offset d1c5, dts 36036, size 951, distance 36, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 37,
offset d57c, dts 37037, size 1166, distance 37, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 38,
offset da0a, dts 38038, size 1869, distance 38, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 39,
offset e157, dts 39039, size 1349, distance 39, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 40,
offset e69c, dts 40040, size 995, distance 40, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 41,
offset ea7f, dts 41041, size 1163, distance 41, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 42,
offset ef0a, dts 42042, size 1190, distance 42, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 43,
offset f3b0, dts 43043, size 1652, distance 43, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 44,
offset fa24, dts 44044, size 1137, distance 44, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 45,
offset fe95, dts 45045, size 1305, distance 45, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 46,
offset 103ae, dts 46046, size 1462, distance 46, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] AVIndex stream 0, sample 47,
offset 10964, dts 47047, size 1221, distance 47, keyframe 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Processing st: 0, edit list 0
- media time: 2002, duration: 48048
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 0 ctts: 2002,
ctts_index: 0, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 1001 ctts: 5005,
ctts_index: 1, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 2002 ctts: 2002,
ctts_index: 2, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 3003 ctts: 0,
ctts_index: 3, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 4004 ctts: 1001,
ctts_index: 4, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 5005 ctts: 5005,
ctts_index: 5, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 6006 ctts: 2002,
ctts_index: 6, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 7007 ctts: 0,
ctts_index: 7, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 8008 ctts: 1001,
ctts_index: 8, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 9009 ctts: 3003,
ctts_index: 9, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 10010 ctts: 1001,
ctts_index: 10, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 11011 ctts: 5005,
ctts_index: 11, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 12012 ctts: 2002,
ctts_index: 12, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 13013 ctts: 0,
ctts_index: 13, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 14014 ctts: 1001,
ctts_index: 14, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 15015 ctts: 3003,
ctts_index: 15, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 16016 ctts: 1001,
ctts_index: 16, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 17017 ctts: 5005,
ctts_index: 17, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 18018 ctts: 2002,
ctts_index: 18, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 19019 ctts: 0,
ctts_index: 19, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 20020 ctts: 1001,
ctts_index: 20, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 21021 ctts: 3003,
ctts_index: 21, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 22022 ctts: 1001,
ctts_index: 22, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 23023 ctts: 4004,
ctts_index: 23, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 24024 ctts: 1001,
ctts_index: 24, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 25025 ctts: 1001,
ctts_index: 25, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 26026 ctts: 5005,
ctts_index: 26, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 27027 ctts: 2002,
ctts_index: 27, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 28028 ctts: 0,
ctts_index: 28, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 29029 ctts: 1001,
ctts_index: 29, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 30030 ctts: 5005,
ctts_index: 30, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 31031 ctts: 2002,
ctts_index: 31, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 32032 ctts: 0,
ctts_index: 32, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 33033 ctts: 1001,
ctts_index: 33, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 34034 ctts: 5005,
ctts_index: 34, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 35035 ctts: 2002,
ctts_index: 35, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 36036 ctts: 0,
ctts_index: 36, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 37037 ctts: 1001,
ctts_index: 37, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 38038 ctts: 5005,
ctts_index: 38, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 39039 ctts: 2002,
ctts_index: 39, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 40040 ctts: 0,
ctts_index: 40, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 41041 ctts: 1001,
ctts_index: 41, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 42042 ctts: 2002,
ctts_index: 42, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 43043 ctts: 3003,
ctts_index: 43, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 44044 ctts: 1001,
ctts_index: 44, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 45045 ctts: 2002,
ctts_index: 45, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 46046 ctts: 3003,
ctts_index: 46, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stts: 47047 ctts: 1001,
ctts_index: 47, ctts_count: 48
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Offset DTS by 2002 to make
first pts zero.
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Setting codecpar->delay to 2
for stream st: 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'udta' parent:'moov' sz:
98 1295 1385
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'meta' parent:'udta' sz:
90 8 90
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'hdlr' parent:'meta' sz:
33 8 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] ctype=[0][0][0][0]
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stype=mdir
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'ilst' parent:'meta' sz:
45 41 78
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] type:'[169]too' parent:'ilst'
sz: 37 8 37
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] on_parse_exit_offset=70554
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] Before
avformat_find_stream_info() pos: 70554 bytes read:34161 seeks:1
nb_streams:1
[h264 @ 0000028852704940] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0000028852704940] nal_unit_type: 8(PPS), nal_ref_idc: 3
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 0, dts
-83417
[h264 @ 0000028852704940] nal_unit_type: 7(SPS), nal_ref_idc: 3
[h264 @ 0000028852704940] nal_unit_type: 8(PPS), nal_ref_idc: 3
[h264 @ 0000028852704940] nal_unit_type: 6(SEI), nal_ref_idc: 0
[h264 @ 0000028852704940] nal_unit_type: 5(IDR), nal_ref_idc: 3
[h264 @ 0000028852704940] Format yuv420p chosen by get_format().
[h264 @ 0000028852704940] Reinit context to 320x240, pix_fmt: yuv420p
[h264 @ 0000028852704940] no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0: start_time: 0
duration: 2.002
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] format: start_time: 0
duration: 2.002 (estimate from stream) bitrate=281 kb/s
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] After
avformat_find_stream_info() pos: 5193 bytes read:66929 seeks:2 frames:1
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf59.17.102
Duration: 00:00:02.00, start: 0.000000, bitrate: 281 kb/s
Stream #0:0[0x1](und), 1, 1/24000: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(progressive, left), 320x240 [SAR 1:1 DAR
4:3], 0/1, 276 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Successfully opened the file.
Parsing a group of options: output url bar.mp4.
Applying option bsf:v (A comma-separated list of bitstream filters) with
argument setts=ts=TS/2.
Applying option c (codec name) with argument copy.
Successfully parsed a group of options.
Opening an output file: bar.mp4.
[setts_bsf @ 0000028850f3eb80] Setting 'ts' to value 'TS/2'
[file @ 0000028852c9a180] Setting default whitelist 'file,crypto,data'
Successfully opened the file.
Output #0, mp4, to 'bar.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf59.17.102
Stream #0:0(und), 0, 1/24000: Video: h264 (High), 1 reference frame
(avc1 / 0x31637661), yuv420p(progressive, left), 320x240 (0x0) [SAR 1:1
DAR 4:3], 0/1, q=2-31, 276 kb/s, 23.98 fps, 23.98 tbr, 24k tbn (default)
Metadata:
handler_name : VideoHandler
vendor_id : [0][0][0][0]
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
cur_dts is invalid st:0 (0) [init:1 i_done:0 finish:0] (this is harmless
if it occurs once at the start per stream)
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 1, dts
-41708eed=N/A
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 2, dts 0
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 3, dts 41708
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 4, dts 83417
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 5, dts
125125
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 6, dts
166833
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 7, dts
208542
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 8, dts
250250
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 9, dts
291958
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 10, dts
333667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 11, dts
375375
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 12, dts
417083
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 13, dts
458792
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 14, dts
500500
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 15, dts
542208
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 16, dts
583917
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 17, dts
625625
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 18, dts
667333
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 19, dts
709042
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 20, dts
750750
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 21, dts
792458
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 22, dts
834167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 23, dts
875875
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 24, dts
917583
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 25, dts
959292
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 26, dts
1001000
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 27, dts
1042708
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 28, dts
1084417
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 29, dts
1126125
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 30, dts
1167833
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 31, dts
1209542
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 32, dts
1251250
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 33, dts
1292958
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 34, dts
1334667
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 35, dts
1376375
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 36, dts
1418083
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 37, dts
1459792
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 38, dts
1501500
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 39, dts
1543208
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 40, dts
1584917
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 41, dts
1626625
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 42, dts
1668333
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 43, dts
1710042
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 44, dts
1751750
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 45, dts
1793458
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 46, dts
1835167
[mov,mp4,m4a,3gp,3g2,mj2 @ 00000288526f28c0] stream 0, sample 47, dts
1876875
No more output streams to write to, finishing.
frame= 48 fps=0.0 q=-1.0 Lsize= 69kB time=00:00:00.93 bitrate=
599.7kbits/s speed= 28x
video:67kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 1.795610%
Input file #0 (foo.mp4):
Input stream #0:0 (video): 48 packets read (69113 bytes);
Total: 48 packets (69113 bytes) demuxed
Output file #0 (bar.mp4):
Output stream #0:0 (video): 48 packets muxed (69113 bytes);
Total: 48 packets (69113 bytes) muxed
[AVIOContext @ 0000028850f3ec80] Statistics: 70358 bytes written, 2 seeks,
4 writeouts
0 frames successfully decoded, 0 decoding errors
[AVIOContext @ 00000288526fb380] Statistics: 104667 bytes read, 2 seeks
ffmpeg version N-105660-g2812508086-20220217
built on ... btbn
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9654>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list