![]() Sorry, can't help with the VB6 part, but would assume it is straight forward to capture output from a process you shell out. This is something you can overcome within your own code. On *nix at least, ffmpeg writes this output to std err, and the status lines that you need to capture do not have a line feed, and so overwrite the previous status line. The app will read h264 stream from ffmpeg stdout. ffmpegX jumps to 'finished' crashes computer, lost progress.app Poll: Do you like downloading and installing software Be advised that this is a public poll: other users can see the choice(s) you selected. I do not believe having ffmpeg write to a log file is going to work. With -debug pict after some progress with input files and rtmp handshaking. Do the division (time / duration) and you have a percentage!."frame= 2816 fps=667 q=11.0 Lsize= 13036kB time= 187.66 bitrate= 569.1kbits/s" (CR terminated, no LF) ffmpegX is a graphic user interface designed to easily operate more than 20 powerful Unix open-source video- and audio-processing tools including ffmpeg the 'hyper fast video and audio encoder', mpeg2enc the open-source mpeg-2 encoder and multiplexer, and mencoder the mpeg-4 encoder with subtitles support. ![]() ![]() From that point onward, parse the CR and look for the time (in seconds) completed values.Find the 'Duration' line, store the time value as seconds in an integer.Parse the output line by line (both CR and LF) npm install ffmpeg-progress-wrapper yarn ffmpeg-progress-wrapper.You need to read ffmpeg output as it is produced.I have written this exact same thing for Java on OSX. In case anybody is interested, i find a nice class module on how to grab the cmd output into my vb6 app, and it's by none other than the great joacim ? So which function should i call for the win32 api?Īnd does anyone knows of a better/easier way to get this done? So here's my plan, I'm thinking of finding a win32 api function which i can call the cmd line and yet hide it, and from another discussion here, i think i would have to read the log file to get the ffmpeg progress information. I want to control the conversion progress interactively. ![]() So basically, i'm looking into a way how i could cleanly hide the whole command prompt and link the transcoding progress to a progress bar into my gui. We need a linux shell script with a Gstreamer or ffmpeg application on linux server to do. ![]() And i thought this was the norm seeing how WinFF, another pascal based frontend gui for ffmpeg works.īut i was blown away when i saw this other GVC gui which has a progress bar and everything. pip3 install -user meson ffmpeg-progress-yield
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |