Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (97)

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

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (11719)

  • ffmpeg first segment does not have audio

    5 mars 2018, par Giorgi Peikrishvili

    I’m recording http stream using ffmpeg. Here is my command :

    ffmpeg -i https://tv-tbs-silk-front 1.adjara.com/4w/rustavi2hd/index.m3u8\?token\=376d9f864d81c7f85410ac5d3d0bde3dd6574daf-Hog86dAubE-1522939917-1520175117 -c copy -map 0 -bsf:a aac_adtstoasc -flags +global_header -f segment -segment_time 10 -force_key_frames 10 -segment_format_options movflags=+faststart -reset_timestamps 1 -strftime 1 %Y-%m-%d_%H-%M-%S.mov

    It makes segments as should be, but the only first segment does not have sound, others does.
    Any ideas about that ?

    Update as suggested in comments :
    Here is full output

    ffmpeg -i  -c copy -map 0 -g 10 -bsf:a aac_adtstoasc -flags
    +global_header -f segment -segment_time 10 -force_key_frames 10 -
    segment_format_options movflags=+faststart -reset_timestamps 1 -
    strftime 1 %Y-%m-%d_%H-%M-%S.mov
    ffmpeg version 3.2.4 Copyright (c) 2000-2017 the FFmpeg developers
    built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM
    3.6.0svn) configuration: --prefix=/Users/Cipusha/anaconda2
    --disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g
    -m64 -pipe -O3 -march=x86-64 -fPIC -I/Users/Cipusha/anaconda2/include'
    --extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --
    extra-libs='-L/Users/Cipusha/anaconda2/lib -lz' --enable-pic --enable-
    gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --
    enable-libx264

     libavutil      55. 34.101 / 55. 34.101
     libavcodec     57. 64.101 / 57. 64.101
     libavformat    57. 56.101 / 57. 56.101
     libavdevice    57.  1.100 / 57.  1.100
     libavfilter     6. 65.100 /  6. 65.100
     libavresample   3.  1.  0 /  3.  1.  0
     libswscale      4.  2.100 /  4.  2.100
     libswresample   2.  3.100 /  2.  3.100
     libpostproc    54.  1.100 / 54.  1.100

    Input #0, hls,applehttp, from 'https://tv-tbs-silk-front-
    1.adjara.com/4w/rustavi2hd/index.m3u8?
    token=376d9f864d81c7f85410ac5d3d0bde3dd6574daf-Hog86dAubE-1522939917-
    1520175117':
    Duration: N/A, start: 58671.490378, bitrate: N/A
     Program 0
       Metadata:
         variant_bitrate : 2953271
       Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
    stereo, fltp
    Metadata:
         variant_bitrate : 2953271
       Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
    720x576 [SAR 1:1 DAR 5:4], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Metadata:
          variant_bitrate : 2953271
    Output #0, segment, to '%Y-%m-%d_%H-%M-%S.mov':
     Metadata:
       encoder         : Lavf57.56.101
       Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
    stereo
       Metadata:
         variant_bitrate : 2953271
       Stream #0:1: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p,
    720x576 [SAR 1:1 DAR 5:4], q=2-31, 25 fps, 25 tbr, 12800 tbn, 25 tbc
       Metadata:
         variant_bitrate : 2953271
    Stream mapping:
         Stream #0:0 -> #0:0 (copy)
         Stream #0:1 -> #0:1 (copy)
    Press [q] to stop, [?] for help
    [mov @ 0x7f9c97018e00] Starting second pass: moving the moov atom to the beginning of the file
    [mov @ 0x7f9c96803200] Starting second pass: moving the moov atom to the beginning of the file
    [mov @ 0x7f9c98000000] Starting second pass: moving the moov atom to the beginning of the file
    frame=  581 fps= 38 q=-1.0 Lsize=N/A time=00:00:23.20 bitrate=N/A speed= 1.5x

    Thank you very much

  • How to trim multiple videos and position them to specific position using -filter_complex ?

    16 décembre 2023, par Pavlo Holotiuk

    How do I mix several videos and have them not overlap each other ?
I need to use -filter_complex as I cram many more commands there and seems weird how when I trim video its frames remain and overlap with the other video. I also use tpad to paint the video black where it supposed to be cut but it just makes black images to overlap with other videos instead.

    


    How do I trim and position videos with mix and make sure their frames do not overlap in result ?
Here's the version vithout tpad

    


    ./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10[t1];[t0][t1]mix=inputs=2" ./output.mp4

    


    It produces such overlapping frames
enter image description here

    


    When adding tpad overlapping changes to mix of frame and black image

    


    ./ffmpeg.exe -i input1.mp4 -i input2.mp4 -filter_complex "[0]trim=start=0:end=5[t0];[1]trim=start=5:end=10,setpts=PTS-5/TB,tpad=start_duration=5:start_mode=add:color=black@0x00[t1];[t0][t1]mix=inputs=2" ./output.mp4

    


    enter image description here

    


    The alpha in tpad doesn't seem to do anything either.

    


  • ffmpeg : Combine png frames with transparent background into a video and merge with an image

    15 avril 2023, par andyts93

    I'm trying to combine multiple png frames into a video with ffmpeg, keeping the transparency, to then combine it with an image.
The png video comes with a black background so when i try to combine it with an image, the image is completely overlayed by the black background, how can I keep the transparency ?

    


    Here's the command to combine the PNGs :

    


    ffmpeg -y -i src/tmp/%d.png -c:v libx264 -vf fps=25 -pix_fmt yuva420p land.mov