Recherche avancée

Médias (91)

Autres articles (33)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • Other interesting software

    13 avril 2011, par

    We don’t claim to be the only ones doing what we do ... and especially not to assert claims to be the best either ... What we do, we just try to do it well and getting better ...
    The following list represents softwares that tend to be more or less as MediaSPIP or that MediaSPIP tries more or less to do the same, whatever ...
    We don’t know them, we didn’t try them, but you can take a peek.
    Videopress
    Website : http://videopress.com/
    License : GNU/GPL v2
    Source code : (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

Sur d’autres sites (3960)

  • FFmpeg drawtext over multiple lines

    26 août 2023, par Jay

    I have the code :

    


    import subprocess , os

ffmpeg = "C:\\ffmpeg_10_6_11.exe"
inVid = "C:\\test_in.avi"
outVid = "C:\\test_out.avi"

if os.path.exists( outVid ):
os.remove( outVid )
proc = subprocess.Popen(ffmpeg + " -i " + inVid + ''' -vf drawtext=fontfile=/Windows/Fonts/arial.ttf:text="onLine1 onLine2 onLine3":fontcolor=white:fontsize=20 -y ''' + outVid , shell=True, stderr=subprocess.PIPE)
proc.wait()
print proc.stderr.read()
os.startfile( outVid )


    


    to write text to a video file. But I want to write out many lines of text instead of just having it all on the one line.

    


    How can I do that ?

    


  • install ffmpeg and ffmpeg-php on cpanel

    5 juin 2014, par Mulham Aryan

    first you must know i’m the root of the server and i have the full shell access and on my server WHM/Cpanel is installed
    then i’m trying to install ffmpeg and ffmpeg-php
    i don’t know if this is ffmpeg are powerfull here take a look
    http://www.ffmpeginstaller.com/
    but it’s installed normaly but how can i install the ffmpeg-php
    take a look here at this message error
    http://mauriserv.org/phpinfo.php
    after installing ffmpeg from the site in the top
    ffmpeginstaller.com
    what should i do ?

  • How do I make audio work with pulseaudio in systemd ? [migrated]

    1er avril 2022, par user5827693

    I'm trying to live stream my website to the rtmp server via pulseaudio, ffmpeg and chromium in ubuntu 20.04. Everything works great if I execute the following commands in shell :

    


    pulseaudio&
ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0+0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER &> /dev/null < /dev/null &
DISPLAY=:1.0 chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL &


    


    However if I try to setup the same logic via systemd - everything works fine, except there is no audio. Below are my systemd files.

    


    pulseaudio.service

    


    [Unit]
Description=PulseAudio system server

[Service]
User=ubuntu
Type=notify
ExecStart=/usr/bin/pulseaudio --daemonize=no
Restart=always

[Install]
WantedBy=multi-user.target


    


    chromium.service

    


    [Unit]
Description=start chromium browser
After=pulseaudio.service

[Service]
User=ubuntu
Type=simple
Environment=DISPLAY=:1.0
ExecStart=/usr/bin/chromium-browser --autoplay-policy=no-user-gesture-required --disable-gpu --user-data-dir=/tmp/test --window-position=0,0 --window-size=1280,720 --app=MY_URL
Restart=always

[Install]
WantedBy=multi-user.target


    


    ffmpeg.service

    


    [Unit]
Description=start ffmpeg
Requires=display.service pulseaudio.service
After=pulseaudio.service

[Service]
User=ubuntu
Type=simple
ExecStart=/usr/bin/ffmpeg -y -f x11grab -draw_mouse 0 -s 1280x720 -i :1.0+0,0 -f pulse -ac 2 -i default -c:v libx264 -c:a aac -b:a 128k -f flv MY_SERVER
Restart=always

[Install]
WantedBy=multi-user.target


    


    I do not see any errors in my syslog regarding the audio. I can't figure out why it would work from shell but not from systemd.

    


    I tried the following :

    


      

    • Ran pulseaudio systemwide
    • 


    • Tried to setup systemd under root user
    • 


    • Tried to setup systemd under non root user
    • 


    • Tried all possible pulseaudio params
    •