VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or buy Replay Video Capture or PlayON and record Netflix, HBO, etc! :)
+ Reply to Thread
Results 1 to 6 of 6
Thread
  1. where do you change the size of ffplay preview window
    Quote Quote  
  2. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Use -x width and -y height.
    https://ffmpeg.org/ffplay.html
    Quote Quote  
  3. Originally Posted by Budman1 View Post
    Use -x width and -y height.
    https://ffmpeg.org/ffplay.html
    so on this .bat file where do I add -x -y

    Code:
     @setlocal
    @set ffply= "E:USBDRIVE:\ffmpeg-3.4-win64-static\bin\ffplay.exe"
    @%ffply% -i "%1"  -vf "delogo=x=549:y=436:w=167:h=96:show=1" 
    @endlocal
    @pause
    Quote Quote  
  4. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    The following works on my computer. I removed the quotes from %1 since my version of Windows adds them automatically. Yours may or may not add if there are spaces.
    I also just threw in a delogo dimensions not necessarily correct but just to demonstrate on my video.

    Code:
    @setlocal
    @set ffply= "E:USBDRIVE:\ffmpeg-3.4-win64-static\bin\ffplay.exe"
    @%ffply% -i "%1"  -vf "delogo=x=549:y=436:w=167:h=96:show=1" 
    @endlocal
    @pause
    ORIGINAL:
    Image
    [Attachment 43929 - Click to enlarge]


    -----------------------------------------------------------------------
    Code:
    @setlocal
    @set ffply= "c:\users\bud\desktop\ffplay.exe"
    @%ffply% -x 720 -y 404 -i %1 -vf "delogo=x=480:y=380:w=167:h=96:show=1" 
    @endlocal
    @pause
    RESIZED:
    Image
    [Attachment 43928 - Click to enlarge]
    Quote Quote  
  5. You can check also mpv player, it is player that has command line controls and regarding of that resize, it has a cool resizing possibilities, it is in pdf, personally I decided to use it instead of ffplayer in scripts. It also plays files almost gap-less without visible interruptions, that is cool also. Examples about resizing:
    --window-scale=0.5
    --autofit-larger=70%x60%
    --geometry=98%:90%
    Quote Quote  
  6. Originally Posted by Budman1 View Post
    The following works on my computer. I removed the quotes from %1 since my version of Windows adds them automatically. Yours may or may not add if there are spaces.
    I also just threw in a delogo dimensions not necessarily correct but just to demonstrate on my video.

    Code:
    @setlocal
    @set ffply= "E:USBDRIVE:\ffmpeg-3.4-win64-static\bin\ffplay.exe"
    @%ffply% -i "%1"  -vf "delogo=x=549:y=436:w=167:h=96:show=1" 
    @endlocal
    @pause
    ORIGINAL:
    Image
    [Attachment 43929 - Click to enlarge]


    -----------------------------------------------------------------------
    Code:
    @setlocal
    @set ffply= "c:\users\bud\desktop\ffplay.exe"
    @%ffply% -x 720 -y 404 -i %1 -vf "delogo=x=480:y=380:w=167:h=96:show=1" 
    @endlocal
    @pause
    RESIZED:
    Image
    [Attachment 43928 - Click to enlarge]


    oh I added the x and y in wrong place then as I put it after the %1 instead of before the -i thanks



    Originally Posted by _Al_ View Post
    You can check also mpv player, it is player that has command line controls and regarding of that resize, it has a cool resizing possibilities, it is in pdf, personally I decided to use it instead of ffplayer in scripts. It also plays files almost gap-less without visible interruptions, that is cool also. Examples about resizing:
    --window-scale=0.5
    --autofit-larger=70%x60%
    --geometry=98%:90%

    ok will try that too
    Quote Quote  



Similar Threads