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
XLibre, finally and fortu...
by
Fred vS
[
Today
at 04:34:20 pm]
[New Component] ExtTabCtr...
by
ovidio
[
Today
at 04:22:52 pm]
made hooking newinstance ...
by
runewalsh
[
Today
at 04:00:13 pm]
Sizes and SizeInt
by
LemonParty
[
Today
at 03:05:53 pm]
How can 'Canvas does not ...
by
J-G
[
Today
at 03:05:01 pm]
AArch64. Fast method to c...
by
Thaddy
[
Today
at 01:58:45 pm]
I found an actual use for...
by
Thaddy
[
Today
at 01:07:16 pm]
Strange Behaviour at Runt...
by
andrew Bubble
[
Today
at 12:41:49 pm]
water filling simulation
by
Dzandaa
[
Today
at 12:35:32 pm]
Can /my/ AI help me with ...
by
microxa
[
Today
at 12:12:06 pm]
Knigo
by
CM630
[
Today
at 12:05:31 pm]
P.I.S.S. a PlugIn-framewo...
by
cdbc
[
Today
at 11:27:35 am]
[solved] rotate image pro...
by
speter
[
Today
at 10:03:42 am]
Lazarus Main and Gnome/Wa...
by
zeljko
[
Today
at 09:06:57 am]
TstringGrid read cell col...
by
Josh
[June 08, 2026, 11:05:23 pm]
Pascal for AI Agent CLI T...
by
schuler
[June 08, 2026, 10:35:41 pm]
is there a Base 26 / Radi...
by
Josh
[June 08, 2026, 08:54:36 pm]
FPC Unleashed (inline var...
by
Fibonacci
[June 08, 2026, 08:49:31 pm]
Notetask 1.1.4 - Free cro...
by
AlexanderT
[June 08, 2026, 04:55:38 pm]
Pixie: A lightweight HTML...
by
Tomxe
[June 08, 2026, 01:48:30 pm]
EasyLazFreeType Bug?
by
Tommi
[June 08, 2026, 10:57:47 am]
embed .jpg file into .pp ...
by
Thaddy
[June 08, 2026, 09:51:38 am]
Call SetLength from assem...
by
Thaddy
[June 08, 2026, 09:00:36 am]
TPlaysound problem Ubuntu...
by
jamie
[June 08, 2026, 12:57:32 am]
Portable verion of FPC an...
by
Martin_fr
[June 08, 2026, 12:26:26 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SDL2+ffplay (Read 5711 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: 245
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