
Recherche avancée
Médias (2)
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (57)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
Sur d’autres sites (7910)
-
Ffmpeg integration without cmd ?
27 août 2019, par forza1010I don’t want to use ffmpeg in command prompt. I want to integrate it into my code. So when I use my phone, to watch streams, it is to much time, to use some command line solutions. The live broadcast must be edited, befor the user reach it. Someone told me, that I should use ffmpeg as dll, but I dont know. What are my options ?
-
garbled audio when streaming to youtube using ffmpeg
27 mai 2022, par skavishI am having some weird audio issues streaming to youtube using ffmpeg.


The same stream on facebook and twitch is fine, but on youtube it has some garbling audio issues.


Here is one of those streams : https://www.youtube.com/watch?v=zat4fhwFGUI


Here is ffmpeg command which was used to stream this video. I removed input, output key and inserted newlines for readability.


This command is streaming to youtube (last tee), to hls (first) and to mp4 (second). hls and mp4 do not have this audio issue. Also no issues if we add another tee to stream say to facebook as well.


It happens only with youtube.


I would appreciate any help or ideas on what is going on there. Thank you !


ffmpeg -i XXXXXXXXXX -r 30 -preset ultrafast -tune zerolatency -threads 0 -vsync 1 -map 0:v -c:v libx264 -crf 23 -g 60.0 -sc_threshold 0 -keyint_min 60.0
-pix_fmt yuv420p -map 1:a:0 -c:a:0 aac -b:a:0 128k -ac 2 -ar 44100 -aq 0 -flags +global_header
-f tee
[f=hls:var_stream_map='v:0,a:0':select='v:0,a:0':hls_time=2.0:hls_playlist_type=event:
hls_flags=independent_segments+temp_file:master_pl_publish_rate=1:hls_segment_type=mpegts:hls_segment_filename=/tmp/10311326958150343888/stream_%v_%02d.ts:
master_pl_name=master.m3u8]/tmp/10311326958150343888/stream_%v.m3u8|

/tmp/10311326958150343888/stream.mp4|

[f=fifo:fifo_format=flv:recover_any_error=0:drop_pkts_on_overflow=1:attempt_recovery=1:recovery_wait_time=1:max_recovery_attempts=100:
onfail=ignore:format_opts=flvflags=no_duration_filesize]rtmp://a.rtmp.youtube.com/live2/xxxxxxxxxxxxxxx



-
ffmpeg is not creating screenshot from video
1er décembre 2014, par hiteshI need to create a screen shot from video,
I have followed this tutorial to do the intial setup
1) I downloaded the ffmpeg from here -[
http://ffmpeg.zeranoe.com/builds/ ] for 64 bit operating system.2) I followed the https://www.youtube.com/watch?v=gU49GiWGGAI , video and did all configuration successfully and
phpinfo()
shows thatffmpeg
has been installed.3) Then I tried this to find out whether it is working or not,
It worked successfully
4) Next I followed this video tutorial here , but for some reason video thumbnails are not created.
Not able to find the problem, I don’t see any error also.
below is my code
/**
* FFMPEG-PHP Test Script
*
* Special thanks to http://www.sajithmr.me/ffmpeg-sample-code for this code example!
* See the tutorial at http://myownhomeserver.com on how to install ffmpeg-php.
*/
error_reporting(1);
error_reporting(E_ALL ^ E_NOTICE);
// Check if the ffmpeg-php extension is loaded first
extension_loaded('ffmpeg') or die('Error in loading ffmpeg');
// Determine the full path for our video
$vid = realpath('./videos/myvideo.mp4');
$videosize = filesize($vid);
$remoteVideo = 'http://video-js.zencoder.com/oceans-clip.mp4';
//ffmpeg
$ffmpeg = dirname(__FILE__) . "\bin\\ffmpeg";
$imageFile = "1.png";
$image2 = "2.png";
$size = "120x90";
$getfromsecond = 7;
$cmd = "$ffmpeg -i $vid -an -ss $getfromsecond -s $size $imageFile";
$cmd2 = "$ffmpeg -i $remoteVideo -an -ss $getfromsecond -s $size $image2";
if(!shell_exec($cmd)){
echo "Thumbnail created";
}else{
echo "Error Creating thumbnail";
}
if(!shell_exec($cmd2)){
echo "Thumbnail for remote url was created";
}else{
echo "Error Creating thumbnail for remote url ";
}OUTPUT
Thumbnail created
Thumbnail for remote url was createdPlease help me solve this issue.