Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Audio and Video
»
SDL2+ffplay
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Read/Parse PDB file to ge...
by
tooknox
[
Today
at 07:05:09 pm]
StringGrid: which is "cur...
by
Bart
[
Today
at 06:57:50 pm]
Pure Pascal LZ4, LZ5 and ...
by
LemonParty
[
Today
at 06:50:43 pm]
Scripts to generate ofici...
by
robert rozee
[
Today
at 05:38:51 pm]
Pls support Double Comman...
by
Hansvb
[
Today
at 03:30:31 pm]
Can I get the position an...
by
CM630
[
Today
at 02:37:08 pm]
When is it useful for a p...
by
Hansvb
[
Today
at 02:18:50 pm]
text color visible
by
Paolo
[
Today
at 12:10:14 pm]
Transparent form
by
rvk
[
Today
at 11:02:39 am]
Gtk3 widgetset - call for...
by
zeljko
[
Today
at 10:23:59 am]
Connecting to AzureSQL
by
CharlyTango
[
Today
at 10:21:29 am]
Qt does not position form...
by
dbannon
[
Today
at 09:42:44 am]
Artificial Intelligence a...
by
Thaddy
[
Today
at 06:06:51 am]
FPC Unleashed (inline var...
by
Fibonacci
[
Today
at 06:06:41 am]
show me the parameters ce...
by
n7800
[May 13, 2026, 11:14:34 pm]
How to compare floating p...
by
Sander
[May 13, 2026, 11:12:02 pm]
TA Chart Axes visibility ...
by
Nicole
[May 13, 2026, 08:27:54 pm]
new feature for IDE
by
n7800
[May 13, 2026, 08:20:14 pm]
Can /my/ AI help me with ...
by
440bx
[May 13, 2026, 07:28:37 pm]
SynEdit auto End of line ...
by
eldonfsr
[May 13, 2026, 05:02:39 pm]
[beyond fixing]FPGMAP acc...
by
Thaddy
[May 13, 2026, 01:13:34 pm]
Hint tools gives wrong hi...
by
Nicole
[May 13, 2026, 01:11:47 pm]
[Solved] Scrollable, sing...
by
MathMan
[May 13, 2026, 01:00:08 pm]
Error: -macosx_version_mi...
by
Thaddy
[May 13, 2026, 11:59:25 am]
Stack overflow detection
by
Khrys
[May 13, 2026, 11:56:27 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SDL2+ffplay (Read 5687 times)
guest59697
Guest
SDL2+ffplay
«
on:
November 26, 2017, 03:41:49 pm »
hello,
can somebody suggest me a tutorial or sample code to reach this target:
play a mp4 inside/from a SDL2 application, my idea is to call ffplay (ffmpeg) into the running SDL2 context,
can you help?
thank you
R
Logged
guest59697
Guest
Re: SDL2+ffplay
«
Reply #1 on:
November 27, 2017, 01:44:01 pm »
btw. solved binding another SDL z-index layer
Logged
mdalacu
Full Member
Posts: 244
Re: SDL2+ffplay
«
Reply #2 on:
November 27, 2017, 01:48:12 pm »
Please, can you provide a working simple example.
Thank you.
Logged
dmMediaConverter -
https://dmsimpleapps.blogspot.ro/2014/04/dmmediaconverter.html
guest59697
Guest
Re: SDL2+ffplay
«
Reply #3 on:
November 27, 2017, 02:38:12 pm »
sorry I forgot to tell you that I'm using raspbian core video on rpi3, you simply should call those api in sequence:
vc_dispmanx_display_open();
vc_dispmanx_update_start();
vc_dispmanx_element_add( here you have the layer number parameter)
by default the first SDL works at zindex 10000, so executing another app at layer eg.10001 will overlay etc.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Graphics and Multimedia
»
Audio and Video
»
SDL2+ffplay
TinyPortal
© 2005-2018