Looking for Video FLV conversion and Color Picker
Moderator: Neosoft Support
Looking for Video FLV conversion and Color Picker
Hello all,
I am looking for a possible plugin to convert a video, for example a .avi file (or others) to a .flv file.
It's for use in the excellent PFlashAssist plugin Canvas. If you know of a solution, thank you in advance.
I am also looking for a way to integrate a color picker. I need to display the image below (in smaller, of course) and give the color picker to the user to choose.
https://i.gyazo.com/887be8a075e15324cd7 ... 3cb6eb.jpg
If you know of a solution, thank you in advance.
Cheers,
I am looking for a possible plugin to convert a video, for example a .avi file (or others) to a .flv file.
It's for use in the excellent PFlashAssist plugin Canvas. If you know of a solution, thank you in advance.
I am also looking for a way to integrate a color picker. I need to display the image below (in smaller, of course) and give the color picker to the user to choose.
https://i.gyazo.com/887be8a075e15324cd7 ... 3cb6eb.jpg
If you know of a solution, thank you in advance.
Cheers,
Re: Looking for Video FLV conversion and Color Picker
You may have a look at hpwImagePickColor (Page 6 sample demo)
Hans-Peter
Re: Looking for Video FLV conversion and Color Picker
I have version 2.60 and this command does not exist in the command-list. I'll get the update.
Thank you.
Thank you.
-
- Posts: 419
- Joined: Thu Oct 15, 2009 3:43 pm
Re: Looking for Video FLV conversion and Color Picker
A bit outdated and .net framework based, but may be of help
-
- Posts: 419
- Joined: Thu Oct 15, 2009 3:43 pm
Re: Looking for Video FLV conversion and Color Picker
for video conversion try to get familiar with ffmpeg console tool. Look for compiled releases for Windows.
Code: Select all
ffmpeg -i input.avi -y -ab 56 -ar 44100 -b 200k -r 15 -f flv output.flv
Re: Looking for Video FLV conversion and Color Picker
Used with this : viewtopic.php?p=11222476Tony Kroos wrote:A bit outdated and .net framework based, but may be of help
It'll be fine. Thank you Tony.
And Hans too, thank you it's great!
Full of new useful features in hpwImage 2.64.
But what is the GDI version ? (forgive my ignorance)
Cheers,
Re: Looking for Video FLV conversion and Color Picker
Hum, Windows 7 minimum : https://ffmpeg.zeranoe.com/builds/Tony Kroos wrote:for video conversion try to get familiar with ffmpeg console tool. Look for compiled releases for Windows.Code: Select all
ffmpeg -i input.avi -y -ab 56 -ar 44100 -b 200k -r 15 -f flv output.flv
Is it free and usable in a commercial app. ?
Merci.
-
- Posts: 419
- Joined: Thu Oct 15, 2009 3:43 pm
Re: Looking for Video FLV conversion and Color Picker
Try to look for older versions XP compatible. And its free under GPL licence. Haven't dealt with ffmpeg for a long time so idk in details.
Re: Looking for Video FLV conversion and Color Picker
Uses the gdi+ lib from Windows for drawing WMF vector files in hpwImage. (smooth antialiasing).But what is the GDI version ? (forgive my ignorance)
The seperate vesion should only be used when you can be sure to have Access to te gdi+ dll.
Regards
Hans-Peter
Re: Looking for Video FLV conversion and Color Picker
Tony Kroos,
I'm trying to run the dmColorBox plugin in my app., but without success.
With a button...This is the background image provided in the plugin. I just renamed it.
.NetFramework is installed on my system (W7 Pro 64-bit) :
https://i.gyazo.com/07526a8ed5e467ef473 ... e8c064.png
But nothing happens.
For the moment, I have not set any color in the harray variables.
I'm just trying to display the color palette of the plugin, but without result.
Does it work for you ?
Thank you.
I'm trying to run the dmColorBox plugin in my app., but without success.
With a button...
Code: Select all
SetVar "[ColorBox]" "[PubDir]Data\App\Images\Colors\ColorBox.png"
Code: Select all
dmColorCreate "[ColorBox]" "[LastColors]" "[SaveColors]"
dmColorShow "100" "100"
https://i.gyazo.com/07526a8ed5e467ef473 ... e8c064.png
But nothing happens.
For the moment, I have not set any color in the harray variables.
I'm just trying to display the color palette of the plugin, but without result.
Does it work for you ?
Thank you.
Re: Looking for Video FLV conversion and Color Picker
It's good, I found the problem.
The documentation (almost nonexistent) did not explain the contents of the second variable of the dmColorShow command.
It was enough to insert like this:
and no :
Superb, this colorsbox Big thank you!
The documentation (almost nonexistent) did not explain the contents of the second variable of the dmColorShow command.
It was enough to insert like this:
Code: Select all
dmColorShow "100,100" "[BgColor]"
Code: Select all
dmColorShow "100" "100"
-
- Posts: 419
- Joined: Thu Oct 15, 2009 3:43 pm
Re: Looking for Video FLV conversion and Color Picker
Shold be self-explanatory. [ColorSelected] its the variable name to store selected color, you see how it's used to change background color.The documentation (almost nonexistent) did not explain the contents of the second variable of the dmColorShow command.
See Page->Actions code for comments.
Re: Looking for Video FLV conversion and Color Picker
Tony and HPW,
Yes Tony, the .pub file is very explicit.
I relied on the plugin (in NB, by the mouse over the command)...
He says :
However, that does not solve the initial problem : find a color picker to use it with the image I gave :
https://i.gyazo.com/887be8a075e15324cd7 ... 3cb6eb.jpg
HPW : Sorry, I did not understand how to use the hpwImagePickColor command... For me, a lot of complexity for simple things. But I am aware that you have no choice, unfortunately. In this case, I do not need a camera with the mouse. Just display my image with a pick color. I do not understand how to display my image in the NB rectangle.
Yes Tony, the .pub file is very explicit.
I relied on the plugin (in NB, by the mouse over the command)...
He says :
But the usefulness of the second variable is not mentioned. So I thought of a simple mistake in the explanation, and of course, it could not work.USAGE: dmColorShow "[x],[y]"
[X],[Y]: (required) Screen coordinates of control's top-left corner.
However, that does not solve the initial problem : find a color picker to use it with the image I gave :
https://i.gyazo.com/887be8a075e15324cd7 ... 3cb6eb.jpg
HPW : Sorry, I did not understand how to use the hpwImagePickColor command... For me, a lot of complexity for simple things. But I am aware that you have no choice, unfortunately. In this case, I do not need a camera with the mouse. Just display my image with a pick color. I do not understand how to display my image in the NB rectangle.
Re: Looking for Video FLV conversion and Color Picker
Hello,
In hpwImage are various Option to do similar things.
hpwImagePickColor is a Color picker which is able to pick Color from the whole Desktop (means also outside the own window)
On demo page 1 in Picture1 is the command hpwImageGetPixel which gets the Color from a coordinate of the own window(used with GetMousePos)
On demo page 1 in PushButton46 is the command hpwImageGetColor which gets the Color from a coordinate of the hpwImage object.
Regards
In hpwImage are various Option to do similar things.
hpwImagePickColor is a Color picker which is able to pick Color from the whole Desktop (means also outside the own window)
On demo page 1 in Picture1 is the command hpwImageGetPixel which gets the Color from a coordinate of the own window(used with GetMousePos)
On demo page 1 in PushButton46 is the command hpwImageGetColor which gets the Color from a coordinate of the hpwImage object.
On demo page 1 the hpwImage object is created in pageaction. Then hpwImageLoadFromFile loads an Image into it.I do not understand how to display my image in the NB rectangle.
Regards
Hans-Peter
-
- Posts: 419
- Joined: Thu Oct 15, 2009 3:43 pm
Re: Looking for Video FLV conversion and Color Picker
Sure it cannot work with predefined palette image, but it's similar to system color pickup dialog box (click "More colors" link on the plugin form) so if it's doesnt matter where to choose from, result may be the same.However, that does not solve the initial problem : find a color picker to use it with the image I gave :