![]() ![]() ![]() Instead it uses 4 different parameters: -width, -height, -video-x, and -video-y. Unfortunately, VLC doesn't accept such a parameter - it has to be different. The standard way to do this is to use a -geometry flag that the application should recognize and accept a very specific format that looks like this: X++ - which is (not)incidentally the exact format that the X server query tool displays that information - run xrandr and see. To target a specific "screen" (the X11 term, which means a part of a display), you need to ask the X server which part of the display is mapped to the screen you want, and then force VLC to render to that area. In such a case, you basically can't "select an output port" - all outputs are on the same display (you can think of it as a virtual screen that covers all of your screens, and possibly more). multiple screens are used by the same "display" (in X11 terms). In conclusion, I still can NOT control the SIZE of the output video window either the pop-up window ( in Try1/Try2/Tr圓) or the embedded/overlapped window(in Try4).īasically, what I want is just to control the size and position of the output video window which can be either in the pop-up window or embedded in the overlapped window.I'm not sure how Raspbian OS handle multiple outputs, but I'm assuming its using the current common practice, which is to use Xinerama - i.e. There was not video pop-up window anymore. > result: the size of the output video window(overlapped) was NOT changed by the width/height, but it was scaled down to the size of the video control window(overlapped). Try 4: -no-qt-video-autoresize -autoscale -width=200 -height=200 -video-x=100 -video-y=100 myvideo.mp4 ![]() Try 3: -no-embedded-video -no-qt-video-autoresize -width=200 -height=200 -video-x=100 -video-y=100 myvideo.mp4 Try 2: -no-embedded-video -autoscale -width=200 -height=200 -video-x=100 -video-y=100 myvideo.mp4 > result: the size of the output video window(pop-up) was NOT changed by the width/height and it was still the same as the size of my input video Try 1: -no-embedded-video -no-qt-video-autoresize -autoscale -width=200 -height=200 -video-x=100 -video-y=100 myvideo.mp4 Thanks for your reply! But I tried your options and they didn't work in my Windows 7 PC here. (3)How to add in the "transcode" or "scale" options in VLC command-line to control the output video window size? The size of the pop-up video window was the same be before without any change? So, my third question is: It looked like the transcoder didn't work at all. (2)If these twp size parameters don't work, I may add in a transcoder to control the output video window size? I tried the following command:Ĭ:\Applications\VLC>vlc.exe -no-embedded-video -video-x=100 -video-y=100 -sout-transcode-width=400 -sout-transcode-height=400 Movie1080p_1.mp4 (1)How to use these two size parameters "-width= -height=" to control the size of the pop-up video output window? The size of the pop-up video window seemed to be the same as the size(resolution) of the video source file(1920X1080). It looked like I can control the position(video-x,video-y) of the pop-up video window now, but NOT the size(width,height) of the it. Now, I used the following command-line command:Ĭ:\Applications\VLC>vlc.exe -no-embedded-video -video-x=100 -video-y=100 -width=400 -height=400 Movie1080p_1.mp4 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |