1. Euphoria video player?
- Posted by DanM Dec 12, 2008
- 1351 views
Are there any video players written in Euphoria?
I downloaded "VFE (Video For Euphoria) (C) 1999 Legend Interactive" by Peter Blue, but couldn't get it to work. I don't have any native AVI files, so I tried to use another (not Euphoria) download, "Pazera Free MOV to AVI Converter", to convert QuickTime .mov files from a digital camera to AVI files to use with VFE, but while I could get the converted files, eventually, to work with Windows Media Player, I only got errors trying to use them with VFE.
The VFE error was reported as:
Play-AVI.E:89 in function OpenPicAVI() type_check failure, AviCompression is 1734701162
and I see that AviCompression = ReadLongI86(ifh)
Peter's help file says it Plays: 8 Bit Raw and RLE, but I don't know how that relates to both the failure as indicated, and to the various settings for the .mov to .avi conversion (the codecs).
The codecs for the converter are named (in the mov2avi converter) as: XviD 1.1.3 Final DivX 3 Low-Motion H.264/MPEG-4 AVD MPEG4 - Ffmpeg/ffdshow ISO MPEG-4 MP42 - S-Mpeg 4 version 2 WMV version 1 (WMP 7) WMV version 2 (WMP 8) Motion JPEG HuffYUV (lossless) Copy original video stream
Is there a better way than VFE to try to show video from within a Euphoria program, or can anyone suggest how to get VFE to work in relation to my conversion (maybe I'm not setting the correct codec, etc)?
(both WMV version 1 (WMP 7), and, WMV version 2 (WMP 8) worked for Windows Media Player, but not for VFE)
Dan
2. Re: Euphoria video player?
- Posted by DanM Dec 12, 2008
- 1301 views
I should have previewed this so the codecs would have been listed 1 per line:
Are there any video players written in Euphoria?
I downloaded "VFE (Video For Euphoria) (C) 1999 Legend Interactive" by Peter Blue, but couldn't get it to work. I don't have any native AVI files, so I tried to use another (not Euphoria) download, "Pazera Free MOV to AVI Converter", to convert QuickTime .mov files from a digital camera to AVI files to use with VFE, but while I could get the converted files, eventually, to work with Windows Media Player, I only got errors trying to use them with VFE.
The VFE error was reported as:
Play-AVI.E:89 in function OpenPicAVI()
type_check failure, AviCompression is 1734701162
and I see that AviCompression = ReadLongI86(ifh)
Peter's help file says it Plays: 8 Bit Raw and RLE,
but I don't know how that relates to both the failure as indicated, and to the various settings for the .mov to .avi conversion (the codecs).
The codecs for the converter are named (in the mov2avi converter) as:
XviD 1.1.3 Final
DivX 3 Low-Motion
H.264/MPEG-4 AVD
MPEG4 - Ffmpeg/ffdshow ISO MPEG-4
MP42 - S-Mpeg 4 version 2
WMV version 1 (WMP 7)
WMV version 2 (WMP 8)
Motion JPEG
HuffYUV (lossless)
Copy original video stream
Is there a better way than VFE to try to show video from within a Euphoria program, or can anyone suggest how to get VFE to work in relation to my conversion (maybe I'm not setting the correct codec, etc)?
(both WMV version 1 (WMP 7), and, WMV version 2 (WMP 8) worked for Windows Media Player, but not for VFE)
Dan
3. Re: Euphoria video player?
- Posted by ghaberek (admin) Dec 12, 2008
- 1371 views
Are there any video players written in Euphoria?
I downloaded "VFE (Video For Euphoria) (C) 1999 Legend Interactive" by Peter Blue, but couldn't get it to work. I don't have any native AVI files, so I tried to use another (not Euphoria) download, "Pazera Free MOV to AVI Converter", to convert QuickTime .mov files from a digital camera to AVI files to use with VFE, but while I could get the converted files, eventually, to work with Windows Media Player, I only got errors trying to use them with VFE.
snip
Is there a better way than VFE to try to show video from within a Euphoria program, or can anyone suggest how to get VFE to work in relation to my conversion (maybe I'm not setting the correct codec, etc)?
(both WMV version 1 (WMP 7), and, WMV version 2 (WMP 8) worked for Windows Media Player, but not for VFE)
HA! You sir, must be psychic. I am putting the finishing touches on wxPlayer, a Euphoria media player written with wxEuphoria. It uses the (now corrected and working) wxMediaCtrl control, which uses DirectShow on Windows and GStreamer on Linux.
Here's a screen shot:
We'll have a new version of wxEuphoria out very soon and right after that, I'll post my wxPlayer to the User Contributions. So if you can wait a little bit (maybe a few weeks?) I'm sure you'll have exactly what you need...
-Greg
4. Re: Euphoria video player?
- Posted by euphoric (admin) Dec 12, 2008
- 1295 views
I am putting the finishing touches on wxPlayer, a Euphoria media player written with wxEuphoria.
OMG that's awesome! Way to go Greg. One small step for a wxEuphorian. One giant leap for wxEuphoria-kind.
5. Re: Euphoria video player?
- Posted by DanM Dec 12, 2008
- 1386 views
Are there any video players written in Euphoria?
<snip>
HA! You sir, must be psychic. I am putting the finishing touches on wxPlayer, a Euphoria media player written with wxEuphoria. It uses the (now corrected and working) wxMediaCtrl control, which uses DirectShow on Windows and GStreamer on Linux.
Here's a screen shot:
We'll have a new version of wxEuphoria out very soon and right after that, I'll post my wxPlayer to the User Contributions. So if you can wait a little bit (maybe a few weeks?) I'm sure you'll have exactly what you need...
-Greg
Wow, that looks NICE! I'll (reluctently!) wait , but in the meantime: what version of Euphoria will it run on, and will it run AVI files, what other video file formats? Oh, and will it be innately a stand-alone, or built like a library for easier inclusion into a program?
wxEuphhoria is itself a library, right, for multiple opsystem programming?
Dan
6. Re: Euphoria video player?
- Posted by ghaberek (admin) Dec 12, 2008
- 1321 views
Wow, that looks NICE! I'll (reluctently!) wait , but in the meantime: what version of Euphoria will it run on, and will it run AVI files, what other video file formats? Oh, and will it be innately a stand-alone, or built like a library for easier inclusion into a program?
The current version of wxEuphoria still runs on Euphoria 3.1. Matt's working on a 4.0-compatible version. In Windows, wxMediaCtrl uses the same backend and codecs as Windows Media Player, so whatever WMP plays, wxPlayer will play. The wxMediaCtrl itself is provided by wxWidgets, and requires minimal code to setup (create the control, load the file, tell it to play).
wxEuphoria is itself a library, right, for multiple opsystem programming?
Yes, wxEuphoria cross-platform (Win32 and Linux ) and is currently a handful of files: a Euphoria .e file of C-wrappers and constants, and a compiled C dll that interfaces with the wxWidgets library. In Windows, the wxWidgets library is provided as a second dll. In Linux, wxWidgets is installed separately (and I believe by default on most distros).
Matt had plans to build wxEuphoria directly into the Euphoria interpreter, to eliminate the need for extra dlls. I'm not sure if he's still working on that or not.
-Greg
7. Re: Euphoria video player?
- Posted by DanM Dec 12, 2008
- 1352 views
Sounds wonderful! Looking forward to its release
Dan
8. Re: Euphoria video player?
- Posted by mattlewis (admin) Dec 12, 2008
- 1318 views
Wow, that looks NICE! I'll (reluctently!) wait , but in the meantime: what version of Euphoria will it run on, and will it run AVI files, what other video file formats? Oh, and will it be innately a stand-alone, or built like a library for easier inclusion into a program?
The current version of wxEuphoria still runs on Euphoria 3.1. Matt's working on a 4.0-compatible version. In Windows, wxMediaCtrl uses the same backend and codecs as Windows Media Player, so whatever WMP plays, wxPlayer will play. The wxMediaCtrl itself is provided by wxWidgets, and requires minimal code to setup (create the control, load the file, tell it to play).
Actually, the current development code for wxEuphoria works on both 3.1 and 4.0. I started an experimental branch to overhaul the library to use new features of 4.0. I haven't done anything in with it in a while.
Matt had plans to build wxEuphoria directly into the Euphoria interpreter, to eliminate the need for extra dlls. I'm not sure if he's still working on that or not.
I haven't worked on it in a while, but I still think it will happen some day...
Matt