Lazarus
Announcements => Third party => Topic started by: kamischi on January 05, 2010, 08:25:20 pm
-
As part of developing UltraStarDeluxe, the FreePascal headers for ffmpeg libs have been updated according to the changes of the C header files.
You can get the sources here:
http://ultrastardx.svn.sourceforge.net/viewvc/ultrastardx/trunk/src/lib/ffmpeg/
Have fun fighting the beast - MiSchi.
-
I have no idea about what for could I use headers for ffmpeg :-[
-
I have no idea about what for could I use headers for ffmpeg :-[
Use the cross-platform ffmpeg libraries (http://www.ffmpeg.org/) to record, convert and stream audio and video.
MiSchi
-
Are these based on the Jedi-SDL headers? IIRC they also had ffmpeg headers.
-
Are these based on the Jedi-SDL headers? IIRC they also had ffmpeg headers.
As much as I know and see, Jedi-SDL does not contain ffmpeg headers, but smpeg headers. The start of this work has been the header files from Victor Zinetz at http://www.iversenit.dk/dev/ffmpeg-headers/
MiSchi.
-
Thanks for this MiSchi. I have been looking for a platform independent way to create video files.
-Brad
-
rational.pas(80,39) Hint: Converting the operands to "Int64" before doing the subtract could prevent overflow errors.
avcodec.pas(1950,5) Warning: Overriding calling convention "CDecl" with "CDecl"
avcodec.pas(2035) Warning: Library libavcodec.dll not found, Linking may fail !
avformat.pas(79,9) Hint: Type "int" redefinition
avformat.pas(687) Warning: Library libavformat.dll not found, Linking may fail !
Project1.pas(13,1) Error: Import library not found for libavutil
Project1.pas(13,1) Error: Import library not found for libavformat
Project1.pas(13,1) Error: Import library not found for libavcodec
Project1.pas(13,1) Fatal: There were 3 errors compiling module, stopping
---------------------------------------------
How's compile it??
-
Project1.pas(13,1) Error: Import library not found for libavutil
Project1.pas(13,1) Error: Import library not found for libavformat
Project1.pas(13,1) Error: Import library not found for libavcodec
Do you have any static or dynamic version of those libs?
-
Project1.pas(13,1) Error: Import library not found for libavutil
Project1.pas(13,1) Error: Import library not found for libavformat
Project1.pas(13,1) Error: Import library not found for libavcodec
Do you have any static or dynamic version of those libs?
Yes.
Both dynamic and static.
-
OK, is it located somewhere fpc can find? If not, add -Fo<those libs dir> to the compiler options
-
OK, is it located somewhere fpc can find? If not, add -Fo<those libs dir> to the compiler options
Where is that option? Can't find....
-
i need example - "get info from video file" - codec, bitrate, duration, video stream, audio stream, etc...
-
Where is that option? Can't find....
Sorry, should be -Fl. I don't remember coz I'm not at home and I don't have lazarus here. If you can't find it, add in additional compiler option box.
-
ok. it's work with .dll.....
how is include a static version into exe?
-
As part of developing UltraStarDeluxe, the FreePascal headers for ffmpeg libs have been updated according to the changes of the C header files.
You can get the sources here:
http://ultrastardx.svn.sourceforge.net/viewvc/ultrastardx/trunk/src/lib/ffmpeg/
Have fun fighting the beast - MiSchi.
i'm using that headers for a small project. What it's show "mpeg4" for DIVX and XVID codecs ?
-
i've been trying whole day to access this address :
http://ultrastardx.svn.sourceforge.net/viewvc/ultrastardx/trunk/src/lib/ffmpeg/
but it's always fail. i need to download the pascal header on it for my project...
is this address still exist or move to somewhere else ?
somebody knows other links to this file ?
pls help me :(
-
SVN browse does not seem to work for that project. Other options:
* browse the source GIT repository using http://ultrastardx.git.sourceforge.net/git/gitweb.cgi?p=ultrastardx/ultrastardx;a=tree;f=src/lib/ffmpeg;hb=HEAD (http://ultrastardx.git.sourceforge.net/git/gitweb.cgi?p=ultrastardx/ultrastardx;a=tree;f=src/lib/ffmpeg;hb=HEAD) in your web browser
* use a subversion client (e.g. TortoiseSVN) at https://ultrastardx.svn.sourceforge.net/svnroot/ultrastardx/trunk/src/lib/ffmpeg
Gr.
Dirk.
-
@Dirk thank you very much...... :)
-
Hi, can you play a video file using ffmpeg (ffplay) into a window? (like mplayer -wid WHandle)
Thank you.
-
What do I download from the project to access the capability of embedding ffplay in my project?
Thanks.
-
What do I download from the project to access the capability of embedding ffplay in my project?
Using ffplay in your application is not related to the subject "Updated ffmpeg headers". Additionally, this is a stale thread. Both mean you're unlikely to get answers to your question. Start a new thread with the subject line something similar to "Using ffplay to play video in a Lazarus app" and I will answer part of your question there.
-
Fresh FFmpeg headers binding for FPC are available at:
https://github.com/DJMaster/ffmpeg-fpc
Working in progress, stay tuned!