Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (58)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

Sur d’autres sites (15688)

  • How use FFMPEG to merege multiple audios and videos with delay and offset for any streams

    9 juillet 2020, par Morak

    I want to use FFMPEG to merge multiple audios and videos.

    


    Materials are :

    


      

    1. three short audio clips (S1.mp4, S2.mp4, S3.mp4) without video(files
only have audio stream),
    2. 


    3. three video clips (V1.mp4, V2.mp4, V3.mp4) without sound(files only have video stream).
    4. 


    


    I have start-time of all materials(i.e :

    


    start-time of "S1.mp4" is 0 sec...
start-time of "S2.mp4" is 1220.5 sec...
start-time of "S3.mp4" is 2500.12 sec...


    


    and

    


    start-time of "V1.mp4" is 15.22 sec...
start-time of "V2.mp4" is 853.99 sec...
start-time of "V3.mp4" is 2901.37 sec...)


    


    My goal is :

    


    Merge all videos and audios to single file with entering in their start time.

    


    The requirement is depicted like below(D=delay).

    


    D <—V1.mp4—> D <----------V2.mp4-------------> D <-V3.mp4->blank

    &#xA;

    <------------S1.mp4-----> D <-------S2.mp4—> D <-------S3.mp4------->

    &#xA;

    The command I use is as below, but it does not work as expected.

    &#xA;

    1st:prepare V.mp4(merging all videos) :

    &#xA;

    ffmpeg -itsoffset {OFFSET.V1} -i V1.mp4  -itsoffset {OFFSET.V2} -i V2.mp4  -itsoffset {OFFSET.V3} -i V3.mp4 -map 0:v -map 1:v -map 2:v -c:v copy V.mp4

    &#xA;

    2nd:prepare S.mp4(merging all audios) :

    &#xA;

    ffmpeg -i S1.mp4 -i S2.mp4 -i S3.mp4 -filter_complex "[0]adelay=0[aud1];[1]adelay=1220.5[aud2];[2]adelay=2500.12[aud3];[aud1][aud2][aud3]amix=3[a]" -map "[a]" -c:a copy S.mp4

    &#xA;

    final:merging V.mp4 with S.mp4 :

    &#xA;

    ffmpeg -i V.mp4 -i S.mp4 -map 0:v -map 1:a -vcodec copy -acodec copy final.mp4

    &#xA;

    Any hint is appreciated !

    &#xA;

  • Using JavaCV/FFMPEG to push byte buffer image via RTMP

    6 mai 2022, par ljnoah

    I have a USB camera that returns frames as a byte buffer type to which I would like to push/send via rtmp using JavaCV library to be viewed using VLC. According to this link : http://bytedeco.org/javacpp-presets/ffmpeg/apidocs/org/bytedeco/ffmpeg/ffmpeg.html. It should be possible, but I don't really have any experience with ffmpeg, but from what I've read in their github it should be possible, only, thus far I was not able to find an example on how to do it. Basically, I would like to store a byte buffer and send an image that is in variable instead of grabbing frames from a camera as my USB camera is not detected by android and needs external libraries to work.

    &#xA;

    private byte[] FrameData = new byte[384 * 288 * 4];&#xA;  //private final Bitmap bitmap = Bitmap.createBitmap(PREVIEW_WIDTH, PREVIEW_HEIGHT, // Bitmap.Config.ARGB_8888); // creates a bitmap with the proper format in-case its needed&#xA;  private final IFrameCallback mIFrameCallback = new IFrameCallback() {&#xA;      @Override&#xA;      public void onFrame(final ByteBuffer frameData) {&#xA;          frameData.clear();&#xA;          frameData.get(FrameData, 0, frameData.capacity());&#xA;          }&#xA;  };&#xA;

    &#xA;

    This callback gives me the frames from my camera on the fly and writes it to FrameData, which I can compress to a bitmap if needed.

    &#xA;

    My camera preview where I call the callback above :

    &#xA;

      public void handleStartPreview(Object surface) {&#xA;      if ((mUVCCamera == null)) return;&#xA;      try {&#xA;          mUVCCamera.setPreviewSize(mWidth, mHeight, 1, 26, UVCCamera.DEFAULT_PREVIEW_MODE, UVCCamera.DEFAULT_BANDWIDTH, 0);&#xA;      } catch (IllegalArgumentException e) {&#xA;          try {&#xA;              mUVCCamera.setPreviewSize(mWidth, mHeight, 1, 26, UVCCamera.DEFAULT_PREVIEW_MODE, UVCCamera.DEFAULT_BANDWIDTH, 0);&#xA;              Log.e(TAG, "handleStartPreview4");&#xA;          } catch (IllegalArgumentException e1) {&#xA;              callOnError(e1);&#xA;              return;&#xA;          }&#xA;      }&#xA;      int result = mUVCCamera.startPreview();&#xA;      mUVCCamera.setFrameCallback(mIFrameCallback, UVCCamera.PIXEL_FORMAT_RGBX);&#xA;      mUVCCamera.startCapture();&#xA;      startRecording();&#xA;  }&#xA;

    &#xA;

    My question is How can I use this example :

    &#xA;

     String ffmpeg = Loader.load(org.bytedeco.ffmpeg.ffmpeg.class);&#xA; ProcessBuilder pb = new ProcessBuilder(ffmpeg, "-i", "/path/to/input.mp4", "-vcodec", "h264", "/path/to/output.mp4");&#xA; pb.inheritIO().start().waitFor();&#xA;

    &#xA;

    to push my frames from the camera that are stored FrameData byte buffer via RTMP/RTSP to my server IP, even If I need to compress it to a bitmap before...

    &#xA;

  • From jpg to animated gif

    12 mai 2016, par lleoun

    I’m desperate, I need to convert some jpg images into an animated gif.

    I’ve tried ffmpeg, but the result has a terrible quality.

    Also tried imagemagick, and the result looks great but it weights 511 KB !!

    Anyone please can tell me what to use or how to use the before applications to get a final animated gif with a normal quality and a normal weight for a gif ??

    As I said I’m desperate, I need to finish this asap :(

    Thanks a lot