
Recherche avancée
Autres articles (29)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
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 (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (2277)
-
avconv is killing me with an error I don't understand
31 août 2013, par mikecole79I'm trying to script some testing of Wowza Media Server. Basically, I'm attempting to just beat the living bejeepers out of the thing. I have 5 slightly older computers, originally XP boxes, which I have installed Mint 15 on. I have a script that basically calls the file (or a symbolic link to the file) and takes it into avconv, then dumps it into null.
The idea here is that with 5 of these computers all starting a new thread every second, up to the max they can handle without freezing, we'll get a decent idea of what our current implementation can handle. The script I have works great, but only on some machines. The systems are all the same hardware, and I installed the same software on them in the beginning, although some of them may have had additional packages installed for various tasks since then. The command I issue in script is :
timeout 30m avconv -y -re -i http://ourDomainName:1935/path/to/file/mp4:FileName.mp4/playlist.m3u8 -strict experimental -f mp4 /dev/null &
It works fine on 2 machines, fails on three. I don't know why. The only thing I can think of is that there is a codec that's on those working two and not on the other 3, but I have not yet had any luck tracking that down (still trying even while asking for help).
Does anyone know some magic here that would allow it to find the needed codec, or install a bunch of codecs, or something ? I have libavcodec-extra-53 installed.
Thanks !
-
jPlayer - notworking on IE
8 juillet 2014, par Deepak SuvarnaI’m developing an application of video playlist. I could make it run for Chrome, FireFox, Safari(Though starts late), Android and iOS, but could not make it work on IE. I have put my chunk of code on jsFiddle for you guys.
<code>http://jsfiddle.net/8g5F8/21/
One thing which make me worried is, if you click on another video in same playlist, they works on IE but not mine. I am clueless about it. Am I converting wrong way or something ? What is correct way of conversion etc
Using : PHP, FFMPEG, JPlayer
-
FFmpeg libraries : Exactly constant segment duration for HLS
25 août 2015, par user2677612We are using FFmpeg libraries git-ee94362 libavformat v55.2.100.
Our purpose is to mux two streams (video and audio) into M3U8 playlist using HLS.
In addition, we want the duration of every TS segment file be exactly 3.0 sec (frame rate is 25 fps).To reach it, we are trying to set several options and properties, namely :
segment_time
keyint_min
scenechange_threshold
gop_size
force_key_frames.
And our code looks as below :
AVCodecContext *codec_ctx = NULL;
AVFormatContext *ofmt_ctx = NULL;
int ret = 0, gopSize = (int)(3.0 * 25); // 3 sec * 25 fps
// ofmt_ctx and codec_ctx initialization and filling are OK, but:
codec_ctx->time_base.num = 1;
codec_ctx->time_base.den = 25 // fps
// It seems, that the following three lines have no effect without explisit setting of the "hls_time" property
codec_ctx->keyint_min = gopSize; // in FFMpeg application, the corresponding option is "-keyint_min 3"
codec_ctx->scenechange_threshold = 0; // in FFMpeg application, the corresponding option is "-sc_threshold 0"
codec_ctx->gop_size = gopSize; // in FFMpeg application, the corresponding option is "-g 3"
ret = av_opt_set_double(ofmt_ctx, "hls_time", 3.0, AV_OPT_SEARCH_CHILDREN);
// Any of the following lines causes "Option not found" error.
ret = av_opt_set(codec_ctx->priv_data, "profile", "main", AV_OPT_SEARCH_CHILDREN);
ret = av_opt_set(codec_ctx->priv_data, "preset", "ultrafast", AV_OPT_SEARCH_CHILDREN);
ret = av_opt_get(ofmt_ctx, "segment_time", AV_OPT_SEARCH_CHILDREN, &str);
ret = av_opt_set((ofmt_ctx, "segment_time", "3.0", AV_OPT_SEARCH_CHILDREN);Anyway, the TS files durations are different, ( 2-3 sec), and not EXACTLY 3.0 sec.
Our question : What is the best way to solve the problem ?Andrey Mochenov.