-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid FPS with dshow usb camera #514
Comments
check the log,it seems to be ffmpeg? FFmpeg Log: |
Hi @LazyCuteLion, flyleaf sets the proper ffmpeg parameters so I guess is an issue with FFmpeg? Can you try ffmpeg itself? |
ffmpeg can not play , i tested by ffplay,it is ok. |
if use ffmpeg to record a video (command:ffmpeg -f dshow -video_size 1920x1080 -framerate 30 -vcodec mjpeg -i video="USB Camera" "D:\xxxx.mp4") it is ok. |
There is no point to test the FFmpeg if you transcode it to mp4 for example. Did you say that ffplay works or not? Possible try mpv as well? |
ffplay work, the command:-f dshow -video_size 1920x1080 -framerate 30 -vcodec mjpeg -i video="USB Camera" |
I can't think how Flyleaf will change the framerate itself. So something is wrong with ffmpeg and framerate parameter in your case. Wondering if FFmpeg version 5/6 have both the same issue. I will need to test it with a camera and reproduce it myself but to be honest, nobody complained for such an issue so far. Might something specific with your case. A trace log would help (both for flyleaf and ffmpeg) |
check the log(disable HW): last line is same to ffmpeg itself ( Stream #0:0: Video: mjpeg (Baseline) (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/bt709/unknown), 1920x1080, 30 fps, 30 tbr, 10000k tbn). |
Besides, you don't seem to have noticed of [#498]? |
I don't think this is an issue with Pixel Format. I think is an issue with timestamps, that's why I asked you for flyleaf's trace log. |
when play with camera, i choose the menu-item[MJPG,1920x1080,30FPS],but actually play with [YUY2,1920x1080,5FPS].
The text was updated successfully, but these errors were encountered: