[FFmpeg-trac] #10264(swscale:open): DXV encoded video playback contains horizontal lines

FFmpeg trac at avcodec.org
Sat Mar 18 18:45:49 EET 2023


#10264: DXV encoded video playback contains horizontal lines
------------------------------------+-----------------------------------
             Reporter:  low-batt    |                    Owner:  (none)
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  swscale
              Version:  git-master  |               Resolution:
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Comment (by low-batt):

 I can't speak to the validity of the sample DXV video file. As the user
 reporting the problem in IINA issue
 [https://github.com/iina/iina/issues/4269 #4269] did not provide an
 example file I searched the net for a free DXV sample and found the
 referenced file. As playback of that video using the mpv player showed
 horizontal lines and playback with VLC didn't, I reported that fact in mpv
 issue [https://github.com/mpv-player/mpv/issues/11457 #11457]. The mpv
 project reported reproducing the problem with FFplay, asked me to report
 the issue to FFmpeg and closed the mpv issue.

 I was unaware VLC does not support transparency.

 I searched the net again for additional free DXV video samples to test
 with. I struck out. I kept finding videos that are for sale. And toilets
 and sinks.

 It certainly could be the case that both the video I found and the IINA
 user's video are not valid.

 When I invoke ffmpeg with the specified options it reports errors, but
 does generate the PNG file, which I have attached. If you need me to run
 it again with different options, just ask. I'm happy to help. Thank you
 for looking into this.

 {{{
 low-batt at gag ffmpeg (master $%=)$ ./ffmpeg -i
 ~/Movies/Samoan_20_Ring_Into.mov -compression_level 9 -pred mixed
 bugggy.png
 ffmpeg version N-110014-ga6e9d01f88 Copyright (c) 2000-2023 the FFmpeg
 developers
   built with Apple clang version 14.0.0 (clang-1400.0.29.202)
   configuration: --enable-libjxl
   libavutil      58.  3.100 / 58.  3.100
   libavcodec     60.  6.101 / 60.  6.101
   libavformat    60.  4.100 / 60.  4.100
   libavdevice    60.  2.100 / 60.  2.100
   libavfilter     9.  4.100 /  9.  4.100
   libswscale      7.  2.100 /  7.  2.100
   libswresample   4. 11.100 /  4. 11.100
 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/low-
 batt/Movies/Samoan_20_Ring_Into.mov':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     creation_time   : 2019-10-02T14:28:36.000000Z
   Duration: 00:00:08.00, start: 0.000000, bitrate: 102271 kb/s
   Stream #0:0[0x1](eng): Video: dxv (DXD3 / 0x33445844),
 rgba(gbr/unknown/unknown), 1920x1080, 102260 kb/s, SAR 1:1 DAR 16:9, 60
 fps, 60 tbr, 60 tbn (default)
     Metadata:
       creation_time   : 2019-10-02T14:28:36.000000Z
       handler_name    : Apple Video Media Handler
       vendor_id       : RSLM
       encoder         : DXV 3
       timecode        : 00:00:00:00
   Stream #0:1[0x2](eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
     Metadata:
       creation_time   : 2019-10-02T14:41:37.000000Z
       handler_name    : Time Code Media Handler
       timecode        : 00:00:00:00
 Stream mapping:
   Stream #0:0 -> #0:0 (dxv (native) -> png (native))
 Press [q] to stop, [?] for help
 Output #0, image2, to 'bugggy.png':
   Metadata:
     major_brand     : qt
     minor_version   : 537199360
     compatible_brands: qt
     encoder         : Lavf60.4.100
   Stream #0:0(eng): Video: png, rgba(gbr/unknown/unknown, progressive),
 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 60 fps, 60 tbn (default)
     Metadata:
       creation_time   : 2019-10-02T14:28:36.000000Z
       handler_name    : Apple Video Media Handler
       vendor_id       : RSLM
       timecode        : 00:00:00:00
       encoder         : Lavc60.6.101 png
 [image2 @ 0x123e070f0] The specified filename 'bugggy.png' does not
 contain an image sequence pattern or a pattern is invalid.
 [image2 @ 0x123e070f0] Use a pattern such as %03d for an image sequence or
 use the -update option (with -frames:v 1 if needed) to write a single
 image.
 [image2 @ 0x123e070f0] Cannot write more than one file with the same name.
 Are you missing the -update option or a sequence pattern?
 av_interleaved_write_frame(): Invalid argument
 [out#0/image2 @ 0x600001984240] Error muxing a packet
 frame=    2 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.20 bitrate=N/A
 speed=0.208x
 video:780kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: unknown
 Conversion failed!
 low-batt at gag ffmpeg (master $%=)$
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10264#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list