
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (35)
-
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 (...)
Sur d’autres sites (2422)
-
How to encode video with ffmpeg for playback on Android ?
3 janvier 2012, par SeanI've got a c++ library that is encoding video in realtime from webcams to mp4 files (H264). The settings i've got are as follows :
codecContex->profile=FF_PROFILE_H264_BASELINE; //Baseline
codecContex->gop_size=250;
codecContex->max_b_frames=0;
codecContex->max_qdiff=4;
codecContex->me_method=libffmpeg::ME_HEX;
codecContex->me_range=16;
codecContex->qmin=10;
codecContex->qmax=51;
codecContex->qcompress=0.6;
codecContex->keyint_min=10;
codecContex->trellis=0;
codecContex->level=13; //Level 1.3
codecContex->weighted_p_pred = 2;
codecContex->flags2|=CODEC_FLAG2_WPRED+CODEC_FLAG2_8X8DCT;This creates MP4 files that play on iOS devices and on Windows Phone 7 devices but not on Android devices. I've read that Android only supports movies encoded with the baseline profile. These settings should produce a baseline movie but when I look at the generated MP4 file with MediaInfo it says it's AVC(High@L1.3). This might be why it's not working but I can't seem to get it to generate something with AVC(Baseline@L1.3)...
If I remove the last line :
codecContex->flags2|=CODEC_FLAG2_WPRED+CODEC_FLAG2_8X8DCT;
Then MediaInfo reports the file as being "AVC(Main@L1.3)" instead - but those flags are part of the Baseline profile !
-
Django Celery FFMPEG : convert video files
3 janvier 2012, par sultanI'm trying to convert video files using FFMPEG via Celery tasks. The generated command to be executed looks like
ffmpeg -i /path/to/flv -ar 22050 -ab 96k -r 24 -b 600k -f flv path/to/flv/transcoded/flv_movie.flv
and when I call the task
TranscodeVideoTask.delay(src=filepath, dst=destination_path)
I getflv_movie.flv
file but its size is only about200Kb
and debug outputPress [q] to stop, [?] for help
[h264 @ 0x10205a200] Reference 3 >= 3
[h264 @ 0x10205a200] error while decoding MB 7 5, bytestream (690)
[h264 @ 0x10205a200] concealing 762 DC, 762 AC, 762 MV errors
frame= 40 fps= 0 q=2.0 Lsize= 136kB time=00:00:01.66 bitrate= 668.2kbits/s dup=0 drop=9
video:114kB audio:20kB global headers:0kB muxing overhead 1.814991%TranscodeVideoTask source
@task(name="transcode.media")
def TranscodeVideoTask(src, dst):
command = commands.get("flv") % {"src": src, "dst": dst}
os.system(src, dst)
filename = os.path.join(dst, "flv_movie.flv")
YamdiInjector.yamdi(filename, dst)When the same command executed manually in the console it works just fine.
UPDATE
So far I've composed the following ffmpeg instructions in my bash file and it converts almost every avi file I tested already#!/bin/sh
INPUT=$1
OUTPUT=$2/flv_movie.flv
echo "Input file: ${INPUT}"
echo "Output file: ${OUTPUT}"
echo `ffmpeg -y -i $INPUT -ar 44100 -ab 128k -ac 2 -sameq -f flv $OUTPUT`What may cause this strange problem ?
Sultan
-
ffmpeg - wrong length of video
29 mars 2012, par VictorI use ffmpeg to convert a video from mp4 to flv and mpg formats. Just rough conversion with few params :
ffmpeg -i my_file.mp4 -an -f flv my_new_file.flv
(I don't need sound so I specified -an)
When I convert file with 2:23 length I get 0:23 length of flv(or mpg) files. Why does that happen ?