
Recherche avancée
Autres articles (111)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Utilisation et configuration du script
19 janvier 2011, parInformations spécifiques à la distribution Debian
Si vous utilisez cette distribution, vous devrez activer les dépôts "debian-multimedia" comme expliqué ici :
Depuis la version 0.3.1 du script, le dépôt peut être automatiquement activé à la suite d’une question.
Récupération du script
Le script d’installation peut être récupéré de deux manières différentes.
Via svn en utilisant la commande pour récupérer le code source à jour :
svn co (...) -
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)
Sur d’autres sites (5991)
-
FFMPEG not converting or sending new video to folder
7 mars 2016, par David DrawSo recently I wanted to work on converting any video file that isn’t a MP4 file to that very file type. I did a lot of browsing and FFMPEG was the solution.
I tried using FFMPEG_php on my wamp server but seems it is outdated and is no longer updated
So I downloaded the static package off the FFMPEG website and put it into my C : drive and put the path to it in my computer, following some videos and tutorials online to do so.I believe calling it from the php file with a path is what I have to do as there is so much conflicting information on this which isn’t clear.
So I’m on windows 7 build 7601
I use wamp server 2.5 with the Highest PHP, MYSQL and APACHE.I added the below code into my php script after the file is moved to the first folder as by a few tutorials I’ve read. But the uploaded file is not converting nor is being put in the destination_mp4 folder.
Any help would be greatly appreciated. Thank you.
if(move_uploaded_file($file_loc,$folder.$final_file))
{
exec("C:/ffmpeg/bin/ffmpeg.exe -i ".$folder.$final_file." ". $destination_mp4."");
$newName = $_SERVER['REMOTE_ADDR'].'_'.$_SESSION['id'].''.time();
$mp4Name=$newName.'.mp4';
$destination_mp4='C:/wamp/www/include/uploadvideomp4/'.$mp4Name; -
ffmpeg failed to pull local rtmp stream
3 septembre 2019, par edhuI’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :
ffmpeg -re -i -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream
After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at
avformat_open_input(&ctx, szFilePath, NULL, NULL);
The returned error code is -5 and it signifies I/O issue. The
szFilePath
I passed in isrtmp://localhost/show/stream
and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also triedrtmp://localhost:1935/show/stream
and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks ! -
avformat_open_input failed at openning local rtmp stream
3 septembre 2019, par edhuI’m relatively new to this workflow and this might be a simple problem to solve. However, I haven’t found answers that matched exactly with my question. I’ve set up my nginx server with rtmp module and for testing purposes I used the following command to publish my stream :
ffmpeg -re -i -vcodec libx264 -vprofile baseline -acodec aac -strict -2 -f flv rtmp://localhost/show/stream
After that, I launched up my application which is supposed to read the stream from the nginx server and it failed at
avformat_open_input(&ctx, szFilePath, NULL, NULL);
The returned error code is -5 and it signifies I/O issue. The
szFilePath
I passed in isrtmp://localhost/show/stream
and I assume this will automatically work since it works when I tried to play some mp4 sample files online. I also triedrtmp://localhost:1935/show/stream
and vice versa. I could view the stream being played in VLC but I can’t open it in the code. I’m not really sure what happened here. I feel like this isn’t necessarily a complicated issue but I don’t know where to start looking for possibles causes. I’d appreciate the help. Thanks !