Recherche avancée

Médias (0)

Mot : - Tags -/content

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (74)

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

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

  • Mise à jour de la version 0.1 vers 0.2

    24 juin 2013, par

    Explications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
    Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)

Sur d’autres sites (11882)

  • How to merge 2 mp4 files with 1 atom ?

    2 octobre 2013, par user2783132

    I'm merging two mp4 files for video streaming. the problem is, the merged file contains two atoms, 1 atom from each file and that is a problem when it comes to streaming. the client needs to wait until the first atom loads from file1, than when it's time to play second part from file2 client will wait again for the atom to be loaded. when your atom is small you may not notice this, but when you stream a large video, atom could weight 7-10mb.

    How can I remove those two atoms from merged file and create a new one ?

    what i've tried :

    ffmpeg -i file1.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate1.ts
    ffmpeg -i file2.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts intermediate2.ts
    ffmpeg -i "concat:intermediate1.ts|intermediate2.ts" -c copy -bsf:a aac_adtstoasc m.file.mp4

    MP4Box -add m.file.mp4 -isma mf.file.mp4
    mv mf.file.mp4 m.file.mp4
  • FFmpeg low framerate when adding audio

    22 juillet 2021, par Massi

    we are sending a video from a Linux PC with GPU (Alienware M15 R2 so very strong in hardware) connected to a Logitech Brio 4K resolution camera.
We are using ffmpeg and in particular the following command :

    


    ffmpeg -re -hwaccel cuvid -hwaccel_output_format cuda -f v4l2 -input_format mjpeg -framerate 30 -video_size 3840x2160 -i /dev/video4 -f pulse -i default -c:v h264_nvenc -tune ull -preset llhq -zerolatency true -pix_fmt rgb0 -c:a aac -aac_coder fast -ar 44100 -b:a 256k -b:v 25000k -threads 0 -f flv "rtmp ://192.168.1.1/WebRTCAppEE/XXX"

    


    As you can see this is the part related to audio "-c:a aac -aac_coder fast -ar 44100 -b:a 256k"
If we send the script WITHOUT the audio part, we see it very fluid even in 4K resolution, with 30 FPS, but of course with no audio.
If we send the script WITH the audio part, the FPS goes down to 19-20 and the video is no more fluid. In this case we tried also to downgrade the video quality, but the result is always the same, the video is not fluid, even if the PC has not the CPU and GPU very loaded.
Would you suggest another script or some correction in order to avoid this problem and stream a video getting both video and audio from a device ?

    


  • How to use Docker FFMPEG and HLS on my website [closed]

    13 septembre 2023, par NormalUser

    I want to use a Docker container to convert an mkv video to an HLS "video". This is my command for it :

    


    docker run --rm \
  -v /mnt:/config \
  linuxserver/ffmpeg \
  -i "/config/test.mkv" \
  -c:v copy \
  -c:a copy \
  -sn \
  -f hls \
  -hls_list_size 0 \
  /config/hls/output.m3u8


    


    when i run this command everything is created correctly, with VLC i can use the m3u8 file only Video.js says "The media could not be loaded, either because the server or network failed or because the format is not supported". I have also set the audio codec and video codec to AAC and 264 for testing but it didn't work any better.
Ich nutze Video.js und wenn ich auf einem anderen Rechner wo ich kein docker nutzen muss geht m3u8 im web aber nicht bei vlc mit diesem befehl.

    


    ffmpeg -i input.mkv -c:v h264 -master_pl_name master.m3u8 -hls_time 10 -hls_list_size 0 -f hls -map 0 -c:a aac -b:a 128k -strict -2 -vf "subtitles=input.mkv" -map a -map v -map s -var_stream_map "a:0,v:0,s:0 a:1,v:1 s:1" test/stream_%v.m3u8


    


    auf die verzeichnisse braucht ihr kein rücksicht nehmen die habe ich verändert