Recherche avancée

Médias (91)

Autres articles (37)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

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

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

Sur d’autres sites (5187)

  • react-native-ffmpeg Unrecognized option 'preset'

    8 avril 2021, par Tommy Khumarga

    Below is my ffmpeg command :

    


    -y -i vidInput.mp4 -vcodec mpeg4 -b:v 1000k -b:a 48000 -preset ultrafast vidOutput.mp4

    


    And the result is :

    


    [Mon Jul 06 2020 20:42:08.171]  LOG      Unrecognized option 'preset'.
[Mon Jul 06 2020 20:42:08.172]  LOG      Error splitting the argument list:
[Mon Jul 06 2020 20:42:08.174]  LOG      Option not found


    


    Need advice...

    


  • Adding a rotating effect on an image using ffmpeg ? [closed]

    5 mai 2024, par Garry

    I'm trying to overlay an image on a video, and add subtle rotating effects for that image, left, right, left right, and so on. (see pictures) The rotation works, however the edges are always very jagged and bad quality.
Is there a way to improve my filters, or is there a better approach that I can use, without jagged edges ?

    


    This works, overlays the image.png and applies to rotating effect :

    


    ffmpeg -loop 1 -i image.png -i video.mp4 -t 10 -filter_complex "[0:v]scale=720:720:flags=lanczos,fps=25,format=rgba,rotate=0.05*sin(2*PI*t/4):c=black@0:ow=round(iw*1.5):oh=round(ih*1.5)[rotated];[1:v][rotated]overlay=(W-w)/2:(H-h)/2:shortest=1" -c:v libx264 -crf 16 -preset veryslow -c:a copy -y output.mp4

    


    But the edges turn out to be very jagged :

    


    jagged edges

    


    jagged edge

    


    jagged edge

    


  • Why Can't i view a few of my mp4 files in my .erb but can in html file ?

    27 avril 2016, par Joseph McKenzie

    I have a site that I’m working on for a customer and the strangest thing is happening to me. I pull in a list of videos from a database table and it plays the video that I want it to, this all works fine.

    For some reason some of the video files will not play in either chrome nor Firefox when viewing my page from an .erb file,but they will work in Microsoft edge. They will all work in an .html file though in all my browsers they are raw .264 files converted to mp4 via ffmpeg .

    I would think if it was a file corruption it wouldn’t play fine in a .html file or Edge.

    <% links[0,1].each do |links|%>-->

    <% if  links[1] == "Not_Watched"%>

    <video width="320" height="240" controls="controls">
    <source src="../videos/&lt;%=links[0]%>" type="video/mp4">

    </source></video>
    &lt;%end%>
    &lt;%end%>

    get '/page1' do


    thing1= database.execute("select * from thing1");
    thing2= database.execute("select * from thing2")                
    links = database.execute("select * from links")                



      erb :page1, :locals => {:thing1=> thing1, :thing2=> thing2, :links => links}



    end

    I had to change some of the code names up because i cant put up to much of this code online...... and there is a lot more I didn’t include because didn’t have anything to do with anything as far as I could imagine. If anyone thinks it could have a bearing ill post some of it but changed up so that I can