
Recherche avancée
Autres articles (30)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (3918)
-
Docs : Updated documentation, mostly with regard to security.
10 juin 2013, par JamesMGreeneDocs : Updated documentation, mostly with regard to security. Closes #170.
-
docker service create : How to deal with custom or unknown parameter needed by linuxserver/ffmpeg image ?
24 mai 2022, par MikeI am new to docker and docker swarm and started dockerizing several services and am trying to get them running as docker swarm services. I ran into a road block with the linuxserver/ffmpeg image :


- 

- it uses a —device parameter which is not implemented in create service
- it expects several custom parameters to pass them to the ffmpeg encoder






From my research up to now I assume that passing parameters is not implemented in docker create service, but maybe you can think of a workaround ? (unfortunately the image does not process environment variables, or at least they are not documented)


This is how I start dockerized ffmpeg (working fine in standalone mode) :


docker run -d /

—network="host" /

—device=/dev/video0 :/dev/video0 / ### error : unknow flag

—name ffmpeg_streamer /

—restart always -it /

-v $(pwd)/video :/video /

linuxserver/ffmpeg / ### custom parameters below here

-stream_loop /

-1 -re -nostdin /

-i "/video/test.avi" /

-f pulse /

-vcodec libx264 /

-preset:v veryfast /

-b:v 400k /

-f flv rtmp ://localhost:1935/live/streamkey

Many thanks for looking into this !


-
ffmpeg and Youtube upload - can't merge existing audio track with external one
9 avril 2012, par Aleksy GoroszkoI am realizing campaign, where idea is that users are creating TV ad. The process looks as following :
- User watches ad (youtube video)
- User selects video (mp4 file played in Flash Player)
- User records his own voice using webcam/mic for the selected video
- User's voice is uploaded to server
- User's voice is merged with selected video (video+music) and saved as mp4 file
- User's video is uploaded to youtube
When realizing audio-video merging I found some suprises :
When I was using command
ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 - video's music was replaced by user's voice.
So I used option -newaudio :
ffmpeg -i sourceVideoFile.mp4 -i sourceAudioFile.mp3 -acodec copy -vcodec copy outputFile.mp4 -newaudio - I can hear that output video has both music and user's voice. So - that's what I wanted to reach. But...
The surprize is that if I upload this video to Youtube, after it's processing I can watch it and hear only music. User's voice disappears !
So, how to keep both voice and music ?
Any idea, gurus ? :)