Recherche avancée

Médias (91)

Autres articles (33)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (5463)

  • FFMPEG Conversion Options [migrated]

    7 mars 2013, par Mike

    So, I've got some video files I want to convert so they match the formatting on another video file. I've got the format data (from ffprobe) for the video I want to match but I'm not sure how to use that to determine the options to convert my other videos. Any help ?

    Here are the settings on the file I want to match from ffprobe :

       Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'clip #19.mov':
         Metadata:
           major_brand     : qt  
           minor_version   : 537199360
           compatible_brands: qt  
           creation_time   : 2013-03-05 22:27:26
         Duration: 00:15:00.00, start: 0.000000, bitrate: 119406 kb/s
           Stream #0:0(eng): Video: prores (apcn / 0x6E637061), yuv422p10le, 1440x1080, 117804 kb/s, SAR 4:3 DAR 16:9, 29.97 fps, 29.97 tbr, 2997 tbn, 2997 tbc
           Metadata:
             creation_time   : 2013-03-05 22:27:26
             handler_name    : Apple Alias Data Handler
             timecode        : 00:00:00;00
           Stream #0:1(eng): Audio: pcm_s16le (sowt / 0x74776F73), 48000 Hz, 2 channels, s16, 1536 kb/s
           Metadata:
             creation_time   : 2013-03-05 22:27:26
             handler_name    : Apple Alias Data Handler
           Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
           Metadata:
             creation_time   : 2013-03-05 22:27:26
             handler_name    : Apple Alias Data Handler
             timecode        : 00:00:00;00
       Unsupported codec with id 0 for input stream 2

    Any help would be greatly appreciated. Thanks.

  • With ffmpeg, trying to change a container from Mpeg TS to MP4, fps became twice of Mpeg TS

    17 juillet 2016, par user2148481

    I got a Mpeg TS file from a capture board to make a DEMO video clip.

    Here is information of the file from ffmpeg ;

    Stream #0:0[0x51]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x61]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s

    However, I cannot edit it in FCP X, so I tried to change just its container TS to MP4 with ffmpeg using the below command.

    ffmpeg -i input.ts -vcodec copy -acodec copy output.mp4

    After doing it, fps of output.mp4 became 59.94 fps and information is like below ;

    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1750 kb/s, 59.94 fps, 59.94 tbr, 90k tbn, 59.94 tbc
    Stream #0:1(und): Audio: mp2 (mp4a / 0x6134706D), 48000 Hz, stereo, s16p, 224 kb/s

    Fps is not same.

    Is there a way to keep same fps as TS with just copy option to change a container ?

    I am wondering whether just re-encoding is solution or not.

    /////

    Full logs ;

    $ ffmpeg -i input.ts -vcodec copy -acodec copy output.mp4
    ffmpeg version 1.1.2 Copyright (c) 2000-2013 the FFmpeg developers
     built on Feb  6 2013 10:45:57 with Apple clang version 4.1 (tags/Apple/clang-421.11.66) (based on LLVM 3.1svn)
     configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid
     libavutil      52. 13.100 / 52. 13.100
     libavcodec     54. 86.100 / 54. 86.100
     libavformat    54. 59.106 / 54. 59.106
     libavdevice    54.  3.102 / 54.  3.102
     libavfilter     3. 32.100 /  3. 32.100
     libswscale      2.  1.103 /  2.  1.103
     libswresample   0. 17.102 /  0. 17.102
     libpostproc    52.  2.100 / 52.  2.100
    [mpegts @ 0x7f8a2b033000] max_analyze_duration 5000000 reached at 5003333
    Input #0, mpegts, from 'input.ts':
     Duration: 00:05:01.27, start: 0.224400, bitrate: 2727 kb/s
     Program 1
       Stream #0:0[0x51]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x61]: Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 224 kb/s
    Output #0, mp4, to 'output.mp4':
     Metadata:
       encoder         : Lavf54.59.106
       Stream #0:0: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 90k tbn, 90k tbc
       Stream #0:1: Audio: mp2 (i[0][0][0] / 0x0069), 48000 Hz, stereo, 224 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (copy)
     Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mp4 @ 0x7f8a2b058200] pts has no value
    frame=13472 fps=0.0 q=-1.0 size=   54536kB time=00:03:44.80 bitrate=1987.3kbits/frame=18056 fps=0.0 q=-1.0 Lsize=   73024kB time=00:05:01.28 bitrate=1985.5kbits/s    
    video:64370kB audio:8212kB subtitle:0 global headers:0kB muxing overhead 0.608498%
  • Revision 20babf6d9d : Don't try to use getenv on windows phone/rt The getenv function doesn't exist t

    29 mai 2013, par Martin Storsjo

    Changed Paths :
     Modify /vpx_ports/arm_cpudetect.c



    Don’t try to use getenv on windows phone/rt

    The getenv function doesn’t exist there. In Visual Studio 2012,
    the function still existed in the link libraries even though
    it was hidden in the headers, but in the 2013 version it has been
    removed from the link libraries as well.

    Change-Id : Iea6289a698fa1788e906f5aabb6fddda3675815b