Opened 14 months ago
Closed 14 months ago
#10557 closed defect (invalid)
MJPEG Decode Error ONLY with JPG
Reported by: | jensdraht1999 | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | ffmpeg |
Version: | git-master | Keywords: | mjpeg |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Change History (4)
comment:1 by , 14 months ago
comment:2 by , 14 months ago
https://anonymfile.com/9B98/interp.zip
Here are all the files to download. These are jpeg images.
comment:3 by , 14 months ago
OK guys, I found the error. Somehow the program has generated a png file but it told us, that it is a jpg file, so yeah. Everything seems to be fine with ffmpeg. Closing this.
comment:4 by , 14 months ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I do not know how to upload the file, because 33,9mnb in size and the limit 2.5mb
I want to give you all the images, which are not alot 1623 images.