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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Faster hash tables
by
440bx
[
Today
at 06:35:46 am]
How to avoid copying
by
Amir61
[
Today
at 06:02:23 am]
Can't Install Anything
by
TRon
[
Today
at 05:16:47 am]
A rudimentary "Paint" app
by
TBMan
[
Today
at 05:11:39 am]
ZenGL +android + MacOS Co...
by
Seenkao
[
Today
at 03:52:25 am]
Pascal folks philosophica...
by
Joanna from IRC
[
Today
at 01:55:19 am]
TaChart how to draw buffe...
by
Mongkey
[
Today
at 01:36:02 am]
Treeview: full-width back...
by
d7_2_laz
[
Today
at 12:00:28 am]
how to use SetSysColors?
by
Marc
[February 13, 2025, 11:15:15 pm]
Print GroupBox contents
by
dseligo
[February 13, 2025, 10:32:34 pm]
Hively Library
by
Gigatron
[February 13, 2025, 10:08:28 pm]
UADE Library
by
TRon
[February 13, 2025, 10:03:14 pm]
SIMD Intrinsics in FPC/La...
by
LV
[February 13, 2025, 09:41:56 pm]
FPU 80 bit extended preci...
by
LV
[February 13, 2025, 09:16:44 pm]
My first "tool" written w...
by
VisualLab
[February 13, 2025, 09:13:07 pm]
New release of StrumPract
by
Fred vS
[February 13, 2025, 09:12:36 pm]
Simple mouse solution for...
by
PascalDragon
[February 13, 2025, 09:08:29 pm]
Snappy (from Google) comp...
by
Tomxe
[February 13, 2025, 09:04:51 pm]
AutoFormat IDE plugin
by
TRon
[February 13, 2025, 09:03:11 pm]
Reading and writing AVIF ...
by
Tomxe
[February 13, 2025, 08:59:14 pm]
Is there a way to emphasi...
by
LV
[February 13, 2025, 08:56:18 pm]
Bug and crash. I think th...
by
VisualLab
[February 13, 2025, 08:47:23 pm]
problem with floats when ...
by
dpap
[February 13, 2025, 08:45:41 pm]
fv on macOS M3
by
TRon
[February 13, 2025, 08:38:55 pm]
Doubts about Lazarus IDE ...
by
marcov
[February 13, 2025, 08:26:36 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SDL2+ffplay (Read 5128 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: 233
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