Re: [FFmpeg-user] dshow questions

2020-08-08 Thread Edward Park
Hi,

> Is -vcodec in this case an undocumented option of the dshow input device? I 
> ask because it's written before -i.
> Or is it an option for the output, and could (or should?) be written before 
> the output file?

I think it's not documented because it's deprecated, ultimately it's equivalent 
to codec:v, which is listed as input/output option.

> Why is each line listed twice? Might there be a difference between the lines, 
> but FFmpeg can't show what the difference is?

That is weird, maybe it is listing them once for device then for the pin? Or it 
tries to list video and audio properties but the audio falls back to the video 
device?

Regards,
Ted Park

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] dshow questions

2020-08-08 Thread Michael Koch

Am 08.08.2020 um 13:41 schrieb Moritz Barsnick:

On Sat, Aug 08, 2020 at 11:23:28 +0200, Michael Koch wrote:

ffmpeg -f dshow -video_size 1280x720 -framerate 15 -vcodec mjpeg -i
video="Integrated Camera" out.avi

Is -vcodec in this case an undocumented option of the dshow input
device? I ask because it's written before -i.
Or is it an option for the output, and could (or should?) be written
before the output file?

As other documentation indicates, "-c" ("-codec", -"vcodec") can be
either an input or an output option. As an input option, it either
tells ffmpeg which codec an input has, or in this case, it also tells
the input device which codec to choose (i.e. emit).


Thanks for your answer, that makes sense.


Question 2:
I have this HDMI to USB converter (which is working very good, by the way):
https://www.ebay.de/itm/1080P-HDMI-Videoaufnahme-Video-Capture-Card-Grabber-USB2-0-Recorder-Adapter/293641909414

[...]

[dshow @ 00374800]   pixel_format=yuyv422  min s=640x480 fps=5 max 
s=640x480 fps=30
[dshow @ 00374800]   pixel_format=yuyv422  min s=640x480 fps=5 max 
s=640x480 fps=30
video=USB Video: Immediate exit requested

Why is each line listed twice? Might there be a difference between the
lines, but FFmpeg can't show what the difference is?

I can't help you with this, sorry.


I see the same behaviour also with the built-in webcam in my notebook. 
All lines are listed twice.


Michael

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] dshow questions

2020-08-08 Thread Moritz Barsnick
On Sat, Aug 08, 2020 at 11:23:28 +0200, Michael Koch wrote:
> ffmpeg -f dshow -video_size 1280x720 -framerate 15 -vcodec mjpeg -i
> video="Integrated Camera" out.avi
>
> Is -vcodec in this case an undocumented option of the dshow input
> device? I ask because it's written before -i.
> Or is it an option for the output, and could (or should?) be written
> before the output file?

As other documentation indicates, "-c" ("-codec", -"vcodec") can be
either an input or an output option. As an input option, it either
tells ffmpeg which codec an input has, or in this case, it also tells
the input device which codec to choose (i.e. emit).

> Question 2:
> I have this HDMI to USB converter (which is working very good, by the way):
> https://www.ebay.de/itm/1080P-HDMI-Videoaufnahme-Video-Capture-Card-Grabber-USB2-0-Recorder-Adapter/293641909414
[...]
> [dshow @ 00374800]   pixel_format=yuyv422  min s=640x480 fps=5 max 
> s=640x480 fps=30
> [dshow @ 00374800]   pixel_format=yuyv422  min s=640x480 fps=5 max 
> s=640x480 fps=30
> video=USB Video: Immediate exit requested
>
> Why is each line listed twice? Might there be a difference between the
> lines, but FFmpeg can't show what the difference is?

I can't help you with this, sorry.

Cheers,
Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".