Recherche avancée

Médias (91)

Autres articles (78)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (8442)

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

    


  • how to play nginx & rtmp based hls live stream on a remote machine

    21 mai 2020, par Ram

    I have installed nginx, rtmp and ffmpeg based hls live streaming working on ubuntu machine. I use this command to stream hls

    



    sudo ffmpeg -re -i sample.mp4 -vcodec libx264 -vprofile high -g 30 -acodec aac -strict -2 -f flv rtmp://localhost/show/stream2


    



    when I try to play this stream using VLC using following commands on the same machine it works well.

    



    http://myIp:8080/hls/stream2.m3u8


    



    or

    



    http://localhost:8080/hls/stream2.m3u8


    



    However when I try to access from remote computer connected to same WIFI, not able to play. VLC gives an error that unable to play the file.

    


  • How to run a video on chromium/lubuntu smoothly on a low-end machine ?

    29 juillet 2020, par Altuğ Ceylan

    the cpu of the machine is Atom X5-Z8350 with a ram size of 4 GB. It does not have an external gpu.
The problem is that when it runs a video on chromium such as a youtube video, it stutters and fps drop happens. I found out that the cpu supports h264 and vp8, and chromium only supports vp-8 and vp-9. Therefore, I used ffmpeg to transcode a video I downloaded from youtube to see if it was going to help.
I used the following script from my github repository which also contains driver update scripts etc

    


    
#$1 input filename
#$2 good realtime best
#$3 --cpu-used for best and good deadline valid values are from 0 to 5 for realtime 0 to 15
#$4 tile columns allow multi threading use powers of 2 eg 2=4
#$5 no threads to use
#$6 minrate around 2k is good for 1080p60
#$7 out filename
# -b:v bitrate 512k maybe too low for 720p30 try 1500k to 2000k 
#for fast/quality use realtime 6-7 
#for very good quality use good 2
start=$(date +%s.%N)
ffmpeg -i $1 -r 30 -g 90 -s 1280x720 -aspect 16:9 -c:v libvpx -deadline $2 -row-mt 1 -b:v 2500k -threads $5 -tile-columns $4 -cpu-used $3 -minrate $6 -bufsize 3000k -maxrate 3000k -crf 30 -frame-parallel 1 $7.webm
duration=$(echo "$(date +%s.%N) - $start" | bc)
execution_time=`printf "%.2f seconds" $duration`
echo "Script Execution Time: $execution_time"



    


    I changed crf to 5, -r to 120 -s to 1920x1080 and passed $2 as realtime, $3 as 7, $4 as 2 , $5 as 4, $6 as 2000k, I used the following video https://www.youtube.com/watch?v=jZKvJY6gDfg. It was a lot better than before, the chromium was having hard time running 720p30 but now it actually ran the 1080p120 video with minor tear and fps drops. How can I prevent the tears and the fps drops from happening ?