Changes between Version 22 and Version 23 of DirectShow


Ignore:
Timestamp:
Mar 24, 2014, 7:22:36 PM (6 years ago)
Author:
rogerdpack
Comment:

hmm not sure about the synchronism...

Legend:

Unmodified
Added
Removed
Modified
  • DirectShow

    v22 v23  
    6868You can specify "-vcodec copy" to [http://ffmpeg.org/ffmpeg.html#Stream-copy stream copy] the video instead of re-encoding, if you can receive the data in some type of pre-encoded format, like mjpeg in this instance.
    6969
    70 Also this note [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=27 that] the input string is in the format video=<video device name>:audio=<audio device name>. It is possible to have two separate inputs (like -f dshow -i audio=foo -f dshow -i video=bar) but limited tests had shown a better synchronism when both were used in the same input.
     70Also this note [http://ffmpeg.zeranoe.com/forum/viewtopic.php?f=3&t=27 that] the input string is in the format video=<video device name>:audio=<audio device name>. It is possible to have two separate inputs (like -f dshow -i audio=foo -f dshow -i video=bar) though some limited tests had shown a difference in  synchronism between the two options.
    7171
    72 Also note that you can only at most have 2 streams at once (one audio and one video).  Ask if you want this improved.
     72Also note that you can only at most have 2 streams at once (one audio and one video, like -i video=XX:audio=YY).  Ask if you want this improved.  You can have multiples one after the other, however, like -f dshow -i video=XX:audio=ZZ -f dshow -i video=ZZ:audio=QQ etc.  FFmpeg can also "merge/combine" audio inputs using its amix filter.
    7373
    7474See the [http://ffmpeg.org/ffmpeg-devices.html#dshow FFmpeg dshow input device documentation] for a list of more dshow options you can specify. For instance you can decrease latency on audio devices, or specify a video by "index" if two have the same name, etc.