
Recherche avancée
Autres articles (86)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
Sur d’autres sites (4389)
-
Converting video files from mp4 to webM for playing using Media Source Extensions
19 octobre 2018, par raulI’m currently trying to implement a video player using Media Source Extensions. Currently just a very simple proof of concept, following a tutorial I found here.
I cloned their repo with all source code from github here and am testing the implementation on Chromium and Firefox with various video files.
Everything worked well with the example webm files in the repo for both browsers.
Next I tried to convert a video I downloaded from some random site using ffmpeg and mse-tools to "align the clusters" of the webm file using the following commands :
ffmpeg -i randomvideo.mp4 -c:v libvpx -c:a libvorbis output.webm
mse_webm_remuxer output.webm aligned.webmAgain, all was well on both browsers.
Finally, I wanted to convert a very simple animation I created in blender (rendered with h264 in mp4).
I tried converting the resulting file using the same process as above and the file played normally on firefox, but did not load on chromium.
I assume I am commiting some error when converting the file, but inspecting the attributes of the final file with vlc and ffprobe, I could not find any obvious problems.
Any ideas as to what I am doing wrong ?
One final test I did was to go to this site to get some sample webm files.
I downloaded the "Big Buck Bunny Trailer in WebM" and "Elephants Dream as WebM File".
Both files worked in firefox, but the "Elephants Dream" file would not play in chromium.
I am on a linux machine (Arch Linux distro) with the following versions of the browsers :
Chromium Version 69.0.3497.100 (Official Build) Arch Linux (64-bit)
Firefox 62.0.3 (64-bit)
I have shared the file I created from the blender animation (very small - only 36 KB) on google drive here in case anyone wants to check it out.
-
FFmpeg : How to put encoded media data from one container to another with out re-encoding ?
17 août 2012, par BlenderSo for example : I have file.mp3, I know that my desired format can play sound with out video (for example FLV) so how to put encoded mp3 data using ffmpeg from mp3 container into flv (where to get articles/code samples on this) ?
I mean not from cmd but from C++ using ffmpeg as library. (see tags)
-
tv unable to playback ffmpeg converted media
27 juin 2017, par SambirI am trying to convert some raw video camerafiles using the following ffmpeg commmand. after conversion the pc plays back the files without any problem. also the phone plays it back using vlc. but the tv gives unsupported format. the tv plays back all files even h265 but only this file it gives an error. any help is appreciated :
ffmpeg command :
ffmpeg -i 1.mov -map_metadata -1 -c:v libx264 -c:a aac -ac 2 -b:a 128k -strict -2 -crf 23 -preset veryfast -threads 0 converted/1.mp4
and this is the ffmpeg info of the original file :
built with gcc 4.8 (Ubuntu 4.8.2-19ubuntu1)
configuration: --prefix=/root/ffmpeg/target --extra-cflags='-I/root/ffmpeg/target/inclu de -static' --extra-ldflags='-L/root/ffmpeg/target/lib -lm -static' --extra-version=Xtrea m-Codes --enable-nonfree --enable-openssl --disable-debug --disable-shared --enable-libx2 65 --enable-static --extra-cflags=--static --disable-ffplay --disable-ffserver --disable- doc --enable-gpl --enable-pthreads --enable-postproc --enable-libass --enable-gray --enab le-runtime-cpudetect --enable-gnutls --enable-libmp3lame --enable-libopus --enable-libthe ora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-bzlib --enable-zlib --e nable-version3 --enable-libvpx --enable-libxavs --disable-devices --enable-librtmp --extr a-libs='-lrtmp -lnettle -lhogweed -lgmp -lssl -lcrypto -lz -lc -ldl'
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 28.100 / 56. 28.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 12.100 / 5. 12.100
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '2.mov':
Metadata:
major_brand : qt
minor_version : 0
compatible_brands: qt
creation_time : 2017-05-18 07:39:04
Duration: 00:10:38.28, start: 0.000000, bitrate: 239010 kb/s
Stream #0:0(und): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709), 1920x1080, 2 36756 kb/s, SAR 1:1 DAR 16:9, 50 fps, 50 tbr, 5k tbn, 5k tbc (default)
Metadata:
creation_time : 2017-05-18 07:39:04
handler_name : Core Media Data Handler
encoder : Apple ProRes 422
timecode : 00:00:00:00
Stream #0:1(und): Audio: pcm_s24le (lpcm / 0x6D63706C), 44100 Hz, stereo, s32 (24 bit ), 2116 kb/s (default)
Metadata:
creation_time : 2017-05-18 07:39:04
handler_name : Core Media Data Handler
Stream #0:2(und): Data: none (tmcd / 0x64636D74), 0 kb/s (default)
Metadata:
creation_time : 2017-05-18 07:39:04
handler_name : Core Media Data Handler
timecode : 00:00:00:00
At least one output file must be specifiedAfter conversion i get like 1.mp4,2.mp4,3.mp4... then I concat them using concat command to one file. all went ok without any problem but the tv does not support the file.
I found out it is encoded with apple prores so I googled some conversion commands but they also did not seem to help like this :
yuv422p, lossless audio
ffmpeg -i "input.mov" -pix_fmt "yuv422p" -vcodec libx264 -preset medium -qp 0 -acodec pcm_s16le "output_yuv422p.mkv"
yuv422p, aac audio
ffmpeg -i "input.mov" -pix_fmt "yuv422p" -vcodec libx264 -preset medium -qp 0 -acodec -acodec libvo_aacenc -b:a 256K "output_yuv422p.mp4"