Search found 17 matches

by D Ogre
Mon Oct 23, 2023 5:29 pm
Forum: Applications - Feedback and Discussion
Topic: JPEG XL library for PureBasic
Replies: 3
Views: 993

Re: JPEG XL library for PureBasic

Well, I hope you find it useful. Like I said, it's an early version. Don't be surprised if there's issues with it. If you get it working, please post your work. :D
by D Ogre
Mon Oct 23, 2023 4:33 pm
Forum: Applications - Feedback and Discussion
Topic: JPEG XL library for PureBasic
Replies: 3
Views: 993

JPEG XL library for PureBasic

I'm posting this source code for anyone that's interested in utilizing the JPEG XL format in their projects. This is an untested early version. It does compile under PureBasic LTS 6.03, but there may be some datatype errors and omissions. Feel free to modify and use any way you like. All I ask is ...
by D Ogre
Mon Apr 04, 2011 2:20 pm
Forum: Coding Questions
Topic: Avifil32 Library Import - AVISave() Parameters?
Replies: 4
Views: 2215

Re: Avifil32 Library Import - AVISave() Parameters?

Yeah, I've seen a lot of code examples around here. I think the main reason why it's hard to apply good working code is sparse MSDN documentation and lack of well documented C/C++ source code to go by. I started looking at some of the PB code here when I started this project, and found that some ...
by D Ogre
Mon Apr 04, 2011 12:28 am
Forum: Coding Questions
Topic: Avifil32 Library Import - AVISave() Parameters?
Replies: 4
Views: 2215

Re: Avifil32 Library Import - AVISave() Parameters?

I'm still not sure exactly why the AVISave function in the PureBasic static .lib file contains no parameters. I thought that maybe someone here with more experience with this library would know. However, in my searches for an answer, I did find a little information about this particular function in ...
by D Ogre
Sun Mar 27, 2011 8:04 pm
Forum: Coding Questions
Topic: Avifil32 Library Import - AVISave() Parameters?
Replies: 4
Views: 2215

Avifil32 Library Import - AVISave() Parameters?

I'm writing a import wrapper of the AVIFIL32 library for PureBasic 4.51. I'm using Lib2PBImport by t-soft to create a import library framework for the .lib file under the c:\Program Files\PureBasic\PureLibraries\Windows\Libraries. When the import file is generated, the AVISave() (Both ANSI and ...
by D Ogre
Sat Feb 27, 2010 4:34 am
Forum: Game Programming
Topic: Save to Video
Replies: 10
Views: 10269

Re: Save to Video

Just caught this about coverting to PB4.40. Haven't tested your code yet, but my suggestion atm is to try using command prototyping or use Import/EndImport to wrap the Avifil32 library commands. This is actually a safer and more perferred method over using CallFunction nowadays.
by D Ogre
Wed Jan 06, 2010 2:17 am
Forum: Windows
Topic: Video Player based on VLC
Replies: 84
Views: 54661

Re: Video Player based on VLC

Ok. I must have missed that. I will attempt another compile...
by D Ogre
Wed Jan 06, 2010 2:08 am
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35509

Re: ffmpeg / libavcodec


This can't be done via a wrapper as you never know which libs have been included while compiling the libavcodec/libavformat libs for wrapping.
So ... such a wrapper should always com with a ready to use dll package of ffmpeg, where all wrapper-supported codecs are included/linked.

I am aware of ...
by D Ogre
Wed Dec 30, 2009 9:04 pm
Forum: Windows
Topic: Video Player based on VLC
Replies: 84
Views: 54661

Re: Video Player based on VLC

I downloaded the Win32 version of the VideoLAN VLC media player and installed it. I tried compiling both of the PB VLC (Alpha 6) examples posted here using PB 4.40 without success. I'm I doing something wrong or is the code broken with PB 4.40?

The debug log states a linker error: libvlc.lib not ...
by D Ogre
Wed Dec 30, 2009 2:59 am
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35509

Re: ffmpeg / libavcodec

I suppose I could use Libavcodec and libavformat. I was just wondering if you know of a better Win32 wrapper other than AVbin, which safetly gives you full access to the library for encoding and decoding?

I am currently looking into VLC as you suggested. I've seen your thread on getting it to work ...
by D Ogre
Tue Dec 22, 2009 1:23 am
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35509

Re: ffmpeg / libavcodec

I've been away from this topic for awhile. So, forgive me for any of my ignorance to the all past work that's been done here...

Philippe-felixer76-2, congrats on your past work with getting the AVBIN wrapper .dll to work with PB. Nice works! :D

From what I understand is that this ffmpeg ...
by D Ogre
Mon Jan 28, 2008 9:35 pm
Forum: Coding Questions
Topic: Problem extracting audio from a movie using DirectShow
Replies: 2
Views: 1377

Problem fixed! WAV Dest2 was a bad PCM Wave Encoder...

I obtained a copy of the original Microsoft Graphedit which contained several codecs including the Wav Dest.ax file. Apparently, the filter I was using was not working properly. After changing the rendered graph using the original Microsoft DirectShow filter, the output file was written properly.

I ...
by D Ogre
Thu Jan 24, 2008 1:50 am
Forum: Coding Questions
Topic: Problem extracting audio from a movie using DirectShow
Replies: 2
Views: 1377

Have some work to do...

Okay.... I know that what I presented above is not specifically a PB coding question presently, but I figured I would post it here anways in the hopes that someone here could give me a little help with the logics.

I will try to build a PB project that does the same thing to see if I can get it to ...
by D Ogre
Tue Jan 22, 2008 12:58 am
Forum: Coding Questions
Topic: Problem extracting audio from a movie using DirectShow
Replies: 2
Views: 1377

Problem extracting audio from a movie using DirectShow

I am currently learning how to use DirectShow natively with PB. I have a project that requires the ability to extract audio from any movie played.

I have been using a trial version of GraphEdit Plus to test the graph, so I have no code to show the problem currently. I figured that I would test the ...
by D Ogre
Wed Jan 09, 2008 11:35 pm
Forum: General Discussion
Topic: ffmpeg / libavcodec
Replies: 52
Views: 35509

I know the library can be used cross-platform. This is a definate plus which makes it very desireable. I use Linux based computers with my job because of it's stability over Microsoft based machines. I too am looking for another alternative to Microsoft. I haven't had much exposure to this library ...