Recherche avancée

Médias (91)

Autres articles (46)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

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

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

  • Is there any way to trim YouTube video without downloading it to local machine ?

    12 août 2020, par Sonu Bamniya

    I am creating an app to trim video where a user either can upload the video file or can paste YouTube URL.
I am able to make the trimmer work for upload video using FFmpeg, but for YouTube URL, firstly I need to download the video to the local machine and then trim it using FFmpeg.

    



    I am using youtube-dl NodeJS library to save the video file to locally, but the issue is as I am allowing the user to download only 15Sec video no more than that, and I have applied validation of 60m long video, yet when I get 1080p video there are two issues.

    



    1. There is no audio in the 1080p video.


    



    and

    



    2. The video is taking too long to download locally and the process is taking almost 7-8mins to complete.


    



    For the first one, I can get the audio and video separately and then merge both of them in the video, but the second one is where I am stacked.

    



    I have added a time log I can see the trimming is taking only about 3-4 seconds, but the downloading is taking too long.

    



    Is there any way to make it work faster ? Or, Is there any way I can download only that part of the video, not the full video, in any technology.

    



    I am open to using any technology until it is working faster than my current implementation.

    



    If this is something related to server configuration, please suggest which one would work better.

    


  • ffmpeg streaming to youtube slow

    1er avril 2017, par boygiandi

    I’m trying to send a video file to youtube as livestreaming. The stream command look like this

    ffmpeg -re -i "/tmp/4745.mkv" -acodec aac -pix_fmt yuv420p -bufsize 6000k -vb 400k -maxrate 1500k -deinterlace -vcodec libx264 -preset fast -g 60 -r 30 -crf 1 -f flv "rtmp ://...."

    The last line of output log look like this

    [ sh : 2017-04-01 7:19:54 ]size= 242706kB time=00:21:08.11 bitrate=1567.9kbits/s speed=0.882x

    As I understand, the speed=0.882x mean it send data to youtube slower than expected ( 1x mean streaming fine, lower mean buffering ). I tried to change some params of ffmpeg command, like change -preset fast to superfast, ultrafast : it faster but quality very bad and I still can’t control the out put speed. Sometime it’s 1x, sometime lower.
    Note that I run more than 1 ffmpeg instants at the same time, it may problem of CPU, RAM or Network, I checked them all.

    • CPU 40% ( top command )
    • RAM used 3Gb/7Gb
    • Network upload Avg : 8.45 MBit/s ( Max Upload : 70.76 Mbit/s - speedtest )

    So I don’t know what’s problem. Anyone can help ?

  • FFMPEG : Youtube streaming quality and speed issues

    25 février 2020, par Alex Paramonov

    I am trying to make a reliable stream from my Icecast/Shoutcast servers to Youtube live. The command that I use is :

    ffmpeg -v verbose -framerate 30 -loop 1 -i /var/image.jpg -re -i http://127.0.0.1:4700/radio -c:v libx264 -preset ultrafast -b:v 2250k -maxrate 6000k -bufsize 6000k -c:a copy -ab 128k -s 1920x1080 -framerate 30 -g 60 -keyint_min 60 -f flv  rtmp://a.rtmp.youtube.com/live2/xxx

    As you can see I am using recommended bitrate for Youtube, insert keyframes every 2 seconds and streaming at 30 frames per second.
    The stream is working but after running for some time two thing are happening :

    1. FFMPEG speed falls from 1x to something like 0.998x
    2. Youtube starts complaining that video stream speed is slow, markes the quality as bad and sometimes video starts buffering.

    Why is this happening ? CPU load is normal, connectivity is ok (the stream is running on a 1Gg/s dedicated server).

    Since in my example above I am streaming a single image as a logo of the stream I also tried to generate a short 30 seconds video with that image and broadcast that video instead of an image, but that did not help as well.

    The command I used for conversion :

    ffmpeg -framerate 30 -loop 1 -i /var/image.jpg -c:v libx264 -preset ultrafast -tune stillimage  -b:v 2250k -minrate 2250k -maxrate 6000k -bufsize 6000k -framerate 30 -g 60 -keyint_min 60 -t 30 out4.mp4

    And broadcast with

    ffmpeg -stream_loop -1 -i out4.mp4  -re -i http://127.0.0.1:4700/radio -c:v copy -c:a copy  -framerate 30 -g 60 -keyint_min 60 -f flv  rtmp://a.rtmp.youtube.com/live2/xxx

    ffmpeg version is 4.1.1