[FFmpeg-trac] #8454(avdevice:new): No PixelFormatTag for P010 (fourcc 0x30313050)

FFmpeg trac at avcodec.org
Wed Jan 29 07:00:49 EET 2020


#8454: No PixelFormatTag for P010 (fourcc 0x30313050)
-------------------------------------+------------------------------------
             Reporter:  pheedbaq3    |                    Owner:
                 Type:  enhancement  |                   Status:  new
             Priority:  wish         |                Component:  avdevice
              Version:  git-master   |               Resolution:
             Keywords:  dshow        |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+------------------------------------

Comment (by pheedbaq3):

 Replying to [comment:16 cehoyos]:
 > FFmpeg's self test is called fate, you run it with `make fate` which is
 sufficient to see the issue (that nut does not define a tag for P010
 iiuc).

 So I ran the tests.  First run, I got the same error that I believe you
 were referring to.  Based on that I added the tag for P010 to nut.c.
 Second run, that error is now gone, but I get a different, nondescript (to
 my eyes anyway) error now.  Whatever it is, it is apparently choking on
 the fifth or sixth frame (depending on whether it counts the first as
 frame 0) in the sequence it's running:


 {{{
 ffmpeg version N-96535-g9793427c9e Copyright (c) 2000-2020 the FFmpeg
 developers
   built with Microsoft (R) C/C++ Optimizing Compiler Version 19.24.28314
 for x64
   configuration: --target-os=win64 --arch=x86_64 --toolchain=msvc
   libavutil      56. 38.100 / 56. 38.100
   libavcodec     58. 67.100 / 58. 67.100
   libavformat    58. 36.100 / 58. 36.100
   libavdevice    58.  9.103 / 58.  9.103
   libavfilter     7. 71.100 /  7. 71.100
   libswscale      5.  6.100 /  5.  6.100
   libswresample   3.  6.100 /  3.  6.100
 Input #0, image2, from
 'c:/Users/User1/source/repos/ffmpeg/tests/vsynth1/%02d.pgm':
   Duration: 00:00:02.00, start: 0.000000, bitrate: N/A
     Stream #0:0: Video: pgmyuv, yuv420p, 352x288, 25 fps, 25 tbr, 25 tbn,
 25 tbc
 Stream mapping:
   Stream #0:0 -> #0:0 (pgmyuv (native) -> rawvideo (native))
 Output #0, nut, to 'md5:':
     Stream #0:0: Video: rawvideo (P010 / 0x30313050), p010le, 352x288,
 q=2-31, 38016 kb/s, 25 fps, 51200 tbn, 25 tbc
     Metadata:
       encoder         : Lavc rawvideo
 frame=    5 fps=0.0 q=-0.0 Lsize=    1485kB time=00:00:00.16
 bitrate=76042.9kbits/s speed=12.3x
 video:1485kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
 muxing overhead: 0.026831%
 }}}

 Not quite sure what to do at this point :\

--
Ticket URL: <https://trac.ffmpeg.org/ticket/8454#comment:18>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list