
Recherche avancée
Médias (91)
-
Chuck D with Fine Arts Militia - No Meaning No
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Paul Westerberg - Looking Up in Heaven
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Le Tigre - Fake French
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Thievery Corporation - DC 3000
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Dan the Automator - Relaxation Spa Treatment
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Gilberto Gil - Oslodum
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (74)
-
Les notifications de la ferme
1er décembre 2010, parAfin d’assurer une gestion correcte de la ferme, il est nécessaire de notifier plusieurs choses lors d’actions spécifiques à la fois à l’utilisateur mais également à l’ensemble des administrateurs de la ferme.
Les notifications de changement de statut
Lors d’un changement de statut d’une instance, l’ensemble des administrateurs de la ferme doivent être notifiés de cette modification ainsi que l’utilisateur administrateur de l’instance.
À la demande d’un canal
Passage au statut "publie"
Passage au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (5312)
-
Anomalie #3851 : Référencer code.plugins.spip.net
7 février 2017, par b bOui, ajouter un lien vers code.plugins.spip.net depuis code.spip.net ;)
-
Set rtsp_flags to listen ffmpeg in c code
6 mai 2015, par Ahmed_FarazI am trying to create a client client server application to stream and then receive video using rtsp using ffmpeg libraries. I am done with the client part which is streaming the video and i can receive the video on ffplay using following command
ffplay -rtsp_flags listen rtsp://127.0.0.1:8556/live.sdp
My problem is that i want receive the video in a c code and i need to set rtsp_flags option in it. Can anyone plz help ??
P.S. i cannot use ffserver because i am working on windows and ffserver is not available for windows as far as i knw -
Extract subtitle by language code via ffmpeg
7 mai 2023, par TrustFoundI have a simple task - extract subtitle for exact language from tvshows.
For example, I want to extract English subtitles from Netflix's show.
As you know there're a few different types of subtitles : forced, full and SDH.
So I want to extract all of them if it has eng language code.


To extract 1 subtitle from file I used this code for windows :


FOR %%i IN (*.mkv) DO (ffmpeg.exe -i "%%i" -map 0:s:m:language:eng -c copy "%%~ni".eng.srt)



It worked fine with 1 english subtitle per file. But if it contains 2, ffmpeg shows error




SRT supports only a single subtitles stream





MI is...


- 

- Stream #0:2(eng) : Subtitle : subrip
- Stream #0:3(eng) : Subtitle : subrip
- Stream #0:4(ara) : Subtitle : subrip
- ...











So I should set 2 or more output files. I tried to figure out how to do this and found similar threads on reddit and stacksoverflow. They said there's no way to do this without ffprobe.
So I used ffprobe to parse all subtitle tracks and their language code.


FOR %%i IN (*.mkv) DO (ffprobe -loglevel error -select_streams s -show_entries stream=index:stream_tags=language -of csv=p=0 -i %%i > subs.txt)



File contains this info :


- 

- 2,eng
- 3,eng
- 4,ara
- ...











As I understand I should use integers and set them values 2 and 3. I want to get output like this




- 

- MovieName.2.eng.srt
- MovieName.3.eng.srt








If it easier to extract all subs, let it be. I tried to do this too but I dont know how to set integers and use them :(
So what I should do ?
Thanks in advance