Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (81)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (7165)

  • Merge one audio file and one image file to create a video with ffmpeg

    26 avril 2022, par Jiewei Xiong

    I first tried :

    


    ffmpeg -y -i image.jpg -i audio.mp3 -c:a copy output.mp4


    


    but when I uploaded to video sharing websites (bilibili.com), it says "no video track", so I tried :

    


    ffmpeg -r 1 -loop 1 -i image.jpg -i audio.mp3 -acodec copy -r 1 -shortest output.mp4


    


    The file was successfully uploaded, but when I watched it on the website, the image disappeared and it turned grey. I merged 6 videos and only one of them can be normally played back.

    


    What should I do ?

    


  • FFMPEG says file does not exist, but, it exists

    11 décembre 2013, par cmw

    I'm using FFMPEG via the streamio-FFMPEG Rails gem – https://github.com/streamio/streamio-ffmpeg

    For some reason, when trying to transcode a video file (that does really exist), FFMPEG says the file does not exist.

    Here's some output from the Rails console, demonstrating my headache :

    1.9.3p125 :001 > File.exist?("/Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4")
    => true

    1.9.3p125 :002 > FFMPEG::Movie.new("/Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4")
    Errno::ENOENT: No such file or directory - ffmpeg -i /Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4
     from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:202:in `spawn'
     from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
     from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:90:in `popen3'
     from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/streamio-ffmpeg-1.0.0/lib/ffmpeg/movie.rb:17:in `initialize'
     from (irb):2:in `new'
     from (irb):2
     from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
     from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
     from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands.rb:41:in `<top>    &#39;
     from script/rails:6:in `require&#39;
     from script/rails:6:in `<main>&#39;
    1.9.3p125 :003 >
    </main></top>

    Any help would be appreciated.

  • How to know if uploaded file is a video file [closed]

    20 octobre 2012, par Gage Thomson

    Possible Duplicate :
    How do I validate that an uploaded file is a video ?

    How to know using exec with ffmpeg and php if the uploaded file or any file on the hard disk is a video or not ?

    Turned out to use finfo for checking the mime, unsure if it is the best solution, but it appears everyone is happy by giving down votes instead of reasoning.

    Well, some of my videos have a mime of application octet-stream which makes finfo not the solution, LIKE I ASKED. I suppose with ffmpeg there might be an is_video() function somehow just that I couldn't find it.

    Trouble : http://mimeapplication.net/octet-stream