#10070(undetermined:new): apng enc artefacts
#10070: apng enc artefacts -------------------------------------+------------------------------------- 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 | -------------------------------------+------------------------------------- https://trac.ffmpeg.org/raw-attachment/ticket/10068/gold2.avi {{{ ./ffmpeg -i gold2.avi -vcodec apng -y out.apng ffmpeg version N-109101-g822da7a317 Copyright (c) 2000-2022 the FFmpeg developers built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1) configuration: --enable-libopenjpeg libavutil 57. 42.100 / 57. 42.100 libavcodec 59. 52.102 / 59. 52.102 libavformat 59. 34.101 / 59. 34.101 libavdevice 59. 8.101 / 59. 8.101 libavfilter 8. 50.100 / 8. 50.100 libswscale 6. 8.112 / 6. 8.112 libswresample 4. 9.100 / 4. 9.100 Input #0, avi, from 'gold2.avi': Duration: 00:00:12.00, start: 0.000000, bitrate: 153 kb/s Stream #0:0: Video: srgc (srgc / 0x63677273), bgra, 299x171, 149 kb/s, 15 fps, 15 tbr, 15 tbn Stream mapping: Stream #0:0 -> #0:0 (srgc (native) -> apng (native)) Press [q] to stop, [?] for help Output #0, apng, to 'out.apng': Metadata: encoder : Lavf59.34.101 Stream #0:0: Video: apng, rgba(pc, gbr/unknown/unknown, progressive), 299x171, q=2-31, 200 kb/s, 15 fps, 15 tbn Metadata: encoder : Lavc59.52.102 apng frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 110 fps=0.0 q=-0.0 size= 57kB time=00:00:07.33 bitrate= 64.2kbits/frame= 180 fps=0.0 q=-0.0 Lsize= 94kB time=00:00:11.93 bitrate= 64.3kbits/s speed=14.6x video:94kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.089694% }}} -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10070: apng enc artefacts -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Elon Musk): * status: new => closed * resolution: => invalid Comment: I see nothing wrong with apng encoded file. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10070: apng enc artefacts -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: (none) Type: defect | Status: reopened Priority: normal | Component: | undetermined Version: unspecified | Resolution: Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by ami_stuff): * status: closed => reopened * resolution: invalid => Comment: {{{ ffmpeg -i gold2.avi out.apng }}} {{{ ffmpeg -i out.apng out.avi }}} {{{ ffplay out.avi }}} a black rectangles are visible it's either a bug in encoder or decoder - I don't know -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10070: apng enc artefacts -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by Elon Musk): * status: reopened => closed * resolution: => invalid Comment: You need to be always precise in your reports, otherwise they are not useful and just pile up like junk. APNG encoder is not buggy in this case, nor SRGC decoder. Video have alpha with moving mouse pointer. Post what input/output should look like.... -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10070: apng enc artefacts -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by ami_stuff): I was talking about a possible bug in apng decoder, not srgc... When one convert directly "gold2.avi" file to "out.avi", there won't be any visible artefacts/black rectangles while playing the output "out.avi" file with ffplay: {{{ ffmpeg -i gold2.avi out.avi }}} {{{ ffplay out.avi }}} but when one do conversion like this: {{{ ffmpeg -i gold2.avi out.apng }}} {{{ ffmpeg -i out.apng out.avi }}} {{{ ffplay out.avi }}} artefacts/black rectangles will be visible while playing the output "out.avi" file with ffplay How is this not a bug? -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10070: apng enc artefacts -------------------------------------+------------------------------------- Reporter: ami_stuff | Owner: (none) Type: defect | Status: closed Priority: normal | Component: | undetermined Version: unspecified | Resolution: invalid Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by Elon Musk): Perhaps you forget to remove alpha?, use -vf format=rgb0 next time. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10070#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg