
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (78)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette 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, parComme 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 2011MediaSPIP 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 pizdecI 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 Miavcodec/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>
-
FFmpeg with yt-dlp in an android environment
7 janvier, par Pastorii 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 👍


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


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



// build.gradle (app level)
plugins {
 alias(libs.plugins.android.application)
 id("com.chaquo.python")
}

chaquopy {
 defaultConfig {
 buildPython("C:/Program Files/Python313/python.exe")
 buildPython("C:/Program Files/Python313/python.exe", "-3.8")
 }
 sourceSets {
 getByName("main") {
 srcDir("src/main/assets/python") // Tell Chaquopy to look here
 }
 }
}

android {
 namespace 'com.example.ytrans'
 compileSdk 34

 defaultConfig {
 applicationId "com.example.ytrans"
 minSdk 24
 targetSdk 34
 versionCode 1
 versionName "1.0"

 testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

 ndk {
 // On Apple silicon, you can omit x86_64.
 abiFilters "arm64-v8a", "x86_64"
 }

 python {
 version "3.8"
 buildPython "C:/Program Files/Python313/python.exe"
 pip {
 install "yt-dlp" // This will install yt-dlp via pip
 }
 }

 }

 buildTypes {
 release {
 minifyEnabled false
 proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
 }
 }
 compileOptions {
 sourceCompatibility JavaVersion.VERSION_11
 targetCompatibility JavaVersion.VERSION_11
 }
}

dependencies {
 implementation libs.appcompat
 implementation libs.material
 implementation libs.activity
 implementation libs.constraintlayout
 testImplementation libs.junit
 androidTestImplementation libs.ext.junit
 androidTestImplementation libs.espresso.core
 implementation files("libs/ffmpeg-kit-full-6.0-2.LTS.aar")
}






// java code
 public static void downloadVideo(String video_url, String output_path)
 {

 Python py = Python.getInstance();
 PyObject pyObj = py.getModule("yt_dlp_script"); // Import yt-dlp
 try {
 pyObj.callAttr("download", video_url, output_path);
 Log.i("VideoDownloader", "Video downloaded successfully!");
 } catch (Exception e) {
 Log.e("VideoDownloader", "Error downloading video: " + e.getMessage());
 }
 }



# python script
import yt_dlp

def download(video_url, output_path):
 ydl_opts = {
 'outtmpl': output_path, # specify the output file path
 'merge_output_format': 'mp4',
 }

 with yt_dlp.YoutubeDL(ydl_opts) as ydl:
 ydl.download([video_url]) # Download the video