[FFmpeg-trac] #8454(avdevice:new): No PixelFormatTag for P010 (fourcc 0x30313050)
FFmpeg
trac at avcodec.org
Thu Jan 2 23:51:32 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):
Awesome, thanks for the quick response. I didn't have an env +
dependencies set up for this project yet (typically work in .Net), so that
took a bit of time. The new executable recognizes p010 from the capture
card. I only made the patch to raw.c, left off the patch to dshow.c, as
the avpriv_find_pix_fmt func already spins through the list of pixel
formats from raw.c looking for a fourcc match, so it wins by default :)
Thanks!
For my testing, first captured raw video:
ffmpeg -hide_banner -y -f dshow -video_size 3840x2160 -pix_fmt p010 -r 30
-rtbufsize 2047.48M -i video="AVerMedia HD Capture GC573 1" -c:v copy
d:\out.yuv
Then dumped into avi:
ffmpeg -f rawvideo -video_size 3840x2160 -pix_fmt p010 -rtbufsize 2047.48M
-i d:\out.yuv -pix_fmt p010 -c:v magicyuv d:\out.avi
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8454#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list