https://foro.gambas-es.org/viewtopic.php?f=10&t=5445&p=32253#p32253
-----------------------------------
vuott
Lunes, 09 May 2016, 01:06

Re: Videotutoriales: Contenedores !!!!
-----------------------------------
...descargamolos:     :grin: 

[code linenumbers=false syntax=gambas]Private pr As Process


Public Sub Button1_Click()

  Dim youtube, dest As String

    youtube = "http://youtube.com/watch?v=JZEpDKYwzKw"
    
    dest = "/tmp/file_01.mpg"

    pr = Shell "cvlc " & youtube & " --sout=#transcode{vcodec=mp2v,fps=60,width=1080,vb=64,acodec=mp2a,ab=64,scale=1,channels=2,deinterlace,audio-sync}" &
               ":standard{access-file,mux=ts,dst=" & dest & "}"

End


Public Sub Button2_Click()   '  CERRAR EL PROGRAMA SIEMPRE PRESIONANDO ESTE BUTTON

  pr.Kill
    
  Me.Close

End[/code]


