Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (58)

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

  • L’espace de configuration de MediaSPIP

    29 novembre 2010, par

    L’espace de configuration de MediaSPIP est réservé aux administrateurs. Un lien de menu "administrer" est généralement affiché en haut de la page [1].
    Il permet de configurer finement votre site.
    La navigation de cet espace de configuration est divisé en trois parties : la configuration générale du site qui permet notamment de modifier : les informations principales concernant le site (...)

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

Sur d’autres sites (9302)

  • How to bybass any site that restrict multiple live streaming broadcast on a single account ? [closed]

    4 août 2024, par kino pizdec

    I am looking for a working way to use 1 video.mp4 input for 1 site, for 1 account, but broadcast in several output, for example, to different rtmp servers or stream keys. Something similar is seen on YouTube, where 1 channel has many live streams.

    


    I want to do the same, but for another site that offers the following connection options :

    


      

    • rtmp server and stream key
    • 


    • Real webcam
    • 


    • OBS Virtual webcam
    • 


    


    I've seen it's possible. People stream up to 4 streams simultaneously on 1 account with 1 video. The question is how.

    


    I have been tormenting the chat GPT for several days and trying different options for writing code for ffmpeg, but I have not been able to achieve more than 2 streams at the same time. I have already managed to make 2 streams at the same time twice, but I have completely forgotten how to do this, because I am constantly trying new code configurations in ffmpeg.

    


    Here is code that I use to attempt to solve my issue.

    


    @echo off
setlocal EnableDelayedExpansion

set "VIDEO_FILE=E:\MegaStream\VIDEO.mp4"

set "streams="
for /f "delims=" %%a in (stream_config.txt) do (
    set "streams=!streams! -f flv %%a"
)

:loop
start /b ffmpeg.exe ^
-re ^
-stream_loop -1 ^
-i "!VIDEO_FILE!" ^
-c:v libx264 ^
-preset veryfast ^
-tune zerolatency ^
-b:v 4000k ^
-maxrate 4400k ^
-bufsize 8000k ^
-pix_fmt yuv420p ^
-g 60 ^
-keyint_min 60 ^
-sc_threshold 0 ^
-r 30 ^
-c:a aac ^
-b:a 96k ^
-ar 44100 ^
-threads 4 ^
-x264opts "nal-hrd=cbr:force-cfr=1" ^
-max_muxing_queue_size 1024 ^
-map 0:v:0 -map 0:a:0 !streams!
-loglevel debug

echo Streaming... Press 'Q' to quit or 'R' to restart.
:input
choice /c QR /n >nul
if errorlevel 2 (
    taskkill /F /IM ffmpeg.exe >nul 2>&1
    echo Restarting stream...
    goto loop
) else if errorlevel 1 (
    taskkill /F /IM ffmpeg.exe >nul 2>&1
    echo Quitting...
    exit /b
)
goto input 


    


    Plus config file with 2 separate lines :
rtmp server 1 / stream key 1
rtmp server 2/ stream key 1

    


    I play a lot with config file and code. I edited them differently so many times so once it worked and site played my 2 stream simultaneously but now I struggle with consistent solution. Would love to hear any guesses on how to bypass these rules.
P.s.
I'm already advised many times on ethitcs and usage of this method, so I'm concerned thanks.

    


    What does not work :

    


      

    • Launching 2 copies of OBS with different servers and stream keys gives an error
    • 


    • Plugin for multistreaming OBS
    • 


    • Using 2 devices, site says "You already have a streaming sesssion" and offers to finish first to start second
    • 


    


  • How to use ffmpeg to overlay waveforms on xstack mosaics and specify specific audio for playback

    1er mai 2022, par kellib

    I would like to make a mosaic of multiple titled streams, 1) specifying which of the audio streams to play and 2) overlay waveforms at the bottom of each of the video tiles for the audio that they belong to.

    


    I'm successfully able to create the titled mosaic of streams with the code below.

    


    However :

    


      

    1. I'm having a hard time figuring out how to specify just one of the specific audio sources. I found amix, but I don't really want to mix them, I just want to specify audio [a0], or [a1], or [a2], etc.
    2. 


    


    and

    


      

    1. I'm having a hard time figuring out how to overlay the wave forms at the bottom of the video for each of the tiles. I struggled trying to figure out putting showwaves into the mix. Is it possible ?
    2. 


    


    I want each tile to look like this, but since these are rtmp streams, they need to play-out the matching waveforms dynamically with each stream. https://dragonquest64.blogspot.com/2020/01/ffmpeg-audio-waveform.html

    


    If someone could point me in the right direction, that would be great. I'm getting close, but I'm pretty new to all of this, and have already spent way more time than I should have, so would love a little help.

    


    ffmpeg \
-i rtmp://my.cdn.com/srcEncoders/STREAM-1 \
-i rtmp://my.cdn.com/srcEncoders/STREAM-2 \
-i rtmp://my.cdn.com/srcEncoders/STREAM-3 \
-i rtmp://my.cdn.com/srcEncoders/STREAM-4 \
  -filter_complex " \
      [0:v] setpts=PTS-STARTPTS, scale=qvga \
    , drawtext=text=STREAM-1:fontsize=20:x=10:y=10:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5 [a0]; \
      [1:v] setpts=PTS-STARTPTS, scale=qvga \
    , drawtext=text=STREAM-2:fontsize=20:x=10:y=10:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5 [a1]; \
      [2:v] setpts=PTS-STARTPTS, scale=qvga \
    , drawtext=text=STREAM-3:fontsize=20:x=10:y=10:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5 [a2]; \
      [3:v] setpts=PTS-STARTPTS, scale=qvga \ 
    , drawtext=text=STREAM-4:fontsize=20:x=10:y=10:fontcolor=white:box=1:boxcolor=black@0.5:boxborderw=5 [a3]; \
      [a0][a1][a2][a3]xstack=inputs=4:layout=0_0|0_h0|w0_0|w0_h0[out]; \
    amix=inputs=1
      " \
  -map "[out]" \
 -c:v libx264 -b:v 1000k -g 30 -keyint_min 120 -profile:v baseline -preset veryfast -f mpegts "udp://127.0.0.1:1234?pkt_size=1316"


    


  • FFmpeg - cannot find ExecuteBinaryResponseHandler - Android/Java

    20 juillet 2018, par pudility

    I am trying to make a module for react-native that will change a video into a gif. I have little to no experience with android studios/java, but I would love to learn more ! I am using this library to convert the video to a gif. Here is my code :

    package com.reactlibrary;

    import android.widget.Toast;
    import com.facebook.react.bridge.ReactApplicationContext;
    import com.facebook.react.bridge.ReactContextBaseJavaModule;
    import com.facebook.react.bridge.ReactMethod;
    import com.github.hiteshsondhi88.libffmpeg.FFmpeg;

    public class RNGifMakerModule extends ReactContextBaseJavaModule {

     private final ReactApplicationContext reactContext;

     public RNGifMakerModule(ReactApplicationContext reactContext) {
       super(reactContext);
       this.reactContext = reactContext;
     }

     @Override
     public String getName() {
       return "RNGifMakerModule";
     }

     @ReactMethod
     public void alert(String message) {
         Toast.makeText(getReactApplicationContext(), "Error", Toast.LENGTH_LONG).show();
         String[] cmd = {"-i"
                 , message
                 , "Image.gif"};
         conversion(cmd);
     }

     public void conversion(String[] cmd) {

       FFmpeg ffmpeg = FFmpeg.getInstance(this.reactContext);

       try {


         // to execute "ffmpeg -version" command you just need to pass "-version"
         ffmpeg.execute(cmd, new ExecuteBinaryResponseHandler() {

           @Override
           public void onStart() {
           }

           @Override
           public void onProgress(String message) {
           }

           @Override
           public void onFailure(String message) {
           }

           @Override
           public void onSuccess(String message) {
           }

           @Override
           public void onFinish() {
           }
         });
       } catch (FFmpegCommandAlreadyRunningException e) {
         // Handle if FFmpeg is already running
         e.printStackTrace();
       }
     }
    }

    And I get this error :

    Error:(43, 31) error: cannot find symbol class ExecuteBinaryResponseHandler

    This seems odd to be, because in the documentation for ffmpeg-android-java it says to use almost exactly the same code.

    Bounty

    The bounty will be awarded to you if you can find a way to convert a video.mp4 into a gif. You do not necessarily have to use FFmpeg, but your solution has to work with java/android studios.