I want to capture some streams of some old 4x3 content. I guess it is 640x480. I do not want to blow it up to full screen. I would like to capture just the browsers playback window using OBS Studios region capture. I want to use Firefox or I could use the MS browser. I have noticed before, that when you change bit rate or resolution, the browsers window does not change size. How do I size the browsers playback window to match the incoming stream size?
Also, is there any way to detect what FPS the video is streaming at?
Sorry: Wrong forum - I thought I was in the downloading forum
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
Last edited by ChasVideo; 25th Jul 2019 at 05:06.
-
You do not.
A browser's window is just that - a window. It can be resized but it does not affect what is inside it.
To do what you want you select Region (or whatever it is called - I am not familiar with that program) and move the crop bars to the edges of the playback then that is all you will capture. -
Maybe you can just download the stream instead of screen capture. Try youtube-dl.
-
This is quite easy if you have a dual monitor setup, but probably works with a single, too. Set OBS to capture a 640x480 space on the other monitor. Then carefully position the browser window to exactly fill that space with the video.
I'd also recommend capturing at 29.97 or 30fps at a very high bit rate using the "slowest" encoder speed that your system will tolerate without dropping frames. Then re-encode the recording with high quality to reduce the size while also decimating frames if needed. -
I don't think the OP's problem is matching the capture frame size to the browser's video widow size, it's matching the browser video window size to the incoming video frame size to get 1:1 mapping of the incoming video to the window:
It's very common for those not to match because the person authoring the page is concerned about the page layout, not perfectly matching the video frame to the window. For example at:
https://arstechnica.com/gaming/2019/07/weve-got-our-first-peek-at-s4-of-the-expanse-an...e-december-13/
The video's window size is 800x449 but the video playing in it is 854x480.
In some cases you can change the browser's overall window size because the video windows scales with the browser. But in many cases the page doesn't scale with the browser. In cases like that you can sometimes edit the page source while in the browser. Or save the page locally, edit it, then, play it from there. But that can be quite complicated and may not work. It's better and easier to download the video directly from the source.
Of course, with this particular video the source is at youtube.com:
https://www.youtube.com/watch?v=kNIim3xqsEU
You can just download the video directly from there with youtube-dl. You can use
Code:>youtube-dl -F https://www.youtube.com/watch?v=kNIim3xqsEU
Code:[youtube] kNIim3xqsEU: Downloading webpage [youtube] kNIim3xqsEU: Downloading video info webpage [info] Available formats for kNIim3xqsEU: format code extension resolution note 249 webm audio only DASH audio 52k , opus @ 50k, 377.23KiB 250 webm audio only DASH audio 68k , opus @ 70k, 495.87KiB 171 webm audio only DASH audio 127k , vorbis@128k, 897.44KiB 140 m4a audio only DASH audio 130k , m4a_dash container, mp4a.40.2@128k, 1.01MiB 251 webm audio only DASH audio 133k , opus @160k, 977.46KiB 278 webm 256x144 144p 95k , webm container, vp9, 24fps, video only, 621.80KiB 160 mp4 256x144 144p 108k , avc1.4d400c, 24fps, video only, 645.12KiB 242 webm 426x240 240p 195k , vp9, 24fps, video only, 1.02MiB 133 mp4 426x240 240p 245k , avc1.4d4015, 24fps, video only, 1.40MiB 243 webm 640x360 360p 356k , vp9, 24fps, video only, 1.58MiB 134 mp4 640x360 360p 500k , avc1.4d401e, 24fps, video only, 2.58MiB 244 webm 854x480 480p 623k , vp9, 24fps, video only, 2.54MiB 135 mp4 854x480 480p 1052k , avc1.4d401e, 24fps, video only, 4.92MiB 247 webm 1280x720 720p 1199k , vp9, 24fps, video only, 4.45MiB 136 mp4 1280x720 720p 1981k , avc1.4d401f, 24fps, video only, 9.14MiB 248 webm 1920x1080 1080p 2078k , vp9, 24fps, video only, 7.35MiB 137 mp4 1920x1080 1080p 3755k , avc1.640028, 24fps, video only, 16.83MiB 18 mp4 640x360 medium , avc1.42001E, mp4a.40.2@ 96k, 3.46MiB 43 webm 640x360 medium , vp8.0, vorbis@128k, 5.39MiB 22 mp4 1280x720 hd720 , avc1.64001F, mp4a.40.2@192k (best)
Code:>youtube-dl -f 135+140 https://www.youtube.com/watch?v=kNIim3xqsEU
-
First: Sorry for posting in the wrong forum. I thought I was in Video Streaming Downloading. Thanks for the replies.
I cannot use a YouTube down loader, they do not work on this site. I have had very good luck with Video DownloadHelper. I have used it for years. But this site knows how to block it. Anything better than VDH?
I like jagabos idea. I never thought about moving the browser to align with the OBS window. Then I will know if the browsers window size is correct. I do not see a way to resize the window that opens up to stream the video. If I need to, I will have to try playing with the page source as suggested. Beyond that I will not attempt. I have to find the post that explains how to set a region with OBS Studio.
Another idea I have is to set my desktop at 2x of 640x480 = 1280x960, since I can't go below 800x600 on my system. That will limit the scaling to a straight 2x which should not be too bad. I want to edit these videos so I will let the editor resize to 1080P and set all the options to best quality.
I have tried but I do not see a way to set up OBS Studio to have a 640x480 window.Last edited by ChasVideo; 25th Jul 2019 at 06:22.
-
Similar Threads
-
How to make GOM PLayer remember last window size?
By Maver1ck in forum Newbie / General discussionsReplies: 1Last Post: 8th Jun 2021, 14:41 -
can I set fixed size to video window
By mla in forum Video ConversionReplies: 2Last Post: 20th Oct 2018, 08:34 -
Window size and AR.
By John Sch in forum Newbie / General discussionsReplies: 0Last Post: 26th Jul 2018, 22:21 -
MPC window size
By Djko in forum Software PlayingReplies: 3Last Post: 30th Aug 2017, 14:02 -
How do I set preview window size in VirtualDub?
By paulot in forum Newbie / General discussionsReplies: 5Last Post: 30th Mar 2015, 16:36