Recherche avancée

Médias (3)

Mot : - Tags -/plugin

Autres articles (46)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

Sur d’autres sites (7564)

  • Create an image in PHP and turn it into a 10-second video [on hold]

    17 septembre 2019, par Emil A.

    I remember being able to create an image in PHP with custom text and background etc, then output it (or save) as a JPG/PNG etc. I want to do this but output this 1 frame as a 10-second MP4-video. How can I achieve this ?

    (Note : The end-result will show an unique and dynamical URL for cases where someone tries to watch the video without permission ; think hotlink-prevention for video.)

  • Streaming a video to /dev/video0 using gstreamer and v4l2 shows a black screen [on hold]

    24 septembre 2019, par Lawliet

    I’ve been trying to use a video as a webcam for quite a while now. The command

    gst-launch-1.0 filesrc location=newflag.webm ! decodebin ! videoconvert ! v4l2sink device=/dev/video0

    Using this command, i’m able to watch the stream using VLC but Discord and Firefox display a black screen when using /dev/video0 as a webcam.

    I got it working using ffmpeg to stream the video in yuv420p so I suspect videoconvert converts the stream to YUY2 which is I guess not supported by Discord nor Firefox.

    Any idea on how to get this to work ?

  • ffmpeg to rip mp3 from mp4 in ruby

    11 septembre 2014, par RichardC

    Trying to make basic Ruby script utilising ffmpeg to download a video from Youtube and then rip the mp3 from that video.
    Problem is each time the script fails when trying to separate the two, even though the command themselves run fine outside of the.
    I think the issue is that Ruby is treating the video as a string, but I’m not sure.

    def input
       #print "Enter Video URL: "
       #@target_video = gets
       #@target_video ||= ''
       #@target_video.chomp
       @target_video = 'https://www.youtube.com/watch?v=bYG1qccSUAw'
    end

    def grab
       #@video = `viddl-rb #{@target_video}`
       `viddl-rb #{@target_video}`
    end

    def rip
       `ffmpeg -i #{grab} new.mp3`
    end

    input
    rip

    I tested it in irb and when I tried @video.class it returned string, I think this is where it’s going wrong but I’m not certain.
    The video does download successfully but fails on teh rip.

    Output and error :

    ruby youtube_downloader.rb
     % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                    Dload  Upload   Total   Spent    Left  Speed
    100 30.4M  100 30.4M    0     0  2580k      0  0:00:12  0:00:12 --:--:-- 2683k
    ffmpeg version 2.3.3 Copyright (c) 2000-2014 the FFmpeg developers
     built on Aug 25 2014 19:47:15 with Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)
     configuration: --prefix=/usr/local/Cellar/ffmpeg/2.3.3 --enable-shared --enable-pthreads --enable-gpl --enable-version3 --enable-nonfree --enable-hardcoded-tables --enable-avresample --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libx264 --enable-libfaac --enable-libmp3lame --enable-libxvid
     libavutil      52. 92.100 / 52. 92.100
     libavcodec     55. 69.100 / 55. 69.100
     libavformat    55. 48.100 / 55. 48.100
     libavdevice    55. 13.102 / 55. 13.102
     libavfilter     4. 11.100 /  4. 11.100
     libavresample   1.  3.  0 /  1.  3.  0
     libswscale      2.  6.100 /  2.  6.100
     libswresample   0. 19.100 /  0. 19.100
     libpostproc    52.  3.100 / 52.  3.100
    Loading: No such file or directory
    sh: line 1: Plugins: command not found
    sh: line 2: Will: command not found
    sh: line 3: Analyzing: command not found
    sh: line 4: Using: command not found
    sh: line 5: [YOUTUBE]: command not found
    sh: line 6: [YOUTUBE]: command not found
    sh: line 7: Using: command not found
    sh: line 8: Download: command not found
    sh: line 9: Error:: command not found
    sh: line 11: Backtrace:: command not found
    sh: -c: line 12: syntax error near unexpected token `:27:in'
    sh: -c: line 12: `(eval):27:in `initialize''