[Help] .jpg >>.bat >> vlc player

Discussion in 'Scripting' started by hasomaso, Aug 5, 2012.

  1. hasomaso

    hasomaso MDL Novice

    Aug 3, 2012
    28
    3
    0
    #1 hasomaso, Aug 5, 2012
    Last edited by a moderator: Apr 20, 2017
    Hello MDL,

    i am new here and need help.
    my english is not perfect sorry o_O

    i've created a .bat file with this parameter
    This parameter allows me to conjure up a picture on vlc
    Unfortunately, the image is displayed only 2 seconds

    I want the image to last longer!
    can someone please help me

    Code:
    @echo off
    start c:\progra~1\videolan\vlc\vlc "xxxxxx.jpg" --meta-title=blablabla --height=400 --width=760





    thanks
    hasomaso
     
  2. Mr Jinje

    Mr Jinje MDL Expert

    Aug 19, 2009
    1,770
    1,101
    60
    #2 Mr Jinje, Aug 7, 2012
    Last edited by a moderator: Apr 20, 2017
    Try something like this.

    Code:
    "c:\Program Files (x86)\VideoLAN\VLC\vlc.exe" --run-time=20, "c:\Pics\Pic1.jpg" --fullscreen
    or change it slight to match your system.
     
  3. hasomaso

    hasomaso MDL Novice

    Aug 3, 2012
    28
    3
    0
    #3 hasomaso, Aug 7, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)

    hello Mr Jinge,

    thank you for your help, unfortunately this method does not work :g:
    do you have any other ideas?





    thanks
    hasomaso
     
  4. hasomaso

    hasomaso MDL Novice

    Aug 3, 2012
    28
    3
    0
    no one can help ?
     
  5. Dos_Probie

    Dos_Probie MDL Senior Member

    Jul 18, 2012
    250
    86
    10
    That's because its a .jpg and not a audio or video stream!
    add this 10sec ping delay to end of your code.
    ping 1.1.1.1 -n 1 -w 10000 >null