
Recherche avancée
Autres articles (39)
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
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
Sur d’autres sites (6523)
-
Best Web Video Encoding Practices for IOS (FFMpeg)
21 juin 2012, par MagicMushroomI am working on an online video repository system for a client, written mostly in PHP. At the moment I am building a mobile version of our desktop website. Our desktop site allows users to watch videos in the browser, much like YouTube.
My client uploads videos through the manager interface I have created, and my application uses FFmpeg on the server to transcode his videos into several resolutions and bitrates. I am no expert on FFmpeg, and while I do not know the ins and outs of each individual setting, I do understand how it works as a whole. Right now, we are using the mp4 container format with the h.264 codec to encode our videos. Our command looks like :
ffmpeg -y -i "INPUT FILE.mov" -f mp4 -s 640x480 -vcodec libx264 -preset fast -maxrate 1500 -bitrate 1000 -bufsize 4096 -acodec libfaac -ab 192 -ac 2 "OUTPUT_FILE.mp4" >> "FILE.log" 2>&1 &
I'm hoping to gain information about best practices with encoding video for web streaming on IOS and other mobile devices using FFmpeg. What resolutions and settings make for good mobile streaming video ? How can I ensure maximum compatibility across the sea of Android devices ?
-
How to play video Media Source Extensions when the audio start is delayed ? Or how to fix it with ffmpeg ?
11 décembre 2020, par sheodoxI have a video that I'm splitting the individual video/audio streams out then dashing with MP4Box, then I'm playing them with Media Source Extensions and appending byte ranges to video/audio source buffers from the MPD files. It's all working nicely, but one video I have has audio that is delayed by about 1.1 second. I couldn't get it to sync up and the audio would always play ahead of the video.


Currently I'm trying to set the
audioBuffer.timestampOffset = 1.1
and that gets it to sync up perfectly. The issue I'm running into now though is the video refuses to play unless the audio source buffer has data. So the video stalls right away. If I skip a few seconds in (past the offset) everything works because both video/audio are buffered.

Is there a way to get around this ? Either make it play without the audio loaded, somehow fill the audio buffer with silence (can I generate something with the Web Audio API) ? Add silence to the audio file in ffmpeg ? Something else ?


I first tried adding a delay in ffmpeg with
ffmpeg -i video.mkv -map 0:a:0 -acodec aac -af "adelay=1.1s:all=true" out.aac
but nothing seemed to change. Was I doing something wrong ? Is there a better way to demux audio while keeping the exact same timing as when it was in the container with the video so I don't have to worry about delays/offsets at all ?

-
Ffmpeg - Generate VTT File From Sprite, Using Spatial Media Fragment
20 octobre 2019, par DavidHi I am looking to create a .VTT file from a sprite that i have generated using Ffmpeg.
Ffmpeg command :
$"-i {inputMediaFile} -vf \"select = not(mod(n\\, 30)),scale = 120:80,tile = 7x7\" -an -vsync 0 {outputMediaFile}"
This selects every 30th frame, and then scales it to 120x80 pixels and creates 8x8 tiles in the output image.
I would like to make a .VTT from the generated image in C#, so i know the height and width of my individual images in the sprite (120x80) and there is 64 images in total in the output image.
From this i need to produce a VTT like this :
WEBVTT
1
00:00:00.000 --> 00:00:01.000
test-00001.jpg#xywh=0,0,120,80
2
00:00:01.000 --> 00:00:02.000
test-00001.jpg#xywh=120,0,120,80
3
00:00:02.000 --> 00:00:03.000
test-00001.jpg#xywh=240,0,120,80
4
00:00:03.000 --> 00:00:04.000
test-00001.jpg#xywh=360,0,120,80
5
00:00:04.000 --> 00:00:05.000
test-00001.jpg#xywh=480,0,120,80
6
00:00:05.000 --> 00:00:06.000
test-00001.jpg#xywh=600,0,120,80
7
00:00:06.000 --> 00:00:07.000
test-00001.jpg#xywh=720,0,120,80
8
00:00:07.000 --> 00:00:08.000
test-00001.jpg#xywh=840,0,120,80
9
00:00:08.000 --> 00:00:09.000
test-00001.jpg#xywh=0,80,120,80There is also situations when there is n amount of sprite files.
Im hoping there may be a library out there that can handle this, or even better if i can keep it contained within Ffmpeg - based on Ffmpeg docs i dont think this is possible though.
Thanks in advance if anyone as any ideas, its doable as ive seen Nodejs and Ruby examples.