Recherche avancée

Médias (1)

Mot : - Tags -/framasoft

Autres articles (54)

  • 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

  • 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

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

Sur d’autres sites (8341)

  • avcodec/dvdsubdec, dvbsubdec : remove bitmap dumping in DEBUG builds

    28 mai 2022, par softworkz
    avcodec/dvdsubdec, dvbsubdec : remove bitmap dumping in DEBUG builds
    

    It's been a regular annoyance and often undesired.
    There will be a subtitle filter which allows to dump individual
    subtitle bitmaps.

    Signed-off-by : softworkz <softworkz@hotmail.com>
    Signed-off-by : Marton Balint <cus@passwd.hu>

    • [DH] libavcodec/dvbsubdec.c
    • [DH] libavcodec/dvdsubdec.c
  • How to concatenate .mp4 files into one 4x4 movie using -ffmpeg- ?

    7 août 2021, par Clive Nicholas

    How should I best concatenate 16 separate .mp4 files into one 4x4 movie using -ffmpeg- ?

    &#xA;

    I have workable code to create 2x2 movies (with changeable optional flag calls), with four equally-sized files, thus :

    &#xA;

    ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \ &#xA; -filter_complex \&#xA;   "[0:v][1:v]hstack[t]; \&#xA;    [2:v][3:v]hstack[b]; \&#xA;    [t][b]vstack,format=yuv420p[v]; \&#xA;    [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \&#xA;-map "[v]" \ &#xA;-map "[a]" \&#xA;-ac 2 -c:v libx264 \&#xA;foo.mp4&#xA;

    &#xA;

    and with four unequally-sized files, thus :

    &#xA;

    ffmpeg -i foo1.mp4 -i foo2.mp4 -i foo3.mp4 -i foo4.mp4 \&#xA; -filter_complex \&#xA;   "[0:v]scale=640:360[v0]; \&#xA;    [1:v]scale=640:360[v1]; \&#xA;    [2:v]scale=640:360[v2]; \&#xA;    [3:v]scale=640:360[v3]; \&#xA;    [v0][v1]hstack[t]; \&#xA;    [v2][v3]hstack[b]; \&#xA;    [t][b]vstack,format=yuv420p[v]; \&#xA;    [0:a][1:a][2:a][3:a]amerge=inputs=4[a]" \&#xA;-map "[v]" \&#xA;-map "[a]" \&#xA;-c:v libx264 -crf 23 \&#xA;-c:a aac -b:a 192k \&#xA;foo.mp4&#xA;

    &#xA;

    There is a solution posted here for splitting a single movie file into 16 4x4 pieces, but naturally I want to do the opposite ! I can't quite work out in my own mind how I can knit together the necessary elements from my 2x2 code routines and the 4x4 split code into a satisfactory 4x4 solution. It may well be that the 16 individual movie files each have to be re-scaled downwards.

    &#xA;

    Any ideas would be gratefully received, especially coding solutions which are readily tweakable to any matrix combination (e.g., 3x3, 5x5, etc).

    &#xA;

    Thanks very much, Clive

    &#xA;

  • Issue with creating Video files from Binary files

    22 septembre 2022, par user20057686

    We have a bunch of binary files that represent Video data.&#xA;This is how the binary files were created :

    &#xA;

      &#xA;
    1. Used MediaRecorder from a React application to capture the browser window.&#xA;To capture the screen stream we used (Navigator.)MediaDevices.getDisplayMedia() API
    2. &#xA;

    3. Each video is recorded for 1-second duration
    4. &#xA;

    5. This data is then encoded with base64 and sent through a websocket. The server decodes the base64 string and stores the binary data in a file (without any extension)
    6. &#xA;

    &#xA;

    So we now have a bunch of binary files each containing 1 second worth of video data.

    &#xA;

    The issue is, we are not able to convert all the binary files back to a single video.

    &#xA;

      &#xA;
    1. We tried using ffmpeg

      &#xA;

      copy /b * merged.

      &#xA;

      ffmpeg -i merged merged.mp4

      &#xA;

    2. &#xA;

    &#xA;

    Basically first merging all the binary files and converting to mp4. It didn't work. The resulting video duration is not equal to the (number_of_files) in seconds.

    &#xA;

      &#xA;
    1. We also tried converting individual chunks with ffmpeg but we get the below error :

      &#xA;

      [h264 @ 000001522dc74b80] [error] non-existing PPS 0 referenced&#xA;[h264 @ 000001522dc74b80] [error] non-existing PPS 0 referenced&#xA;[h264 @ 000001522dc74b80] [error] decode_slice_header error&#xA;[h264 @ 000001522dc74b80] [error] no frame !&#xA;I can provide the complete logs if needed.

      &#xA;

    2. &#xA;

    3. Next thing we tried was to use MoviePy library in Python. We programmatically concatenated the files and saved them as WebM and imported it into MoviePy as a Video.

      &#xA;

    4. &#xA;

    &#xA;

    In all the above approaches, we couldn't get the full video.

    &#xA;