[FFmpeg-trac] #10557(ffmpeg:new): MJPEG Decode Error ONLY with JPG
FFmpeg
trac at avcodec.org
Sun Sep 10 20:39:13 EEST 2023
#10557: MJPEG Decode Error ONLY with JPG
-------------------------------------+-------------------------------------
Reporter: | Type: defect
jensdraht1999 |
Status: new | Priority: normal
Component: ffmpeg | Version: git-
| master
Keywords: mjpeg | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
When trying to create h264 video via a collection of images, it works,
but it does omit some of the images, so the video duration is different.
Only problematic is with JPEG, not on PNG. PNG works.
The original video is converted jpg files, then interpolated Rife.py to
60FPS. The Rife.py is generating jpeg files, which are by the way totally
correct and have no problem and you can even generate a video, if I
convert them to png and the put it into the ffpmeg.
(The command for png is:
ffmpeg.exe -y -framerate 30 -i interp/%8d.png -c:v libx264 -pix_fmt
yuv420p output.mp4)
How to reproduce:
{{{
ffmpeg.exe -y -framerate 30 -i interp/%8d.jpg -c:v libx264 -pix_fmt
yuv420p output.mp4
Git Master Latest
built on today
}}}
LOG ERROR:
[mjpeg @ 0000023037b7a240] EOI missing, emulating
[swscaler @ 0000023039985c40] deprecated pixel format used, make sure you
did set range correctly
[swscaler @ 0000023039aa0000] deprecated pixel format used, make sure you
did set range correctly
[swscaler @ 00000230399e00c0] deprecated pixel format used, make sure you
did set range correctly
[swscaler @ 0000023039985c40] deprecated pixel format used, make sure you
did set range correctly
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (ca)7 bitrate=
-0.0kbits/s speed=N/A
Last message repeated 1 times
[mjpeg @ 0000023039811380] bits 203 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (cf)
[mjpeg @ 0000023039811380] Found EOI before any SOF, ignoring
[mjpeg @ 0000023039811380] bits 79 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] bits 63 is invalidme=00:00:17.00 bitrate=
123.4kbits/s dup=2 drop=0 speed= 34x
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] invalid id 95
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 1 times
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
[mjpeg @ 0000023039811380] invalid id 95
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] Can not process SOS before SOF, skipping
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (c8)
[mjpeg @ 0000023039811380] dqt: len 49144 is too large
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
Last message repeated 1 times
[mjpeg @ 0000023039811380] bits 90 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing inputspeed=35.7x
[mjpeg @ 0000023039811380] bits 189 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
Last message repeated 2 times
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (c8)
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
[mjpeg @ 0000023039811380] bits 63 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] dqt: invalid precision
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
[mjpeg @ 0000023039811380] bits 253 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
[mjpeg @ 0000023039811380] bits 158 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] No JPEG data found in image
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] unable to decode APP fields: Invalid data found
when processing input
[mjpeg @ 0000023039811380] bits 237 is invalid
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (c6)
[mjpeg @ 0000023039811380] mjpeg: unsupported coding type (ca)
Error while decoding stream #0:0: Invalid data found when processing input
[mjpeg @ 0000023039811380] invalid id 175
Error while decoding stream #0:0: Invalid data found when processing input
frame= 1623 fps=1067 q=-1.0 Lsize= 1441kB time=00:00:54.00 bitrate=
218.5kbits/s dup=17 drop=0 speed=35.5x
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10557>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list