
Recherche avancée
Autres articles (64)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (8011)
-
Using GStreamer to receive and send h264 video (from OBS)
16 mars 2020, par IvoriusI’ve been trying to set up using GStreamer to get support for some input I can output from OBS.
OBS : rtp_mpegts to udp ://localhost:5000
http-launch 8080 webmmux streamable=true name=stream udpsrc uri=udp://localhost:5000 caps="application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)MP2T-ES, payload=(int)
33" ! gstrtpjitterbuffer latency=200 ! application/x-rtp ! rtpmp2tdepay ! video/mpegts ! mpegtsdemux ! video/x-h264 ! queue ! decodebin ! vp8enc ! stream. audiotestsrc ! vorbisenc ! stream.However, using this it seems to accept connections, but just closes them again after a while. Any clues on what I am doing wrong ? I am open to any format changes as long as they’re supported by OBS / ffmpeg.
As a bonus, how do I add support for audio as well ?
Background
I’ve found https://github.com/sdroege/http-launch, which works well in displaying a GStreamer video over http:
<video autoplay="autoplay" controls="">
<source src="https://localhost:8080" type="video/mp4" codecs="avc1.4D401E, mp4a.40.2">
You browser doesn't support element <code>video.
I’ve managed to set up a pipeline where I can use a GStreamer source to pipe into a http-launch
pipeline and display it on video :http-launch 8080 webmmux streamable=true name=stream udpsrc port=5000 caps = "application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264, payload=(int)96" ! mpegtsdemu
x ! h264parse ! TIViddec2 ! videoconvert ! vp8enc ! stream. audiotestsrc ! vorbisenc ! stream.
gst-launch-1.0 -v videotestsrc ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! udpsink host=127.0.0.1 port=5000However, I don’t think OBS supports rpt over UDP. It uses ffmpeg to send these packets, which can stream rtp_mpegts. I’ve found some code snippets which claim to support the format, and stitch together the above pipeline.
-
Creating Thumbnail Image from Video using FFMPEG is not working in ASP.NET Core
17 août 2020, par TanvirArjelI am trying to create thumbnail image for uploaded video with FFMPEG in ASP.NET Core as follows :



private void GetThumbnail(IFormFile file)
{
 var fileName = CreateEmployeeViewModel.Video.FileName;
 var webRootPath = _webHostEnvironment.WebRootPath;
 var filePath = Path.Combine(webRootPath, "videos", fileName);

 var fileExtension = Path.GetExtension(filePath);
 var thumbnailImageName = fileName.Replace(fileExtension, ".jpg");
 var thumbnailImagePath = Path.Combine(webRootPath, "thumbnails", thumbnailImageName);

 ProcessStartInfo startInfo = new ProcessStartInfo();

 string arguments = $"-i {filePath} -ss 00:00:14.435 -vframes 1 {thumbnailImagePath}";

 startInfo.FileName = Path.Combine(Directory.GetCurrentDirectory(), "Ffmpeg\\ffmpeg.exe");
 startInfo.CreateNoWindow = false;
 startInfo.UseShellExecute = false;
 startInfo.RedirectStandardError = true;
 startInfo.RedirectStandardOutput = true;
 startInfo.WindowStyle = ProcessWindowStyle.Hidden;
 startInfo.Arguments = arguments;

 try
 {
 Process process = Process.Start(startInfo);
 process.WaitForExit(5000);
 process.Close();
 }
 catch
 {
 // Log error.
 }

}




It's not showing any error but it's also not generating the thumbnail image. am I missing anything please ?



Note : if I execute the above configuration from command line its works !


-
How to run the set of commands in windows command line
24 février 2020, par robert.littlex264-preset
is used in the second command (Cmd 2
). Is it substitution or ?Cmd 1 :
x264-preset:
vcodec=libx264
thread_type=slice
slices=1
profile=baseline
level=32
preset=superfast
tune=zerolatency
intra-refresh=1
crf=15
x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60Cmd 2
$ ffmpeg -r 30 -f dshow -i video="devicename" -pix_fmt yuv420p -an -vpre
x264-preset -f mpegts udp://127.0.0.1:8888When I run the
Cmd 1
it doesn’t work. Even with the SET like :x264-preset:
SET vcodec=libx264
SET thread_type=slice
SET slices=1
SET profile=baseline
SET level=32
SET preset=superfast
SET tune=zerolatency
SET intra-refresh=1
SET crf=15
SET x264-params=vbv-maxrate=5000:vbv-bufsize=1:slice-max-size=1500:keyint=60Source :
https://lists.ffmpeg.org/pipermail/ffmpeg-user/2016-January/030127.html