Changes between Version 18 and Version 19 of DirectShow


Ignore:
Timestamp:
Mar 13, 2014, 6:43:15 PM (6 years ago)
Author:
rogerdpack
Comment:

add pixel_format example

Legend:

Unmodified
Added
Removed
Modified
  • DirectShow

    v18 v19  
    6060You can see in this particular instance that it can either stream it to you in a "raw pixel_format" (yuyv422 in this case), or as an mjpeg stream.
    6161
    62 You can specify the type (mjpeg) and size (1280x720) and frame rate to tell the device to give you (15 fps):
     62{{{ ffmpeg -f dshow -video_size 1280x720 -framerate 7.5 -pixel_format yuyv422 -i video="Integrated Camera" out.avi }}}
     63
     64You can specify the type (mjpeg) and size (1280x720) and frame rate to tell the device to give you (15 fps) (note for instance, in this instance, the camera can give you a higher frame rate/size total if you specify mjpeg):
    6365
    6466{{{ ffmpeg -f dshow -video_size 1280x720 -framerate 15 -vcodec mjpeg -i video="Integrated Camera" out.avi }}}