Recherche avancée

Médias (39)

Mot : - Tags -/audio

Autres articles (78)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

Sur d’autres sites (7451)

  • 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
    • 


    


  • avcodec/cbs_h266 : Fix regression in DVB clip introduced by 93281630a71c06642adfebebb0...

    10 novembre 2024, par Nuo Mi
    avcodec/cbs_h266 : Fix regression in DVB clip introduced by 93281630a71c06642adfebebb0d4b105a4e02e91
    

    This commit introduced a regression to VVC_HDR_UHDTV1_OpenGOP_3840x2160_50fps_HLG10_mosaic.ts.

    Root Cause :
    The AV_CEIL_RSHIFT(a, b) macro uses bit tricks that work only when -a is a negative value.
    However, due to integer promotion rules, this behavior does not extend to the unsigned int type.

    See "6.3.1.1 Boolean, characters, and integers" in the "ISO/IEC 9899" for details.

    Reported-by : Frank Plowman <post@frankplowman.com>

    • [DH] libavcodec/cbs_h266_syntax_template.c
  • FFmpeg with yt-dlp in an android environment

    7 janvier, par Pastori

    i am currently working on an android application that initially needs to install a youtube video, here's what am using in my development environment : android studio, chaquopy, python (yt-dlp) and gradle groovy for builds, now i am facing a problem with yt-dlp and the error states the following : "ERROR : You have requested merging of multiple formats but ffmpeg is not installed. Aborting due to —abort-on-error", now clearly yt-dlp requires ffmpeg to work properly and i have looked into it and found FFmpegKit i got the latest android archive and i included it in my build, and it builds but yt-dlp still produces the same error, i don't really understand how the packages and environment works all that well but any help on this would be appreciated 👍

    &#xA;

    NOTE : gradle builds perfectly fine i don't even get warnings it's just the yt-lp error during video download.

    &#xA;

    // build.gradle (project level)&#xA;// Top-level build file where you can add configuration options common to all sub-projects/modules.&#xA;plugins {&#xA;    alias(libs.plugins.android.application) apply false&#xA;    id("com.chaquo.python") version "16.0.0" apply false&#xA;}&#xA;

    &#xA;

    // build.gradle (app level)&#xA;plugins {&#xA;    alias(libs.plugins.android.application)&#xA;    id("com.chaquo.python")&#xA;}&#xA;&#xA;chaquopy {&#xA;    defaultConfig {&#xA;        buildPython("C:/Program Files/Python313/python.exe")&#xA;        buildPython("C:/Program Files/Python313/python.exe", "-3.8")&#xA;    }&#xA;    sourceSets {&#xA;        getByName("main") {&#xA;            srcDir("src/main/assets/python") // Tell Chaquopy to look here&#xA;        }&#xA;    }&#xA;}&#xA;&#xA;android {&#xA;    namespace &#x27;com.example.ytrans&#x27;&#xA;    compileSdk 34&#xA;&#xA;    defaultConfig {&#xA;        applicationId "com.example.ytrans"&#xA;        minSdk 24&#xA;        targetSdk 34&#xA;        versionCode 1&#xA;        versionName "1.0"&#xA;&#xA;        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"&#xA;&#xA;        ndk {&#xA;            // On Apple silicon, you can omit x86_64.&#xA;            abiFilters "arm64-v8a", "x86_64"&#xA;        }&#xA;&#xA;        python {&#xA;            version "3.8"&#xA;            buildPython "C:/Program Files/Python313/python.exe"&#xA;            pip {&#xA;                install "yt-dlp"  // This will install yt-dlp via pip&#xA;            }&#xA;        }&#xA;&#xA;    }&#xA;&#xA;    buildTypes {&#xA;        release {&#xA;            minifyEnabled false&#xA;            proguardFiles getDefaultProguardFile(&#x27;proguard-android-optimize.txt&#x27;), &#x27;proguard-rules.pro&#x27;&#xA;        }&#xA;    }&#xA;    compileOptions {&#xA;        sourceCompatibility JavaVersion.VERSION_11&#xA;        targetCompatibility JavaVersion.VERSION_11&#xA;    }&#xA;}&#xA;&#xA;dependencies {&#xA;    implementation libs.appcompat&#xA;    implementation libs.material&#xA;    implementation libs.activity&#xA;    implementation libs.constraintlayout&#xA;    testImplementation libs.junit&#xA;    androidTestImplementation libs.ext.junit&#xA;    androidTestImplementation libs.espresso.core&#xA;    implementation files("libs/ffmpeg-kit-full-6.0-2.LTS.aar")&#xA;}&#xA;&#xA;&#xA;&#xA;

    &#xA;

        // java code&#xA;    public static void downloadVideo(String video_url, String output_path)&#xA;    {&#xA;&#xA;        Python py = Python.getInstance();&#xA;        PyObject pyObj = py.getModule("yt_dlp_script"); // Import yt-dlp&#xA;        try {&#xA;            pyObj.callAttr("download", video_url, output_path);&#xA;            Log.i("VideoDownloader", "Video downloaded successfully!");&#xA;        } catch (Exception e) {&#xA;            Log.e("VideoDownloader", "Error downloading video: " &#x2B; e.getMessage());&#xA;        }&#xA;    }&#xA;

    &#xA;

    # python script&#xA;import yt_dlp&#xA;&#xA;def download(video_url, output_path):&#xA;    ydl_opts = {&#xA;        &#x27;outtmpl&#x27;: output_path,  # specify the output file path&#xA;        &#x27;merge_output_format&#x27;: &#x27;mp4&#x27;,&#xA;    }&#xA;&#xA;    with yt_dlp.YoutubeDL(ydl_opts) as ydl:&#xA;        ydl.download([video_url])  # Download the video &#xA;&#xA;

    &#xA;