Recherche avancée

Médias (91)

Autres articles (98)

  • Soumettre bugs et patchs

    10 avril 2011

    Un logiciel n’est malheureusement jamais parfait...
    Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
    Si vous pensez avoir résolu vous même le bug (...)

  • 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.

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (13072)

  • Ffmpeg won't copy excerpt of video correctly

    5 mai 2022, par JR Jr.

    I am using a DOS batch to automate and copy excerpts of various high definition videos (mkv's with more than 1GB each).
The script is very convenient and runs fast and fine, but Ffmpeg is not doing its job correctly (it seems Murphy's law is inexorably enthralled into technology, things never come easy, which is why I love and hate it).

    


    Anyway, to cut a long story short, each time the batch job runs, a code like below is executed (pardon me the indiscrete folder name, it's about the 90's TV show, it's not porn !).

    


    call "C:\ffmpeg\bin\ffmpeg.exe" -y -i "D:\100\Sexo\S01\SATC - S01E03 - Bay of Married Pigs.mkv" -ss 00:18:05 -to 00:19:15 -codec copy "002-SATC - S01E03 - Bay of Married Pigs-00_18_05-00_19_15.mp4"


    


    The problem is that the first 6 seconds or so of the resulting video has no video, only audio with a frozen image that only starts to move after about 6 seconds, which is a huge defect, not to mention very annoying (a big let down, after all my meticulous scripting work :(). And this happens for most of the files, except a few ones.

    


    Even though this is copying and changing the format from mkv to mp4, per another thread on this site (https://askubuntu.com/questions/396883/how-to-simply-convert-video-files-i-e-mkv-to-mp4), this is not re-encoding, so this is not the issue. Actually, the same problem occurs even if I don't change the format from mkv to mp4.

    


    Even though I foresee a "there's no way to fix this", let me ask : is there a way to fix this ? Hopefully there is a way.

    


  • video hosting with PHP api or PHP script for social network project

    17 avril 2014, par al404IT

    I have a project for a small social network where user can upload their videos, video should not be longer than 1 or 2 minutes but they need to be private and related to user that uploaded.

    Since uploaded video may be in many different format I have two options :

    • upload video and use ffmpeg to process them, can i find any PHP script that does that ? PROS I have my files on my server and I'm not dependent from third party CONS I guess is a real intensive task and I may need a quite good noting plan since the beginning of this project

    • use a video hosting service that provide API to upload and process video, i actually find vzaar.com that may seems to do what I need. PROS Scalable CONS I rely on third party for my contents

    since the project is a small social network it may be interesting this too opusphp.com, but i never user or read about

    can Vimeo PRO suite my needs ? Other suggestions ?
    In future it may be necessary to add a basic video editing function to trim uploaded video setting starting and ending point

  • ffmpeg command is not able capture mobile video image properly. Always getting stretch image

    1er février 2021, par Vipul Jethva

    I have tried many ffmpeg commands to capture image from mobile video but it's always getting stretch image output.

    


    There are following commands which I used. My video format is mobile shoot. Desktop video is fine. Only mobile video having problem. Always getting stretch image. I need perfect image horizontally and vertically without stretch image.

    


    $command = "ffmpeg  -i &lt;<input video="video" />> -r 0.0033 -vf scale=-1:120 -vcodec png output.jpg";&#xA;&#xA;$command = "ffmpeg -i &lt;<input video="video" />> -ss 00:00:25 -vframes 1  output.jpg";&#xA;&#xA;$command = "ffmpeg -ss 00:00:45 -i &lt;<input video="video" />> -vframes 1 -q:v 2 output.jpg";&#xA;&#xA;$command = "ffmpeg -i &lt;<input video="video" />> -deinterlace -an -ss 00:00:45 -f mjpeg -t 1 -r 1 -y -s 850x478 output.jpg 2>&amp;1";&#xA;&#xA;$command = "ffmpeg -ss 100 -i &lt;<input video="video" />> -frames:v 1 -q:v 2 -vf scale=850:478:force_original_aspect_ratio=increase,crop=850:478 output.jpg";&#xA;

    &#xA;

    Please let me know where I am wrong in above command ? Or if you have other command please let me know.

    &#xA;