[FFmpeg-devel] video_codec_id not set?

Roger Pack rogerdpack2 at gmail.com
Fri Sep 21 21:37:28 CEST 2012


Hello. Question:

if I run ffmpeg like this:

$ ffmpeg -f dshow -vcodec h264 -i ...

Then I noticed that the value ctx->video_codec_id in
libavformat/dshow.c is appropriately set to "h264"

However, if I replace "-vcodec" with "-c:v" like this:

$ ffmpeg -f dshow -c:v h264 -i ...

It appears to not get set. Anybody know if it's expected?
Thanks!
-roger


More information about the ffmpeg-devel mailing list