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
[SOLVED] Access Violation
by
Thausand
[
Today
at 11:29:25 pm]
Any way to debug and see ...
by
old_DOS_err
[
Today
at 11:27:52 pm]
Lazarus Bugfix Release 4...
by
dsiders
[
Today
at 10:39:39 pm]
Variable "xyz" doesn't no...
by
PascalDragon
[
Today
at 10:22:46 pm]
Add new unit to a Lazarus...
by
Lulu
[
Today
at 09:46:01 pm]
Cross-platform rich text
by
wp
[
Today
at 08:29:30 pm]
Escape a command line par...
by
LemonParty
[
Today
at 07:42:43 pm]
Run as a different user
by
LemonParty
[
Today
at 05:43:26 pm]
How to insert a greater s...
by
Hartmut
[
Today
at 05:30:35 pm]
laz.virtualtrees.pas not ...
by
pmralbuquerque
[
Today
at 05:20:55 pm]
Synapse mail
by
rvk
[
Today
at 05:04:18 pm]
Match 3 game
by
Guva
[
Today
at 02:47:54 pm]
[SOLVED] Form scaling asp...
by
Pe3s
[
Today
at 02:20:45 pm]
MainMenu: How to use the ...
by
Hansaplast
[
Today
at 12:08:36 pm]
Get "serial number" of (r...
by
Bart
[
Today
at 11:18:07 am]
tform does not show color...
by
cdbc
[
Today
at 11:11:05 am]
Porting PDF Viewer from D...
by
domasz
[
Today
at 11:08:24 am]
TDWEdit
by
chrv
[
Today
at 11:01:49 am]
record fields alignment
by
440bx
[
Today
at 10:49:21 am]
underwater colony (inc)
by
speter
[
Today
at 09:52:43 am]
Draw Behind Desktop Icons...
by
atroesch
[
Today
at 07:38:05 am]
Is this a Sequoia or Rose...
by
jwdietrich
[
Today
at 12:12:40 am]
Is this a Sequoia or Rose...
by
MISV
[November 16, 2025, 11:48:23 pm]
Store directories and fil...
by
jamie
[November 16, 2025, 11:11:54 pm]
Help with search and repa...
by
Thausand
[November 16, 2025, 10:55:26 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: SDL2+ffplay (Read 5455 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: 234
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