
Recherche avancée
Autres articles (65)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)
Sur d’autres sites (9323)
-
avcodec.h and avfiltergraph.h files are not found
12 avril 2019, par Dries JansI’m testing out a RTSP encoded stream transmitter using mpeg4. I found the code from this topic : FFMPEG to send RTSP encoded stream C++
I think there is a problem with different build versions. I’m using the
4.1.1 build.I’ve already tried to use the avcodec header in the libavcodec directory, but I have no idea if this is correct because I can’t find a replacement for the avfiltergraph header. I tried replacing it with avfilter header, but this gave an error on the CODEC_ID_H264.
#include <libavfilter></libavfilter>avfiltergraph.h>
#include <libavfilter></libavfilter>avcodec.h>You also need to execute next command to provide an listening service.
ffplay -rtsp_flags listen -i rtsp://127.0.0.1:8554/live.sdp
-
What type file to pass to FFMPEG::Movie.new(file) in the gem ffmpeg (heroku)
31 août 2020, par AlbertMunichMarI have a Rails app hosted in Heroku. I am using the gem
ffmpeg
to record screenshots.

I get a video from a React App in my controller :


video = params[:video].tempfile
# #tmp/RackMultipart20200831-4-zgw094.mp4>



I try to pass this object, but does not work :


Errno::ENOENT (No such file or directory - the ffprobe binary could not be found in /app/vendor/bundle/ruby/2.5.0/bin:/app/bin:/app/vendor/bundle/bin:/usr/local/bin:/usr/bin:/bin):



I thought it should worked, since
FFMPEG::Movie.new(file)
is asking for the path, and I am providing it :

Parameters: {"video"=>#, @original_filename="89.mp4", @content_type="video/mp4", @headers="Content-Disposition: form-data; name=\"video\"; filename=\"89.mp4\"\r\nContent-Type: video/mp4\r\n">}



see :
tmp/RackMultipart20200831-4-q2yi74.mp4>
. This is the temp path right ?

Maybe it's looking for the file in the wrong path, but how can I specify it ?


I also tried :


File.open(video, 'r') do |file|
 FFMPEG::Movie.new(file.path)
end



But also wrong path. Could someone help me ?


Buildpack is installed in heroku.


I used the CLI installation :


heroku create --buildpack https://github.com/FFmpeg/FFmpeg.git



With following output :


remote: -----> ffmpeg app detected
remote: -----> Install ffmpeg
remote: DOWNLOAD_URL = https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz
remote: exporting PATH
remote: -----> Discovering process types
remote: Procfile declares types -> (none)



It seems to be installed.


But I keep getting this error :


2020-08-31T15:56:24.157721+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=POST path="/nodes" host=wikisalsaapi.herokuapp.com request_id=35e23352-005a-4178-bda1-0bed65885c0d fwd="46.128.35.112" dyno= connect= service= status=503 bytes= protocol=https
2020-08-31T15:57:08.000000+00:00 app[api]: Build started by user albert.montolio@gmail.com
2020-08-31T15:57:31.843422+00:00 app[api]: Deploy 038e1b47 by user albert.montolio@gmail.com
2020-08-31T15:57:31.843422+00:00 app[api]: Release v76 created by user albert.montolio@gmail.com
2020-08-31T15:57:34.000000+00:00 app[api]: Build succeeded
2020-08-31T15:58:37.767157+00:00 heroku[router]: at=error code=H14 desc="No web processes running" method=POST path="/nodes" host=wikisalsaapi.herokuapp.com request_id=365fe1a2-091e-479a-b9b6-02c0b70ed754 fwd="46.128.35.112" dyno= connect= service= status=503 bytes= protocol=https



-
Audio going out of sync when using setpts and tempo in ffmpeg
30 mai 2019, par loveforfire33I am trying to slow down a video and its audio at the same time (mp4). I have tried doing the audio and video separately with code similar to the command below, but still get the same effect.
The audio slowly goes out of sync with the video after roughly 30 seconds (audio goes faster).
-i "INPUT" -filter_complex "[0:v]setpts=1.1*PTS[v] ;[0:a]atempo=0.9[a]" -map "[v]" -map "[a]" "OUTPUT"
Any advice would be appreciated. Thanks in advance.