Recherche avancée

Médias (0)

Mot : - Tags -/acrobat

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (51)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Participer à sa documentation

    10 avril 2011

    La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
    Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
    Pour ce faire, vous pouvez vous inscrire sur (...)

Sur d’autres sites (9012)

  • PHP HTML5 compatible MP4 video using FFMPEG

    9 août 2013, par Annie

    Hi I am using FFMPEG to convert the uploaded video with PHP.

    echo "conversion exercise started...<br /><br />";

    /* looping through all files in the directory */
    if ($handle = opendir(&#39;assets/uploaded_videos&#39;)) {
       while (false !== ($entry = readdir($handle))) {

           /* filtering the desired extensions */
           if ($entry != "." &amp;&amp; $entry != ".." &amp;&amp; in_array(substr($entry, strrpos($entry, &#39;.&#39;)), array(".wmv", ".mpg", ".mpeg", ".flv", ".ogg", ".mp4")))
           {
               $filename = substr($entry, 0, strrpos($entry, &#39;.&#39;));

               //$command = "ffmpeg -i assets/uploaded_videos/$entry -vcodec libx264 assetss/videos/$filename.mp4";

               $command = "ffmpeg -i assets/uploaded_videos/$entry -vcodec mpeg4 -acodec libfaac files/videos/$filename.mp4";

               echo $command."<br />";

               shell_exec($command."> /dev/null 2>/dev/null &amp;");
           }
       }
       closedir($handle);
    }

    I have embedded the player in view file like this :

    <video width="350" poster="&lt;?php echo $first_video[&#39;thumb_path&#39;];?>" controls="controls">
       <source src="&lt;?php echo $first_video[&#39;video_path&#39;]; ?>"></source>
       <span></span>
    </video>

    Now, when I run in IE10, the player gives me invalid source error. I am having this issue with both libx264 and mpeg4 MP4 codecs.

    Any ideas whats going wrong ?

    Update

    Following Ian's direction, I finally get it working. I have used baseline-level3 profile with libx264. You can provide extra parameters but I guess profile is the key ! I experimented couple of profiles and observed that all HTML5 videos on vimeo and youtube use this baseline L3 profile.

    Anyone struggling with MP4 can consider the following command for conversion :

    /* following command converted all my uploaded *.wmv files to mp4 */
    $command = "ffmpeg -i files/uploaded_videos/$entry -vcodec libx264 -profile:v baseline -level 3 files/videos/$filename.mp4";
  • lavu/hwcontext_vulkan : support mapping VUYX, P012, and XV36

    20 août 2022, par Philip Langdale
    lavu/hwcontext_vulkan : support mapping VUYX, P012, and XV36
    

    If we want to be able to map between VAAPI and Vulkan (to do Vulkan
    filtering), we need to have matching formats on each side.

    The mappings here are not exact. In the same way that P010 is still
    mapped to full 16 bit formats, P012 has to be mapped that way as well.

    Similarly, VUYX has to be mapped to an alpha-equipped format, and XV36
    has to be mapped to a fully 16bit alpha-equipped format.

    While Vulkan seems to fundamentally lack formats with an undefined,
    but physically present, alpha channel, it has have 10X6 and 12X4
    formats that you could imagine using for P010, P012 and XV36, but these
    formats don't support the STORAGE usage flag. Today, hwcontext_vulkan
    requires all formats to be storable because it wants to be able to use
    them to create writable images. Until that changes, which might happen,
    we have to restrict the set of formats we use.

    Finally, when mapping a Vulkan image back to vaapi, I observed that
    the VK_FORMAT_R16G16B16A16_UNORM format we have to use for XV36 going
    to Vulkan is mapped to Y416 when going to vaapi (which makes sense as
    it's the exact matching format) so I had to add an entry for it even
    though we don't use it directly.

    • [DH] libavutil/hwcontext_vulkan.c
    • [DH] libavutil/version.h
  • swscale/utils : Fix color range of gray16

    18 mars 2014, par Carl Eugen Hoyos
    swscale/utils : Fix color range of gray16
    

    Improves rgb -> gray16 conversion

    Fixes Ticket3422

    The pam and png output files look visually similar, in both cases the
    dynamics increase to 0x0 -> 0xfffb.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libswscale/utils.c
    • [DH] tests/ref/fate/filter-pixdesc
    • [DH] tests/ref/fate/filter-pixfmts-copy
    • [DH] tests/ref/fate/filter-pixfmts-crop
    • [DH] tests/ref/fate/filter-pixfmts-field
    • [DH] tests/ref/fate/filter-pixfmts-fieldorder
    • [DH] tests/ref/fate/filter-pixfmts-hflip
    • [DH] tests/ref/fate/filter-pixfmts-il
    • [DH] tests/ref/fate/filter-pixfmts-null
    • [DH] tests/ref/fate/filter-pixfmts-scale
    • [DH] tests/ref/fate/filter-pixfmts-vflip
    • [DH] tests/ref/lavf/pam
    • [DH] tests/ref/lavf/png