[FFmpeg-user] framerate issues

Calvin Arndt carndt at macksrecycling.com
Fri May 31 00:32:35 EEST 2019


 

>> Cheers, Moritz _______________________________________________
>

> ffmpeg-user mailing list
> 
> Interesting! Thanks for the tip.
ffprobe now
> reports it at 7fps however it still runs way too fast. 
>

> FFmpeg/ffmpeg
> -y -loglevel 8 -i http://10.17.24.6/mjpg/video.mjpg
-filter:v
> fps=fps=7,scale=720:480 -b 1536k
/DVR/Tower/05-30_15-54.avi
> [mjpeg @
> 0x3a66080] No JPEG data found in
image
> Last message repeated 1
> times
> root at carndt-DX4380G:~#
FFmpeg/ffmpeg
> ffmpeg version
> N-93742-g46f1718 Copyright (c)
2000-2019 the FFmpeg developers
> built
> with gcc 5.4.0 (Ubuntu
5.4.0-6ubuntu1~16.04.11) 20160609
> configuration:
> 
> libavutil 56.
26.100 / 56. 26.100
> libavcodec 58. 52.100 / 58. 52.100
> 
>
libavformat 58. 27.103 / 58. 27.103
> libavdevice 58. 7.100 / 58.
7.100
> 
> libavfilter 7. 50.100 / 7. 50.100
> libswscale 5. 4.100 / 5.
4.100
> 
> libswresample 3. 4.100 / 3. 4.100 
> 
> file is 8311KB and
downloadable
> https://macksrecycling.net/cal/05-30_15-54.avi [3]
> 
>
root at carndt-DX4380G:~# FFmpeg/ffprobe
> /DVR/Tower/05-30_15-54.avi
>
ffprobe version N-93742-g46f1718 Copyright
> (c) 2007-2019 the FFmpeg
developers
> built with gcc 5.4.0 (Ubuntu
> 5.4.0-6ubuntu1~16.04.11)
20160609
> configuration: 
> libavutil 56. 26.100
> / 56. 26.100
>
libavcodec 58. 52.100 / 58. 52.100
> libavformat 58. 27.103
> / 58.
27.103
> libavdevice 58. 7.100 / 58. 7.100
> libavfilter 7. 50.100 /
>
7. 50.100
> libswscale 5. 4.100 / 5. 4.100
> libswresample 3. 4.100 /
3.
> 4.100
> Input #0, avi, from '/DVR/Tower/05-30_15-54.avi':
>
Metadata:
> 
> encoder : Lavf58.27.103
> Duration: 00:00:43.14, start:
0.000000,
> bitrate: 1578 kb/s
> Stream #0:0: Video: mpeg4 (Simple
Profile) (FMP4 /
> 0x34504D46), yuv420p, 720x480 [SAR 32:27 DAR 16:9],
1580 kb/s, 7 fps, 7
> tbr, 7 tbn, 7 tbc 
> 
> -- 
> Calvin Arndt
>
(217)
> 377-2979
> carndt at macksrecycling.com

Here is without -loglevel


https://macksrecycling.net/cal/05-30_16-21.avi

root at carndt-DX4380G:~#
FFmpeg/ffmpeg -y -i http://10.17.24.6/mjpg/video.mjpg -filter:v
fps=fps=7,scale=720:480 -b 1536k /DVR/Tower/05-30_16-21.avi
ffmpeg
version N-93742-g46f1718 Copyright (c) 2000-2019 the FFmpeg developers

built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609

configuration: 
 libavutil 56. 26.100 / 56. 26.100
 libavcodec 58.
52.100 / 58. 52.100
 libavformat 58. 27.103 / 58. 27.103
 libavdevice
58. 7.100 / 58. 7.100
 libavfilter 7. 50.100 / 7. 50.100
 libswscale 5.
4.100 / 5. 4.100
 libswresample 3. 4.100 / 3. 4.100
Input #0, mpjpeg,
from 'http://Viewer:ax10P@ss@10.17.24.6/mjpg/video.mjpg':
 Duration:
N/A, bitrate: N/A
 Stream #0:0: Video: mjpeg (Baseline), yuvj420p(pc,
bt470bg/unknown/unknown), 1920x1080 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn,
25 tbc
Please use -b:a or -b:v, -b is ambiguous
Stream mapping:
 Stream
#0:0 -> #0:0 (mjpeg (native) -> mpeg4 (native))
Press [q] to stop, [?]
for help
[swscaler @ 0x40ecbc0] deprecated pixel format used, make sure
you did set range correctly
Output #0, avi, to
'/DVR/Tower/05-30_16-21.avi':
 Metadata:
 ISFT : Lavf58.27.103
 Stream
#0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 720x480 [SAR 32:27 DAR
16:9], q=2-31, 1536 kb/s, 7 fps, 7 tbn, 7 tbc
 Metadata:
 encoder :
Lavc58.52.100 mpeg4
 Side data:
 cpb: bitrate max/min/avg: 0/0/1536000
buffer size: 0 vbv_delay: -1
[mjpeg @ 0x401b300] dht: len 179 is too
largee=00:00:00.57 bitrate=3750.6kbits/s speed=0.51x 
[mjpeg @
0x401b300] huffman table decode error
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] overread 8=
262kB time=00:00:00.85 bitrate=2500.4kbits/s speed=0.52x 
[mjpeg @
0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] overread 8= 774kB
time=00:00:03.85 bitrate=1643.1kbits/s speed=0.51x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] dht: len 179 is too
largee=00:00:04.71 bitrate=1789.2kbits/s speed=0.515x 
[mjpeg @
0x401b300] huffman table decode error
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] dht: len
179 is too largee=00:00:05.28 bitrate=1595.7kbits/s speed=0.519x 
[mjpeg
@ 0x401b300] huffman table decode error
Error while decoding stream
#0:0: Invalid data found when processing input
[mjpeg @ 0x401b300] dht:
len 29 is too large
[mjpeg @ 0x401b300] huffman table decode error
Error
while decoding stream #0:0: Invalid data found when processing
input
[mjpeg @ 0x401b300] overread 8
[mjpeg @ 0x401b300] EOI missing,
emulating
[mjpeg @ 0x401b300] dqt: len 46976 is too large00:00:05.85
bitrate=1798.1kbits/s speed=0.521x 
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] overread 8=
1286kB time=00:00:06.14 bitrate=1714.5kbits/s speed=0.522x 
[mjpeg @
0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] dht: len 179 is
too largee=00:00:06.57 bitrate=1602.7kbits/s speed=0.511x 
[mjpeg @
0x401b300] huffman table decode error
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] overread 8=
1542kB time=00:00:07.14 bitrate=1768.1kbits/s speed=0.513x 
[mjpeg @
0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] dqt: len 65 is too
largeme=00:00:07.71 bitrate=1637.1kbits/s speed=0.513x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] overread 8= 1542kB time=00:00:08.00 bitrate=1578.6kbits/s
speed=0.514x 
[mjpeg @ 0x401b300] EOI missing, emulating
[mjpeg @
0x401b300] dqt: len 65 is too large
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] overread 8=
1542kB time=00:00:08.14 bitrate=1550.9kbits/s speed=0.505x 
[mjpeg @
0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] overread 8
[mjpeg
@ 0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] bits 36 is
invalid2kB time=00:00:08.57 bitrate=1473.4kbits/s speed=0.515x 
Error
while decoding stream #0:0: Invalid data found when processing
input
[mjpeg @ 0x401b300] dqt: len 36125 is too large00:00:08.85
bitrate=1662.6kbits/s speed=0.514x 
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] dht: len
179 is too largee=00:00:09.28 bitrate=1585.9kbits/s speed=0.509x 
[mjpeg
@ 0x401b300] huffman table decode error
Error while decoding stream
#0:0: Invalid data found when processing input
[mjpeg @ 0x401b300] dht:
len 179 is too largee=00:00:09.85 bitrate=1494.0kbits/s speed=0.509x

[mjpeg @ 0x401b300] huffman table decode error
Error while decoding
stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] overread 8
[mjpeg @ 0x401b300] EOI missing, emulating
[mjpeg
@ 0x401b300] error count: 712054kB time=00:00:10.57
bitrate=1591.4kbits/s speed=0.504x 
[mjpeg @ 0x401b300] error y=0
x=3
[mjpeg @ 0x401b300] overread 8= 2054kB time=00:00:11.14
bitrate=1509.8kbits/s speed=0.506x 
[mjpeg @ 0x401b300] EOI missing,
emulating
[mjpeg @ 0x401b300] unable to decode APP fields: Invalid data
found when processing input
[mjpeg @ 0x401b300] overread 8= 2310kB
time=00:00:11.71 bitrate=1615.2kbits/s speed=0.508x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] overread 7= 2310kB
time=00:00:12.00 bitrate=1576.7kbits/s speed=0.508x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] overread 8= 2566kB
time=00:00:12.57 bitrate=1671.9kbits/s speed=0.509x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] mjpeg: unsupported coding
type (c6).14 bitrate=1599.2kbits/s speed=0.509x 
[mjpeg @ 0x401b300]
overread 8= 2566kB time=00:00:13.42 bitrate=1565.1kbits/s speed=0.51x

[mjpeg @ 0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] dqt: len
65 is too largeme=00:00:15.00 bitrate=1541.0kbits/s speed=0.508x 
Error
while decoding stream #0:0: Invalid data found when processing
input
[mjpeg @ 0x401b300] unable to decode APP fields: Invalid data
found when processing input509x 
[mjpeg @ 0x401b300] dqt: len 65 is too
largeme=00:00:17.00 bitrate=1483.1kbits/s speed=0.51x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] dqt: len 65 is too largeme=00:00:17.28 bitrate=1579.9kbits/s
speed=0.51x 
Error while decoding stream #0:0: Invalid data found when
processing input
Error while decoding stream #0:0: Operation not
permitted
[mjpeg @ 0x401b300] dqt: len 65 is too large
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] dqt: len 65 is too large
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] dht: len
179 is too largee=00:00:17.57 bitrate=1554.2kbits/s speed=0.51x 
[mjpeg
@ 0x401b300] huffman table decode error
Error while decoding stream
#0:0: Invalid data found when processing input
[mjpeg @ 0x401b300] dqt:
len 65 is too large
Error while decoding stream #0:0: Invalid data found
when processing input
[mjpeg @ 0x401b300] dqt: len 2133 is too
large=00:00:17.85 bitrate=1529.3kbits/s speed=0.51x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] mjpeg: unsupported coding type (ce).00 bitrate=1575.2kbits/s
speed=0.508x 
[mjpeg @ 0x401b300] overread 8= 3846kB time=00:00:20.28
bitrate=1553.0kbits/s speed=0.508x 
[mjpeg @ 0x401b300] EOI missing,
emulating
[mjpeg @ 0x401b300] dht: len 179 is too largee=00:00:21.14
bitrate=1589.2kbits/s speed=0.509x 
[mjpeg @ 0x401b300] huffman table
decode error
Error while decoding stream #0:0: Invalid data found when
processing input
[mjpeg @ 0x401b300] dqt: len 65 is too
largeme=00:00:21.42 bitrate=1568.0kbits/s speed=0.509x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] dqt: len 65 is too large
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] dqt: len 65
is too largeme=00:00:21.71 bitrate=1547.4kbits/s speed=0.509x 
Error
while decoding stream #0:0: Invalid data found when processing
input
[mjpeg @ 0x401b300] dqt: len 65 is too largeme=00:00:23.14
bitrate=1542.5kbits/s speed=0.51x 
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] dqt: len
253 is too large
Error while decoding stream #0:0: Invalid data found
when processing input
[mjpeg @ 0x401b300] dqt: len 65 is too
largeme=00:00:24.57 bitrate=1538.2kbits/s speed=0.511x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] dqt: len 65 is too largeme=00:00:24.85 bitrate=1520.5kbits/s
speed=0.511x 
Error while decoding stream #0:0: Invalid data found when
processing input
[mjpeg @ 0x401b300] overread 8= 4614kB time=00:00:25.14
bitrate=1503.2kbits/s speed=0.511x 
[mjpeg @ 0x401b300] EOI missing,
emulating
[mjpeg @ 0x401b300] dht: len 179 is too largee=00:00:26.00
bitrate=1534.3kbits/s speed=0.512x 
[mjpeg @ 0x401b300] huffman table
decode error
Error while decoding stream #0:0: Invalid data found when
processing input
[mjpeg @ 0x401b300] overread 8= 5382kB time=00:00:28.85
bitrate=1527.7kbits/s speed=0.514x 
[mjpeg @ 0x401b300] EOI missing,
emulating
[mjpeg @ 0x401b300] dht: len 179 is too largee=00:00:31.57
bitrate=1529.2kbits/s speed=0.518x 
[mjpeg @ 0x401b300] huffman table
decode error
Error while decoding stream #0:0: Invalid data found when
processing input
[mjpeg @ 0x401b300] dht: len 179 is too
largee=00:00:32.57 bitrate=1546.7kbits/s speed=0.515x 
[mjpeg @
0x401b300] huffman table decode error
Error while decoding stream #0:0:
Invalid data found when processing input
[mjpeg @ 0x401b300] unable to
decode APP fields: Invalid data found when processing input516x 
[mjpeg
@ 0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] unable to decode
APP fields: Invalid data found when processing input517x 
[mjpeg @
0x401b300] dht: len 179 is too largee=00:00:36.57 bitrate=1549.5kbits/s
speed=0.518x 
[mjpeg @ 0x401b300] huffman table decode error
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] dht: len 29 is too large
[mjpeg @ 0x401b300] huffman table
decode error
Error while decoding stream #0:0: Invalid data found when
processing input
[mjpeg @ 0x401b300] overread 8
[mjpeg @ 0x401b300] EOI
missing, emulating
[mjpeg @ 0x401b300] overread 8= 6918kB
time=00:00:36.85 bitrate=1537.5kbits/s speed=0.518x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] overread 8
[mjpeg @
0x401b300] EOI missing, emulating
[mjpeg @ 0x401b300] overread 8= 6918kB
time=00:00:37.42 bitrate=1514.1kbits/s speed=0.518x 
[mjpeg @ 0x401b300]
EOI missing, emulating
[mjpeg @ 0x401b300] dqt: len 65 is too
largeme=00:00:38.71 bitrate=1517.9kbits/s speed=0.52x 
Error while
decoding stream #0:0: Invalid data found when processing input
[mjpeg @
0x401b300] overread 8= 7430kB time=00:00:39.00 bitrate=1560.6kbits/s
speed=0.52x 
[mjpeg @ 0x401b300] EOI missing, emulating
[mjpeg @
0x401b300] overread 8= 7942kB time=00:00:42.42 bitrate=1533.3kbits/s
speed=0.522x 
[mjpeg @ 0x401b300] EOI missing, emulating
frame= 304
fps=3.7 q=3.8 Lsize= 8339kB time=00:00:43.42 bitrate=1572.9kbits/s
speed=0.522x 
video:8326kB audio:0kB subtitle:0kB other streams:0kB
global headers:0kB muxing overhead: 0.154946%
root at carndt-DX4380G:~#


--

 Calvin Arndt
(217) 377-2979
carndt at macksrecycling.com
 


More information about the ffmpeg-user mailing list