Jump to content

Get Info from ffmpeg


jeantje
 Share

Recommended Posts

  • Developers

That's not surprising.... have a look at the helpfile at the shown examples for these commands.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

No need to PM me, just post here.

Try:

#include <Constants.au3>
$ffmpeg = Run(@ComSpec & " /C " & "ffmpeg.exe -i sdf.mp4 -f avi -r 10 -s 256x192 -b 192k -bt 64k -vcodec mpeg4 -deinterlace -acodec mp3 -ar 32000 -ab 96k -ac 2 tuna-vids.avi", "", @SW_HIDE,$STDERR_MERGED)
Sleep(500)
While 1
    $Out = StdoutRead($ffmpeg)
    MsgBox(0, $Out, "")
WEnd

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

No need to PM me, just post here.

Try:

#include <Constants.au3>
$ffmpeg = Run(@ComSpec & " /C " & "ffmpeg.exe -i sdf.mp4 -f avi -r 10 -s 256x192 -b 192k -bt 64k -vcodec mpeg4 -deinterlace -acodec mp3 -ar 32000 -ab 96k -ac 2 tuna-vids.avi", "", @SW_HIDE,$STDERR_MERGED)
Sleep(500)
While 1
    $Out = StdoutRead($ffmpeg)
    MsgBox(0, $Out, "")
WEnd

Jos

ok that's done so thank you but i have another question it returns something in a messagebox and now i only want to set the value in the red box on the image in an label so how do i do that
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...