
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (44)
-
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 (...)
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
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 (4335)
-
Relocated ffmpeg example files fail
17 novembre 2020, par CT99I'm trying to use some ffmpeg calls in my own program, the basis of which I'm editing the ffmpeg example program remuxing.c. I'm trying to use some of the ffmpeg calls in my own program.


I'm running Ubuntu 18.04.5 on a generic Linux box.


To help better understand what I've done and where I've having problems, I'll out line what I've done and what is not working.


Steps I've successfully completed :


— I've have downloaded the ffmpeg code base and example files


— Next I did a './configure', then 'make', then 'make install' and 'make examples' to make the libraries and examples


— I tested some of the examples and they ran fine from the default install directory


— specifically, when I test remuxing.c in the original ffmpeg downloaded dir — compile and run — it works fine


./remuxing /data/iphone-h264.m4v /tmp/test15.ts



— this creates a .ts output file that I can test and is readable by vlc


Having ensured that I correctly compiled and tested ffmpeg source and its example files, I next move to working my own program based on the example remuxing.c


— I copied the original remuxing.c into my own test directory structure


— I make it by running this to link in the required ffmpeg libraries (I think)


cc -DLINUX -o remuxing remuxing.c -I ../ffmpeg/libavformat -lavformat -I ../ffmpeg/libavcodec -lavcodec -I ../ffmpeg/libswresample -lswresample -I ../ffmpeg/libavutil -lavutil -lpthread -lm



— however when I try to generate a test16.ts file (to know it is different from the one I created before) I get an error :


./remuxing /data/iphone-h264.m4v /tmp/test16.ts
 Could not open input file '/data/iphone-h264.m4v’ Error occurred: Invalid data found when processing input



This is the exact same video file the same program converted from the installed doc/examples directory.


QUESTION — why is this happening — what am I doing wrong ?


I guess I may not be properly linking in the ffmpeg libraries ?? — but I'm not sure what I'm doing wrong.


I can also post my makefiles if that would help.


Would be most appreciative for any help — thank you in advance.


-
Web Based Playback of iOS Videos with Orientation Flag
3 mars 2012, par shaneeWe just recently created an iPhone app for one of our system that allows users to upload picture and video content to our services. The last major hitch we are running into is how to handle videos that are uploaded in an orientation other than Horizontal Right. Apparently if your playback system does not account for the orientation flag sent with the video then it will play upside down or sideways.
The correct approach appears to be that the playback system should take the orientation flag into account just prior to playback. This is the way Apple handles it directly on the device as well as through Quicktime.
SO my first hope is that someone is aware of a web based (HTML5 or Flash) player that is capable of rotating a video during playback based on either the video orientation metadata or based on a passed flag (we already have the necessary flag available in the DB if we need to just pass it manually). If you know of any such player then PLEASE SHARE !
If you aren't aware of such a player, then has anyone had any luck rotating their videos using FFMPEG or MEncoder ? We did a few hours of testing last week and weren't able to get any decent results from the two heavy hitters mentioned there.
Failing ALL OF THAT, is it possible to have the iPhone upload a video or image in a specified direction ?
Any of the three will work for me, but I would prefer to do whatever is standard (if one exists).
Any help is much appreciated !
-
FFmpeg CPU utilization
9 août 2013, par user2565986I have a server running Scientific Linux. I'm trying to convert a large amount of videos and want to maximize cpu usage. My ffmpeg version is git-2013-08-06-a68b6ec.
FFmpeg command :
ffmpeg -y -i "$i" -c:v libx264 -preset fast -b:v "$VID_BIT" -threads 0 -c:a libfdk_aac -b:a "$AUD_BIT" -f mp4 /"$OUT_DIR"/"$MD5"
top output :
top - 10:47:25 up 3 days, 22:05, 5 users, load average: 1.94, 0.49, 0.16
Tasks: 578 total, 1 running, 574 sleeping, 3 stopped, 0 zombie
Cpu0 : 0.0%us, 0.6%sy, 63.2%ni, 36.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.6%sy, 60.1%ni, 39.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 0.0%us, 0.3%sy, 59.5%ni, 40.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.6%sy, 57.1%ni, 42.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu4 : 0.0%us, 0.3%sy, 55.0%ni, 44.7%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu5 : 0.0%us, 0.6%sy, 50.2%ni, 49.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu6 : 0.0%us, 0.3%sy, 56.4%ni, 43.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu7 : 0.0%us, 0.6%sy, 50.3%ni, 49.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu8 : 0.0%us, 0.6%sy, 47.7%ni, 51.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu9 : 0.3%us, 0.3%sy, 46.8%ni, 52.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu10 : 0.0%us, 0.3%sy, 50.2%ni, 49.5%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu11 : 0.0%us, 0.7%sy, 49.0%ni, 50.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu12 : 0.0%us, 0.6%sy, 49.4%ni, 50.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu13 : 0.0%us, 0.6%sy, 43.2%ni, 56.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu14 : 0.0%us, 0.3%sy, 44.5%ni, 55.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu15 : 0.0%us, 0.6%sy, 46.3%ni, 53.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu16 : 0.0%us, 0.7%sy, 44.6%ni, 54.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu17 : 0.0%us, 0.3%sy, 43.3%ni, 56.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu18 : 0.0%us, 0.3%sy, 41.6%ni, 58.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu19 : 0.0%us, 0.3%sy, 34.3%ni, 65.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu20 : 0.0%us, 0.6%sy, 32.5%ni, 66.9%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu21 : 0.0%us, 0.3%sy, 37.9%ni, 61.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu22 : 0.0%us, 0.3%sy, 36.9%ni, 62.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu23 : 0.0%us, 1.0%sy, 37.6%ni, 61.4%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 198345032k total, 10135568k used, 188209464k free, 144212k buffers
Swap: 55640056k total, 0k used, 55640056k free, 5066724k cachedI'm not sure why user usage is at 0% and the niced usage is all I see, but either way I'm looking for a way to get the usage up to 100%. Is there anyway to bolster the usage or is this the best I'm gonna get ?