Opened 6 months ago

Closed 6 months ago

#7761 closed defect (invalid)

Fast video to image conversion - QuickSync

Reported by: kptikku Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

I was trying out various flags to convert a video (eg. from rtsp stream) to an image.

The below command works, when dumping to null:

./ffmpeg -hwaccel qsv -c:v h264_qsv -init_hw_device qsv=foo -filter_hw_device foo -rtsp_transport tcp -i rtsp://user:pass@ipaddr:port/Streaming/Channels/101 -f null -

This is the details about the output format for the above command:

Stream #0:0: Video: wrapped_avframe, qsv, 1920x1080 [SAR 189:190 DAR 168:95], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc

As seen, the pixel format is qsv. Formatting it to bgr24 etc are computationally expensive. Therefore, I would like to dump the frames in qsv format itself. Is this possible? If yes, what is the file extension? If no, what are the other alternatives to dump to image with very less cpu utilization?

Change History (1)

comment:1 Changed 6 months ago by cehoyos

  • Component changed from ffmpeg to undetermined
  • Resolution set to invalid
  • Status changed from new to closed
  • Type changed from task to defect

This is a bug tracker, please post all usage questions on the FFmpeg user mailing list.

Note: See TracTickets for help on using tickets.