Recherche avancée

Médias (3)

Mot : - Tags -/spip

Autres articles (108)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (13487)

  • Merging mp4 and mp3 on Android using FFmpeg

    4 janvier 2015, par user3568918

    i am developing a video capturing Android App.
    My Goal is to merge the captured Video file with a given mp3 audio file. I am using FFmpeg to merge the files. The capturing is done with the Android.Media Framework.
    If i now try to merge the files like descripted here :

    How to multiplex mp3 and mp4 files in Android

    i get the error : avcodec_open2() error -1: Could not open video codec.

    Is there a way to convert the captured video file in a readable version for FFmpeg ?
    Or is there any other way to solve this issue ?

    i Dont want to capture the video with FFmpeg, caus this will be to much complex and not clean (for my opinion)

    Hope that any body can help :)
    thanks in advance.

    I Capture like propsed in the android DOC :

    http://developer.android.com/guide/topics/media/camera.html

    and this is how i try to merge

       FrameGrabber grabber1 = new FFmpegFrameGrabber(videoPath);
       FrameGrabber grabber2 = new FFmpegFrameGrabber(audioPath);
       grabber1.start();
       grabber2.start();
       FrameRecorder recorder = new FFmpegFrameRecorder(OutputPath,grabber1.getImageWidth(), grabber1.getImageHeight(), 2);
       recorder.setFormat("mp4");
       recorder.setVideoQuality(1);
       recorder.setFrameRate(grabber1.getFrameRate());
       recorder.setSampleRate(grabber2.getSampleRate());
       recorder.start();
       Frame frame1, frame2 = null;
       long timestamp = -2;
       int count = 0;
       boolean isFirstTime = false;
       boolean isFirstCheck = true;
       while ((frame1 = grabber1.grabFrame())!=null) {
           //frame1 = grabber1.grabFrame();
           frame2 = grabber2.grabFrame();
           recorder.record(frame1);
           recorder.record(frame2);
       }
       recorder.stop();
       grabber1.stop();
       grabber2.stop();
       }catch (org.bytedeco.javacv.FrameGrabber.Exception e) {
           e.printStackTrace();
       } catch (Exception e1) {
           e1.printStackTrace();
       }      
  • batch ffmpeg conversion (aspect, crop, and concatenate) and naming based on subfolder

    3 avril 2015, par hordor

    TYIA for any help !

    Seems I have a somewhat complicated, multi-step process. If you can help any part of it that would be appreciated.

    What I hope to accomplish

    1. Example of folder/file is here : https://mega.co.nz/#F !RJRWRLTJ !c6b-z3Vl-Tlh0uGbCflx7Q
    2. I have many subfolders that each contain 7 files from a DVD (originally PAL-encoded I think). I only care about the VTS_01_1.VOB AND VTS_01_2.VOB files. The two files together are one match
    3. The videos are stretched (from 4:3 to 16:9) and letterboxed. I want to undo that
    4. The future title of the final MP4 video should be the name of the folder
    5. BONUS : title of the video should also include the folder before it (e.g. "Friday H2 G1 CAN - BEL.mp4")

    I’d like to do this via batch file because there are a lot of folders.

    What I have done :

    dir/b/s *.vob | findstr /v VIDEO | findstr /v 01_ >list.txt

    @echo off
    for %%i in list.txt
    do  
     ffmpeg -i VTS_01_1.VOB -aspect 4:3 "%%~pi\v1step1.mp4"
     ffmpeg -i vob1.mp4 -vf "crop=704:432:10:72" "%%~pi\v1step2.mp4"
     ffmpeg -i vob11.mp4 -c copy "%%~pi\v1step3.ts"
     ffmpeg -i VTS_01_2.VOB -aspect 4:3 "%%~pi\v2step1.mp4"
     ffmpeg -i vob2.mp4 -vf "crop=704:432:10:72" "%%~pi\v2step2.mp4"
     ffmpeg -i vob22.mp4 -bsf h264_mp4toannexb -c copy "%%~pi\v2step3.ts"
     ffmpeg -i "concat:v1step3.ts|v2step3.ts" -c copy file.mp4 "%%~pi\Match.mp4"

    @echo on
    pause

    Problem with current code

    1. Doesn’t start converting (can’t see error message either)
    2. Doesn’t have the file naming that I want
    3. A lot of steps in conversation - can that be simplified ?
    4. Not sure why it wanted the -bsf command for the second conversion but not the first

    Apologies if I’d made basic mistakes. I’m a big newbie and just to get this far has taken me hours of research. Thanks again !

  • How can I extract the characteristics of multimedia video stream while the video is streaming ?

    10 mai 2021, par Kai

    I have built adaptive video streaming ,DASH, over SDN network and was wondering if I can get some video characteristics while the video is streaming. I have used youtube_dl and was able to get the received video after the completion of the stream however, I want to get the video characteristics such as (stream size, bitrate, frame rate, resolution and etc.) while streaming. I hope that you can provide me with a script to extract and generate a file that contains such information.