Forum > Audio and Video

NON(!)-EXE FFPlay4Laz

(1/30) > >>

metis:
@ALL, specially @Fred vS

Inspired by the Thread Component for retrieving data from video files in this Forum,
I've started to build a FFmpeg-based MediaPlayer for Lazarus, which
is NOT "only" using FFmpeg's 'ffplay.exe' (= "NON(!)-EXE").

For the FFmpeg-CommandLine-Tools (ffmpeg.exe, ffplay.exe and ffprobe.exe) there are already plenty of
Documentations, CodeSamples and Examples for how to use them, as well as FrontEnds.

But, what about those cute little FFmpeg-Libraries ?  :(

For those, who are interested in Stuff like this, the best Entrance, that I found is this:
"An ffmpeg and SDL Tutorial or How to Write a Video Player in Less Than 1000 Lines" (http://dranger.com/ffmpeg/)
Whilst this is all C-Code, the Pascal-Counterparts can be looked up in Ultrastar and grape3D.

Current ProjectState:
- Open/Read/Decode/Close a MediaFile         : done
- Get all Infos about that MediaFile               : done (= Retrieving Data from VideoFiles = FFInfo4Laz)
- Video-Output via SDL's YUV-Overlay          : done
- Video-Output via SDL's RGB-Surface          : started, but not so important for me
- Video-Output via SDL's Textures                : done
- Video-Output via the 'LazOpenGLControl'   : done, but currently not used
  (This Part includes the FPC-Codes to X/Y-Shift, Flip horizontally/vertically, Zoom, Rotate with 'OpenGL')
- Audio-Output via SDL-Audio and PortAudio : done
- Threading, AV-Synching, Seeking, Looping : done

Note:
This Topic is NOT meant to discuss the Pros&Cons of FFmpeg-EXEs/-LIBs, or
do something like "FFmpeg-EXEs vs. FFmpeg-LIBs", because this is obvious.

• The last Release with SDL v1 (= fully-featured Player, CLI + DLL + Test&Demo-GUI with Source) can be downloaded here.

• Releases with SDL v2 can be downloaded from here onwards.

• For a Summary of my FFPlay4Laz-Project, see here.

Have Fun with superior Sound  :)

marcov:
(IIRC Jedi-SDL already had a ffmpeg header. It might be the origin of the ones you found)

metis:
@marcov

Do You refer to the Jedi-SDL, that comes with Ultrastrar-SourceCode ?

I'm not talking about Pascal-Headers for FFmpeg; these indeed already do exist.


@marcow

Maybe, last Time I got You wrong, and You just wanted to tell me, where to get the FFmpeg-Headers from.  :)

Well, I started the Project with the Headers, that come with Ultrastar-SourceCode (= v52.67.2):
http://ultrastardx.sourceforge.net/usdx-downloads/usdx/

Once this works, I'll intend to implement those from FFVCL:
http://www.delphiffmpeg.com/headers/

metis:
@Fred vS

If You are still interested in implementing FFmpeg in Your UOS, to play ANY AudioFormat with it, have a Look at this:
https://github.com/varianus/ovoplayer
-> 'src\audioengine_ffmpeg.pas'  ;)


aradeonas:
Hi,

Is you project have source any where?
I wan to take a look at it,It seems interesting.

Navigation

[0] Message Index

[#] Next page

Go to full version