Recherche avancée

Médias (91)

Autres articles (53)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

  • De l’upload à la vidéo finale [version standalone]

    31 janvier 2010, par

    Le chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
    Upload et récupération d’informations de la vidéo source
    Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
    Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)

Sur d’autres sites (7261)

  • Muxing of two audio files using ffmpeg (in C) [on hold]

    8 décembre 2015, par Abhishek Gupta

    I need to mux two audio files to create a final audio file using ffmpeg. There are a lot of easy solutions available for commandline approach of doing so (e.g. How to overlay two audio files using ffmpeg).

    I need something written natively in C or C++ language.

  • ffmpeg can't concat movies from two different devices

    29 mars 2017, par T4ng10r

    I’ve got bunch of movies from two different Panasonic devices. As long as I concat movies from only ONE device - final movie is smooth.
    However, when I add movie clip from second device, right after final movie ends playing movies from first device it display audio and only still images from movie clip from other device.

    ffmpeg -f concat -i mylist.txt -c copy final_movie.MP4

    Example ffprobe :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'S6810001.MP4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.27.100
     Duration: 00:00:10.62, start: 0.021333, bitrate: 1131 kb/s
       Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 998 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 132 kb/s (default)
       Metadata:
         handler_name    : SoundHandle

    Second device movie clip :

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a/T00004.mp4':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf57.27.100
     Duration: 00:00:33.18, start: 0.000000, bitrate: 1190 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 929 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(und): Audio: ac3 (ac-3 / 0x332D6361), 48000 Hz, stereo, fltp, 256 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
       Side data:
         audio service type: main

    Why movie is still ? How to prepare it so it could be joined correctly ?

  • How to re-encode to rgb pixel_format properly in ffmpeg

    1er février 2020, par captain_majid

    I’m using this command to record from multiple inputs :

    ffmpeg -y
    -f dshow -rtbufsize 1024M -thread_queue_size 1024 -probesize 64M -i video="screen-capture-recorder" -framerate 30
    -f dshow -rtbufsize 16M -i audio="virtual-audio-capturer"
    -f dshow -rtbufsize 16M -i audio="Microphone (DroidCam Virtual Audio)"
    -f dshow -rtbufsize 512M -thread_queue_size 512 -probesize 50M -i video="DroidCam Source 3"
    -stream_loop -1 -i ".\media\background sounds\blue.mp4"
    -i ".\media\pictures\Webcam Overlay\blue_.png"
    -i ".\media\pictures\Webcam Overlay\red.png"
    -f gdigrab -rtbufsize 512M -thread_queue_size 512 -probesize 64M -itsoffset 0.80 -i title="NohBoard v1.2.2" -framerate 60 -draw_mouse 0

    -filter_complex "
    [0:v] scale=1366x768 [desktop];
    [3:v] hue=s=-5, scale=240x160 [webcam];
    [desktop][webcam] overlay=x=W-w-285:y=H-h-7:format=rgb [deskCam];
    [4:v] format=rgba,colorchannelmixer=aa=0.5, scale=240x160 [vid];
    [deskCam][vid] overlay=x=W-w-5:y=H-h-245:format=rgb [deskCamVid];
    [deskCamVid][5:v] overlay=x=W-w-280:y=H-h-0:format=rgb [deskCamVidBlue];
    [deskCamVidBlue][6:v] overlay=x=W-w-0:y=H-h-238:format=rgb [deskCamVidBlueRed];
    [7:v] chromakey=0x00FF00:similarity=.200, scale=420x140 [kb];
    [deskCamVidBlueRed][kb] overlay=x=W-w-945:y=H-h-285:format=rgb [final];
    [1][2] amix [aud1]; [1][2][4] amix=inputs=3 [aud2]"
    -map "[final]" -map "[aud1]" -map "[aud2]" -metadata:s:a:0 title="No Music" -metadata:s:a:1 title="All sounds" out.mkv

    The problem is the colors are not as bright as I want unless adding :format=rgb to all overlays like seen above, but this delays my encoding a lot, also when I press ’Q’, only a small part of the video (like 1m of 3m) is produced.

    Also If you see any unnecessary switches or non-optimal ones, please advise.