Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#1 | Link |
Quality Whore
Join Date: Dec 2009
Location: Scotland
Posts: 14
|
Hiding command line and exchanging info.
Hey, developing my own x264 encoder GUI but I need some help!
I've got everything done but when I click encode, the x264 command pops up and I don't really know how to hide it... I have a progress bar on my application also which shows what percentage it's supposed to be at, but I have no clue as to how to tell x264 to send the info to my app... Working in ASP/VB.NET but willing to convert to C#. |
![]() |
![]() |
![]() |
#2 | Link |
clueless n00b
![]() Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,579
|
If you're willing to go the open source route, there's staxrip that you can look at... it's written in VB.NET.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org |
![]() |
![]() |
![]() |
#4 | Link |
Software Developer
![]() Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,257
|
You will need to redirect x264's console output to your own application and parse it. Then you can "extarct" the current progress.
To hide the console window, set STARTUPINFO.wShowWindow to SW_HIDE and add STARTF_USESHOWWINDOW to STARTUPINFO.dwFlags when calling CreateProcess ![]() See for details: http://msdn.microsoft.com/en-us/libr...(v=VS.85).aspx A great article on how to redirect the STDOUT to your own application can be found here: http://support.microsoft.com/?scid=k...190351&x=0&y=0
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊ |
![]() |
![]() |
![]() |
#5 | Link |
Registered User
Join Date: Jun 2002
Location: On thin ice
Posts: 6,846
|
__________________
https://github.com/stax76/software-list https://www.youtube.com/@stax76/playlists |
![]() |
![]() |
![]() |
Tags |
developement, encoder, gui, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|