Results 1 to 5 of 5

Thread: video Thumbnails Maker

  1. #1

    Thread Starter
    Addicted Member frozie's Avatar
    Join Date
    Apr 2010
    Posts
    146

    video Thumbnails Maker

    Hi i want to make a Thumbnails Maker, that makes 20 picture of a video and then a file save dialog will appear when its dune. this is my design i have right now



    this is my code on choose button
    Code:
            Dim image As New OpenFileDialog
            image.Filter = "Video´s (*.avi,*.wmv)|*.avi;*.wmv"
    
            If image.ShowDialog = Windows.Forms.DialogResult.OK Then
                TextBox1.Text = image.FileName
    
            Else : Exit Sub
            End If
    Thx
    Last edited by frozie; Aug 13th, 2010 at 05:24 PM.

  2. #2
    Fanatic Member
    Join Date
    Nov 2007
    Posts
    520

    Re: video Thumbnails Maker

    you'd have to somehow 'play' the video to be able to make thumbnails from it. Do you have that part taken care of?

  3. #3

    Thread Starter
    Addicted Member frozie's Avatar
    Join Date
    Apr 2010
    Posts
    146

    Re: video Thumbnails Maker

    no, i only have the parts you see on the first post

  4. #4

  5. #5

    Thread Starter
    Addicted Member frozie's Avatar
    Join Date
    Apr 2010
    Posts
    146

    Re: video Thumbnails Maker

    vb Code:
    1. Dim p As Process
    2. Dim pInfo As New ProcessStartInfo()
    3. pInfo.FileName = "\bin\ffmpeg.exe"
    4. pInfo.WindowStyle = ProcessWindowStyle.Hidden
    5. pInfo.Arguments = String.Format("-y -i ""{0}"" -f mjpeg -ss 5 -vframes 1 ""{1}""", , )
    6.  
    7. p = Process.Start(pInfo)
    8. While (Not p.HasExited)
    9. System.Threading.Thread.Sleep(10)
    10. End While

    i dont understand have to add that part where and have to my project ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width