Recherche avancée

Médias (91)

Autres articles (83)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (7242)

  • x86/vf_v360 : make remap{1,2}_8bit_line_avx2 work on x86_32

    6 septembre 2019, par James Almer
    x86/vf_v360 : make remap1,2_8bit_line_avx2 work on x86_32
    

    Signed-off-by : James Almer <jamrial@gmail.com>

    • [DH] libavfilter/vf_v360.c
    • [DH] libavfilter/x86/vf_v360.asm
    • [DH] libavfilter/x86/vf_v360_init.c
  • Streaming to localhost using FFmpeg doesn't work

    16 février 2023, par jostanise

    I'm trying to stream my screen using FFmpeg, but I can't access it using VLC player - it keeps loading the stream and doesn't show anything.

    &#xA;

    The command I use :

    &#xA;

    ffmpeg -f gdigrab -s 1920x1080 -i desktop -preset ultrafast -vcodec libx264 -tune zerolatency -b 900k -f rtp rtp://localhost:1234&#xA;

    &#xA;

    The network URL I put in VLC :

    &#xA;

    udp://localhost:1234&#xA;

    &#xA;

    What am I doing wrong ?

    &#xA;

  • FFmpeg doesn't work in Rails 3 app with Apache and Passenger in GoDaddy CentOS

    29 décembre 2011, par pablo89

    I try to upload a .mp4 video file, and it works ; I made a Bash script that calls ffmpeg in order to get the thumbs of the video. It works fine in localhost, but when I uploaded the project to a dedicated server in GoDaddy with CentOS it doesn't work, it doesn't create the thumbnails, and it shows no error. The Rails App is running under Apache with Passenger. I have tried everything, even I gave 0777 permissions to the action and to the Bash script, but nothing, it doesn't show any error, but it doesn't work.

    This is the action in Rails (as you can see, I use the commands system and exec) :

    def create
     if !params[:video][:video].nil?
       videoName = params[:video][:video].original_filename.gsub(/\s/,&#39;_&#39;)
       @video = Video.new({:title => params[:video][:title], :video => "/worshipvideos/#{videoName}"})
     else
       @video = Video.new({:title => params[:video][:title]})
     end

     if !params[:video][:video].nil?
       tmp = params[:video][:video].tempfile
       file = File.join("public/worshipvideos", videoName)
       FileUtils.cp tmp.path, file
       FileUtils.rm tmp
     end

     respond_to do |format|
       if @video.save
         if !params[:video][:video].nil?
           logger.debug "./createVideoPics.sh &#39;#{videoName}&#39;"
           fork do
             system("./createVideoPics.sh &#39;#{videoName}&#39;")
             #exec("./createVideoPics.sh &#39;#{videoName}&#39;")
           end

           @video.update_attribute("pic1", "worship_pics/#{videoName}_1.jpg")
           @video.update_attribute("pic2", "worship_pics/#{videoName}_2.jpg")
           @video.update_attribute("pic3", "worship_pics/#{videoName}_3.jpg")
         end

         format.html { redirect_to @video, notice: &#39;Video was successfully created.&#39; }
         format.json { render json: @video, status: :created, location: @video }
       else
         format.html { render action: "new" }
         format.json { render json: @video.errors, status: :unprocessable_entity }
       end
     end
    end

    This is the script in Bash :

    #!/bin/bash
    chmod 0777 "public/worshipvideos/$1"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:20 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_1.jpg"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:00:40 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_2.jpg"
    ffmpeg -i "public/worshipvideos/$1" -an -ss 00:01:00 -r 1 -vframes 1 -f mjpeg -y "app/assets/images/worship_pics/${1}_3.jpg"
    echo "End of making thumbs"

    If I try to make the command in terminal ./createVideoPics.sh "abc.mp4" it works, it makes the thumbs ; it only doesn't work inside the Rails App.

    What do you think would be the problem ? thanks in advance