Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (15)

  • 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

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

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (4975)

  • Need help combining commands in to a script to run in Ubuntu

    17 juin 2020, par user298294

    I have a bunch of video files with DTS audio that I need to convert to AC3. I have found commands that can do different parts of the task but I'm not sure how to put it all together to make a script that works. I have found the following script that will convert the audio from all my files to AC3 however I would prefer for it to only convert the DTS audio files to AC3. The script is as follows.

    



    shopt -s globstar
for f in **/*.mkv; 
do 
    fname="${f##*/}"
    ffmpeg -i "$f" -c:v copy -c:s copy -c:a ac3 "/some/directory/$fname" &&
    mv "/some/directory/$fname" "$f"
done


    



    I have also found this command that will return what sort of audio codec the mkv file is using.

    



    `ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of default=nokey=1:noprint_wrappers=1 input.mkv`


    



    So I'm wondering how I can combine the two to create a script that will do what I want it to do. I'm guessing I can add an if function using ffprobe at the beginning of the script ? Something like this...

    



    shopt -s globstar
for f in **/*.mkv; 
do 
    fname="${f##*/}"
    if ffprobe -v error -select_streams a:0 -show_entries stream=codec_name -of 
       default=nokey=1:noprint_wrappers=1 "$f" | egrep "DTS"; then
       ffmpeg -i "$f" -c:v copy -c:s copy -c:a ac3 "/some/directory/$fname" &&
       mv "/some/directory/$fname" "$f"
    fi
done


    



    Are there any problems with that ? I haven't written scripts since I was in high school playing around with my graphics calculator because I was bored so any help would be greatly appreciated.

    


  • HTML mp4 Streaming / How can I automatically move the "atom moov" to the beginning of the file ?

    29 octobre 2020, par Einkornwolf

    so I am currently building a Website for School and implemented an Upload-System. Now I want People to be able to watch uploaded Videos. Currently if you try to watch a Video, lets say test.mp4 it takes over a minute to load. I know that using : ffmpeg -i inputvideo.mp4 -movflags faststart -acodec copy -vcodec copy outputvideo.mp4 moves the atom moov to the beginning of the file. And when I manually convert the mp4 using the previous command the file starts playing instantly. But now my problem is, that I don't want to convert each file manually. Is there another way of playing user-uploaded Videos instantly ? Thanks for your help in advance.

    


    I am using this Code, but it has nothing to do with the streaming itself I guess :

    


      <source src="Clap.mp4" type="video/mp4">&#xA;Your browser does not support the video tag. &#xA;&#xA;</source>

    &#xA;

    I also tried to use a js library :

    &#xA;

      &#xA;&#xA;  &#xA;  <code class="echappe-js">&lt;script src=&quot;https://vjs.zencdn.net/ie8/1.1.2/videojs-ie8.min.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;&#xA;&#xA;  &#xA;    &#xA;    &#xA;    

    &#xA; To view this video please enable JavaScript, and consider upgrading to a&#xA; web browser that&#xA; supports HTML5 video&#xA;

    &#xA; &#xA;&#xA; &lt;script src=&quot;https://vjs.zencdn.net/7.8.4/video.js&quot;&gt;&lt;/script&gt;&#xA;&#xA;

    &#xA;

    In both cases I want to play Clap.mp4

    &#xA;

  • RTMP ubuntu server for streaming

    2 mai 2021, par adammartiska

    In our school team we are trying to achieve one thing - user is being recorded on camera, this camera is sending feed on server (our school gave us Ubuntu server, that we can access through cmd ssh), and this server is forwarding feed for some public ip (server ip), which clients can access in their application. We tried to do nginx live streaming server with rmtp module but with no success. Now we are stuck on properly configuring ffserver ( which in our case might be the best solution ) however we can't get to work streaming through ffmpeg. We can start ffserver successfully, but when we want to stream with ffmpeg there is error : Connection to tcp://<serveripadress>:8090 failed: Connection refused</serveripadress>. Does anyone know what might cause this ? Or is here some more simple solution for our cause ? Is it even possible to manipulate with server ip and ports if we have only ssh access to this server (on port 2233) ?&#xA;Thanks for every response in advance :)

    &#xA;