
Recherche avancée
Médias (91)
-
Head down (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Echoplex (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Discipline (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Letting you (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
1 000 000 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
999 999 (wav version)
26 septembre 2011, par
Mis à jour : Avril 2013
Langue : English
Type : Audio
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (14414)
-
Class 'FFMpeg\FFMpeg\Coordinate\Dimension' not found
14 juillet 2016, par Vaibhavraj S. RohamI am trying to execute basic example of php-ffmpeg library in Laravel 5. I have already installed ffmeg on ubuntu and working fine from command line. I am getting following error while running the example.
Error
FatalErrorException in WelcomeController.php line 26 : Class
’FFMpeg\FFMpeg\Coordinate\Dimension’ not found
My Code
use FFMpeg\FFMpeg;
class WelcomeController extends Controller {
public function __construct()
{
$this->middleware('guest');
}
public function index()
{
return view('welcome');
}
public function video()
{
$ffmpeg = FFMpeg::create();
$video = $ffmpeg->open('test1.mp4');
$video
->filters()
->resize(new FFMpeg\Coordinate\Dimension(320, 240))
->synchronize();
$video
->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
->save('frame.jpg');
$video
->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');
}
}What would be the error ?
-
Best way to go about video playback for WebAssembly, Linux, Windows, and Android
13 janvier 2021, par Michael MachaI'm currently working on a game as a passtime during quarantine. It currently builds, via a Makefile, for WASM, Linux, and Windows ; and is eventually planned to be ported to Android through NDK. The API used is (primarily) SDL, with SDL Image and SDL Mixer, and all graphics go through OpenGL.


As of the moment, all graphics, sound, and control is running perfectly ; but I would like to add video cut scenes and I'm uncertain of how to do this with WASM. I recognize that maybe half of the system resources are available in a browser, and am willing to drop fidelity in the web version to compensate. Currently, all code is in C and GLSL ; but if I need to I can add C++, or a little extra JavaScript.


My compilers, for each platform, are gcc, emcc, and mingw32. They're all called through Maketools. As of the moment, it looks like I can just use FFMPEG for gcc & mingw ; but what's best for emcc, which does not have an FFMPEG port available ? Will I need to call something else, or use some specific browser function ? What is the simplest way to go about this, and does anyone have a basic tutorial for in-browser video with WebAssembly ?


For a little further data, I'm debuting my project on Itch.io. For a launched-in-browser game, they require a zip file with an HTML file called index.html, and any support files, within it. (Total file size is effectively limited to 1 GB.) I'm expecting a minimum of 640x480 resolution, but would prefer higher. I'm currently digging through online examples but haven't yet found anything sufficiently basic. (This might change as I keep digging, and I'll update the question if I find anything.)


-
Trying to understand the ffmpeg seek cut functionality
13 février 2020, par user3841429I have a video where I would like to cut a part from. The command I use :
ffmpeg -ss 526.623 -t 347.986 -i 'example.mp4' -c copy -avoid_negative_ts 1 -y res.mp4
Where expected length is
00:05:47.99
. The process log shows the following :...
frame=10582 fps=8258 q=-1.0 Lsize= 1061446kB time=00:05:47.98 bitrate=24987.8kbits/s speed= 272x
video:1044531kB audio:16556kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.033789%As you can see
time=00:05:47.98
as expected, but when I play this video in player I see that it has extra 5 seconds of video at the end. I check the playtime length :$ ffmpeg -i 'res.mp4' 2>&1 | grep Duration | cut -d ' ' -f 4 | sed s/,//
00:05:53.11What the... My clue was the GOP’s I-frame, but when I modify my commands as :
ffmpeg -ss 526.623 -t 347 -i 'example.mp4' -c copy -avoid_negative_ts 1 -y res.mp4
Output shows
time=00:05:46.99
and actual video length is00:05:52.13
In the first case it added
5.13sec
, in the second5.14
. Let’s take5.14
for both cases that show that it has nothing to do with I-frame. There is no magic in this world (I guess). But what then ?UPD : It is GOP in the begging of the video. For this video it’s about 7 seconds.