[FFmpeg-trac] #10595(avcodec:new): photocd file fails to decode

FFmpeg trac at avcodec.org
Wed Sep 27 13:46:32 EEST 2023


#10595: photocd file fails to decode
-----------------------------------+---------------------------------------
             Reporter:  ami_stuff  |                     Type:  defect
               Status:  new        |                 Priority:  normal
            Component:  avcodec    |                  Version:  unspecified
             Keywords:  photocd    |               Blocked By:
             Blocking:             |  Reproduced by developer:  0
Analyzed by developer:  0          |
-----------------------------------+---------------------------------------
 https://telparia.com/fileFormatSamples/image/pcd/maddog.pcd

 {{{
 ./ffmpeg -i maddog.pcd -y out.jpg
 ffmpeg version N-112164-gcb26b85953 Copyright (c) 2000-2023 the FFmpeg
 developers
   built with gcc 11 (Ubuntu 11.4.0-1ubuntu1~22.04)
   configuration:
   libavutil      58. 25.100 / 58. 25.100
   libavcodec     60. 27.100 / 60. 27.100
   libavformat    60. 13.100 / 60. 13.100
   libavdevice    60.  2.101 / 60.  2.101
   libavfilter     9. 11.100 /  9. 11.100
   libswscale      7.  3.100 /  7.  3.100
   libswresample   4. 11.100 /  4. 11.100
 Input #0, image2, from 'maddog.pcd':
   Duration: 00:00:00.04, start: 0.000000, bitrate: 867942 kb/s
   Stream #0:0: Video: photocd, yuv420p(pc, bt709/bt709/iec61966-2-1),
 3072x2048, 25 fps, 25 tbr, 25 tbn
 Stream mapping:
   Stream #0:0 -> #0:0 (photocd (native) -> mjpeg (native))
 Press [q] to stop, [?] for help
 [vist#0:0/photocd @ 0x55c65327b900] Decoding error: Invalid data found
 when processing input
 [swscaler @ 0x55c6532b5140] deprecated pixel format used, make sure you
 did set range correctly
 [vost#0:0/mjpeg @ 0x55c653280380] No filtered frames for output stream,
 trying to initialize anyway.
 [vost#0:0/mjpeg @ 0x55c653280380] No information about the input framerate
 is available. Falling back to a default value of 25fps. Use the -r option
 if you want a different framerate.
 Output #0, image2, to 'out.jpg':
   Metadata:
     encoder         : Lavf60.13.100
   Stream #0:0: Video: mjpeg, yuvj420p(pc, progressive), 3072x2048, q=2-31,
 200 kb/s, 25 fps, 25 tbn
     Metadata:
       encoder         : Lavc60.27.100 mjpeg
     Side data:
       cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
 [vist#0:0/photocd @ 0x55c65327b900] Decode error rate 1 exceeds maximum
 0.666667
 [out#0/image2 @ 0x55c65327be80] video:0kB audio:0kB subtitle:0kB other
 streams:0kB global headers:0kB muxing overhead: unknown
 [out#0/image2 @ 0x55c65327be80] Output file is empty, nothing was
 encoded(check -ss / -t / -frames parameters if used)
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A
 Conversion failed!
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10595>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list