Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (84)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (17222)

  • Save continuous RTSP stream to 5-10 minute long mp4 files

    5 mai 2023, par Ruslan Sharipov

    How can I keep the flow (protocol rtsp, codec h264) in file (container mp4) ? That is, on inputting an endless stream (with CCTV camera), and the output files in mp4 format size of 5-10 minutes of recording time.

    



    OS : debian, ubuntu
Software : vlc, ffmpeg (avconv)

    



    Currently this scheme is used :

    



    cvlc rtsp://admin:admin@10.1.1.1:554/ch1-s1 --sout=file/ts:stream.ts
ffmpeg -i stream.ts -vcodec copy -f mp4 stream.mp4


    



    But it can not record video continuously (between restarts vlc loses about 10 seconds of live video).

    


  • .bat script : loop over files and save command to variable

    29 septembre 2020, par Rolf vd H

    Gooddday,

    


    I want to shorten a folder of movies to cut the last part of it. To do that I use ffmpeg & ffprobe.
The time to be cut off is 5.52 seconds.
If I want to do that, first I have to get the time of the movie and then (the second command in the loop), I have to subtract the 5.52 seconds.

    


    For now I have the following but I can't get it right :

    


    mkdir outputsss
for %%a in ("FOLDER\*.mp4") do (
 ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "FOLDER\%%~na.mp4"
 ffmpeg -i "FOLDER\%%~na.mp4" -t 18.6 -c copy output.mp4
)
pause


    


    In the above code example the "ffprobe" calculates the time of the movie.
The "ffmpeg" renders the movie again for 18.6 seconds. But the time should be calculated by subtract 5.52 seconds from the "ffprobe" result.

    


    Can anyone help me please on how to do this ?

    


  • FFMPEG / MJPEG Encoding / How to add DQT table in packet data ?

    20 mai 2020, par GoodSimon

    I write my own transcoder in C++ to convert any image to jpeg based on the examples in ffmpeg sources. I use the MJPEG codec to create a jpeg image. By sending AVFrame to the MJPEG encoder I get AVPacket. Then I just take the data from the packet->data structure with the size avpacket->size and save it to a file with the jpg extension.
The problem is that the finished JPEG image has only one DQT (Define Quantization Table). As far as I understand, there should be two tables in the file.

    



    What do I need to do to have 2 quantization tables in avpacket->data ?