[FFmpeg-trac] #10078(undetermined:new): speedhq: ffmpeg fails to decode it's own created file - low resolution
FFmpeg
trac at avcodec.org
Sat Nov 26 19:48:13 EET 2022
#10078: speedhq: ffmpeg fails to decode it's own created file - low resolution
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
another issue: width should be always a multiple of 16, otherwise the
original NewTek's codec won't decode correctly the file created with
ffmpeg
{{{
./ffmpeg -i 32.bmp -vcodec speedhq -y out.avi
ffmpeg version N-109227-g1a7efafd33 Copyright (c) 2000-2022 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --enable-libopenjpeg
libavutil 57. 43.100 / 57. 43.100
libavcodec 59. 54.100 / 59. 54.100
libavformat 59. 34.102 / 59. 34.102
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.101 / 8. 50.101
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
Input #0, bmp_pipe, from '32.bmp':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: bmp, bgr24, 32x32, 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (bmp (native) -> speedhq (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf59.34.102
Stream #0:0: Video: speedhq (SHQ4 / 0x34514853), yuv444p(tv,
progressive), 32x32, q=2-31, 200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc59.54.100 speedhq
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 0 fps=0.0 q=1.6 size= 0kB time=00:00:00.00 bitrate=N/A
speed=N/Aframe= 1 fps=0.0 q=1.6 Lsize= 6kB time=00:00:00.00
bitrate=N/A speed= 0x
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 638.100586%
}}}
{{{
./ffmpeg -i out.avi -y out2.avi
ffmpeg version N-109227-g1a7efafd33 Copyright (c) 2000-2022 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration: --enable-libopenjpeg
libavutil 57. 43.100 / 57. 43.100
libavcodec 59. 54.100 / 59. 54.100
libavformat 59. 34.102 / 59. 34.102
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 50.101 / 8. 50.101
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
Input #0, avi, from 'out.avi':
Metadata:
software : Lavf59.34.102
Duration: 00:00:00.04, start: 0.000000, bitrate: 1321 kb/s
Stream #0:0: Video: speedhq (SHQ4 / 0x34514853),
yuv444p(bt470bg/unknown/unknown), 32x32, 25 fps, 25 tbr, 25 tbn
Stream mapping:
Stream #0:0 -> #0:0 (speedhq (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg4 @ 0x55a658a3ff00] too many threads/slices (3), reducing to 2
Output #0, avi, to 'out2.avi':
Metadata:
software : Lavf59.34.102
ISFT : Lavf59.34.102
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 32x32, q=2-31,
200 kb/s, 25 fps, 25 tbn
Metadata:
encoder : Lavc59.54.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate=
-0.0kbframe= 0 fps=0.0 q=0.0 Lsize= 6kB time=-577014:32:22.77
bitrate=N/A speed=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10078>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list