Recherche avancée

Médias (91)

Autres articles (70)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

Sur d’autres sites (4717)

  • avcodec/vp56 : Cleanup generically in case of init failure

    11 février 2022, par Andreas Rheinhardt
    avcodec/vp56 : Cleanup generically in case of init failure
    

    Reviewed-by : Peter Ross <pross@xvid.org>
    Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>

    • [DH] libavcodec/vp5.c
    • [DH] libavcodec/vp56.c
    • [DH] libavcodec/vp56.h
    • [DH] libavcodec/vp6.c
  • ffmpeg change metadata inside video file

    26 novembre 2020, par virtualsets

    Hello I have problems to change timecode insdie metadata of a video file "mov"

    &#xA;

    ruta=r"E:\Brutos-sin-eliminar\inma-ruben-22-2-2020\multicam\\"&#xA;nombre=r"A019_02230134_C186.mov"&#xA;comand="ffmpeg -i " &#x2B; nombre &#x2B; " -ss 0 -map 0 -acodec copy -vcodec copy -timecode 01:20:10:00 -metadata:s:2:0 timecode=01:20:10:00 -metadata:s:1:0 timecode=01:20:10:00 -metadata:s:0:2 -metadata:s:0:2  timecode=01:10:10:00"&#x2B; " convert_" &#x2B; nombre&#xA;&#xA;os.popen(comand)&#xA;

    &#xA;

    I need to put muy own timecode to the file but this command not works.

    &#xA;

    The console give me

    &#xA;

      mov @ 00000225287fdc00] You requested a copy of the original timecode track so timecode metadata are now ignored&#xA;Output #0, mov, to &#x27;convert_A019_02230134_C186.mov&#x27;:&#xA;  Metadata:&#xA;    major_brand     : qt  &#xA;    minor_version   : 537199360&#xA;    compatible_brands: qt  &#xA;    com.blackmagic-design.camera.windowedSensor: 1&#xA;    com.apple.proapps.manufacturer: Blackmagic Design&#xA;    com.blackmagic-design.camera.uuid: 3cf1dd9e-e307-47ff-864e-5487fea3fa47&#xA;    com.blackmagic-design.camera.projectFPS: 25&#xA;    com.apple.proapps.shootingRate: 50&#xA;    com.blackmagic-design.camera.cameraType: Blackmagic Pocket Cinema Camera 4K&#xA;    com.blackmagic-design.camera.shutterAngle: 180&#xB0;&#xA;    com.blackmagic-design.camera.shutterMode: Angle&#xA;    com.blackmagic-design.camera.iso: 3200&#xA;    com.blackmagic-design.camera.whiteBalanceKelvin: 3000&#xA;    com.blackmagic-design.camera.whiteBalanceTint: -44&#xA;    com.apple.proapps.customgamma: com.blackmagic-design.camera.filmlog&#xA;    com.blackmagic-design.camera.look.LUTName: Blackmagic Pocket 4K Film to Extended Video.cube&#xA;    com.blackmagic-design.camera.guides.aspectRatio: 2:1&#xA;    com.blackmagic-design.camera.guides.safeArea: 90&#xA;    com.blackmagic-design.camera.firmware: 6.6&#xA;    com.apple.proapps.clipID: A019_02230134_C186&#xA;    com.apple.proapps.reel: 19&#xA;    com.apple.proapps.scene: 1&#xA;    com.apple.proapps.shot: 99&#xA;    com.apple.proapps.isGood: 0&#xA;    com.blackmagic-design.camera.environment: interior&#xA;    com.blackmagic-design.camera.dayNight: day&#xA;    com.apple.proapps.cameraName: A&#xA;    com.blackmagic-design.camera.colorScience: Blackmagic Pocket Cinema Camera 4K, Color Science Gen 4&#xA;    com.blackmagic-design.camera.dateRecorded: 2020:02:23&#xA;    timecode        : 01:20:10:00&#xA;    encoder         : Lavf58.11.101&#xA;    Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le(bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 122315 kb/s, 25 fps, 25 tbr, 12800 tbn, 25 tbc (default)&#xA;    Metadata:&#xA;      creation_time   : 01:10:10:00&#xA;      handler_name    : ?Apple Alias Data Handler&#xA;      encoder         : Apple ProRes 422&#xA;      timecode        : 01:10:10:00&#xA;    Stream #0:1(eng): Audio: pcm_s24le (in24 / 0x34326E69), 48000 Hz, stereo, s32 (24 bit), 2304 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-02-23T00:34:02.000000Z&#xA;      handler_name    : ?Apple Alias Data Handler&#xA;      timecode        : 01:20:10:00&#xA;    Stream #0:2(eng): Data: none (tmcd / 0x64636D74), 0 kb/s (default)&#xA;    Metadata:&#xA;      creation_time   : 2020-02-23T00:34:02.000000Z&#xA;      handler_name    : ?Apple Alias Data Handler&#xA;      timecode        : 01:20:10:00&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:1 -> #0:1 (copy)&#xA;  Stream #0:2 -> #0:2 (copy)&#xA;Press [q] to stop, [?] for help&#xA;frame=  467 fps=0.0 q=-1.0 Lsize=  281452kB time=00:00:18.64 bitrate=123693.3kbits/s speed=71.1x    &#xA;video:278913kB audio:2531kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.002533%&#xA;

    &#xA;

    I dont understand why not modificate the mov file... when open the metadata it is oringinal.

    &#xA;

    Reggards

    &#xA;

  • How do I add a dependency to my application ?

    30 juin 2017, par Aang

    I’m currently working on an application called SatStressGUI, a GUI application written in Python, which was passed down to me from previous interns who have worked on it. It relies on dependencies such as wxPython (which, as most of you probably know, must be installed on the user’s own computer before the application the user is trying to run runs properly if the application calls on the the wxPython library). In the gitHub, under contents->resources->lib->python2.5->sitepackages, you’ll see all the libraries which the application is dependent on (wxPython is under the name wx, for example) copied and pasted. If I am correct, the existence of these libraries in sitepackages makes it so that the user does not have to manually install libraries such as wxPython themselves : the user can simply run the GUI application by downloading the whole package under "clone or download" in the main page and run the satstressgui executable file located in contents->MacOS. I believe there is a file somewhere, perhaps boot.py (located in contents->resources) that says, "hey, before the user runs this executable file, download the libraries under contents->resources->lib->python2.5->sitepackages."

    All that being said, I want to add a new dependency to the program. I am trying to use FFMPEG, which is an external program that allows you to take a sequence of images and convert it to a video. In satstressgui.py, which is the main source code file for this application (located in contents->resources) I use the subprocess python module to call on the external program FFMPEG. Here is the code snippet :

    #FFMPEG is an external program that converts a sequence of images to a video.
    subprocess.call(['/usr/local/bin/ffmpeg', '-framerate', \
                            framerate, '-f', 'image2','-pattern_type', \
                            'glob', '-i', self.directory + '/orbit_*.png', \
                            '-r', '10', '-s', '620x380', self.directory +
                            ".avi"])

    At the moment, this works on my own computer because I have FFMPEG installed (in case it matters, I installed it using homebrew). How do I make it so that FFMPEG becomes a dependency in my program just like wxPython (i.e., I make it so that FFMPEG is "installed" on my user’s computer before they run the application) ? I’ve looked on FFMPEG’s website and it looks as if there is a gitHub for it, but other than that I’m quite lost.

    NOTE : I’ve also tried to use imageio (another Python library) to convert a sequence of images to a video in my application, but I’ve failed. I tried to copy and paste the files from imageio’s gitHub to contents->resources->lib->python2.5->sitepackages, but whenever I try to "import imageio" it fails. This might be because I am adding the dependency wrong or because imageio only works on Python 2.6 and above and my program is written in Python 2.5. If someone could give me an answer to any of these questions and help me import a module such as imageio or add an external program such as FFMPEG as a dependency in my application, that’d be very much appreciated ! I can’t link imageio’s main website because of some restrictions by Stack Overflow, but you should be able to find it by simply searching it up on google (the main website has a photo of an astronaut in it’s top banner). I would more prefer a solution using FFMPEG, however, seeing as I’ve already implemented it in my code.

    Thank you so much in advance for your help ! I’m quite new to computer science and programming so I apologize if a lot of the clarifications or questions I’m asking are rudimentary.

    Here is the link to the gitHub of my application : https://github.com/nhudoan/SatStressGUI

    Here is the link to FFMPEG’s main website : https://ffmpeg.org/download.html#repositories