
Recherche avancée
Médias (91)
-
Spitfire Parade - Crisis
15 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Wired NextMusic
14 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (88)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...)
Sur d’autres sites (11196)
-
Broadcasting video from the camera to YouTube
17 octobre 2022, par verniseI want to stream video on YouTube. But there are a lot of restrictions. Firstly, I want to do it via an intermediate server. If there is no connection, the broadcast will not complete. Instead, an error will be displayed on the broadcast. This is due to the fact that the camera is close to the battle line. A blackout is not an uncommon occurrence. Also due to the limitations of YouTube (maximum 12 hours of broadcasting time to save), the broadcast has to start twice a day. I tried to implement transmission via FFmpeg and UDP to an intermediary server (I'm using a simple webcam), but the latency at this stage is more than 30 seconds. Any suggestions would be appreciated.


-
FFMPEG stream MPTS file with all the Metadata to output device (get multiple services at the output)
24 juillet 2024, par the_manThe help is needed...


I need to correctly MUX the UDP stream (MPEG Transport Streams) from the dvb app with multiple services (TV Channels) inside and stream it to my modulator device.
All the metadata information should be present in the output file :


- 

- Program 10352
- service_name : MDR Sachsen HD
- Stream #0:3[0x67](deu) :... (visual impaired) (descriptions)
- Stream #0:5[0x69](deu) : Subtitle : dvb_teletext
- ...












For simplicity, we may write a stream to a file. It should work almost the same way.


Here is an Input :


Input #0, mpegts, from 'udp://192.168.0.20:1234':
 Duration: N/A, start: 75946.781478, bitrate: N/A
 Program 10352
 Metadata:
 service_name : MDR Sachsen HD
 service_provider:
 Stream #0:1[0x65]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
 Stream #0:2[0x66](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
 Stream #0:3[0x67](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions)
 Stream #0:4[0x68](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (hearing impaired)
 Stream #0:5[0x69](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Stream #0:6[0x6a](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
 Stream #0:7[0x6b]: Unknown: none ([5][0][0][0] / 0x0005)
 Stream #0:8[0x6c](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
 Program 10355
 Metadata:
 service_name : hr-fernsehen HD
 service_provider:
 Stream #0:12[0xc9]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], 50 fps, 50 tbr, 90k tbn, 100 tbc
 Stream #0:9[0xca](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
 Stream #0:10[0xcb](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (visual impaired) (descriptions)
 Stream #0:11[0xcc](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (hearing impaired)
 Stream #0:13[0xcd](deu): Subtitle: dvb_teletext
 Stream #0:14[0xce](deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
 Stream #0:15[0xcf]: Unknown: none ([5][0][0][0] / 0x0005)
 Stream #0:16[0xd0](deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)




At the output, I need to get these two TV services as is to be visible on the TV set, or VLC etc.


My command so far :
case #1


ffmpeg -i udp://192.168.0.20:1234 -buffer_size 5000k -mpegts_flags +resend_headers\
 -metadata service_name="MDR Sachsen HD" -map 0:1 -map 0:2 -metadata language="deu"\
 -metadata service_name="hr-fernsehen HD" -map 0:10 -map 0:12 -metadata language="deu"\
 -c copy -muxrate 31668449 -mpegts_flags +resend_headers -f mpegts - | dd bs=64k of=/dev/dvb/adapter0/mod0



case #2


ffmpeg -i udp://192.168.0.20:1234 -buffer_size 5000k \
-map 0:p:10352 -map 0:p:10355 \
-c copy -muxrate 31668449 -mpegts_service_id 10352 -metadata service_name="MDR Sachsen HD" \
-mpegts_service_id 10355 -metadata service_name="hr-fernsehen HD" \
-mpegts_flags +resend_headers -f mpegts - | dd bs=64k of=/dev/dvb/adapter0/mod0



Whatever i try, i get only one TV service at the output :


Output #0, mpegts, to 'pipe:':
 Metadata:
 service_name : hr-fernsehen HD
 encoder : Lavf58.76.100
 Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc
 Stream #0:1(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s
 Stream #0:2(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (visual impaired) (descriptions)
 Stream #0:3(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, fltp, 192 kb/s (hearing impaired)
 Stream #0:4(deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006)
 Stream #0:5(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
 Stream #0:6: Unknown: none ([5][0][0][0] / 0x0005)
 Stream #0:7(deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
 Stream #0:8(deu): Subtitle: dvb_teletext, 492x250
 Stream #0:9: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 50 fps, 50 tbr, 90k tbn, 90k tbc
 Stream #0:10(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
 Stream #0:11(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (visual impaired) (descriptions)
 Stream #0:12(deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s (hearing impaired)
 Stream #0:13(deu): Audio: ac3 ([6][0][0][0] / 0x0006), 48000 Hz, stereo, fltp, 448 kb/s
 Stream #0:14: Unknown: none ([5][0][0][0] / 0x0005)
 Stream #0:15(deu): Subtitle: dvb_subtitle ([6][0][0][0] / 0x0006) (hearing impaired)
Stream mapping:
 Stream #0:1 -> #0:0 (copy)
 Stream #0:2 -> #0:1 (copy)
 Stream #0:3 -> #0:2 (copy)
...





Update :
So far the best command i get :


ffmpeg -i "udp://192.168.0.20:1234?fifo_size=10000000&overrun_nonfatal=1" -buffer_size 5000k -mpegts_flags +resend_headers -copy_unknown \
-map 0:v:0 -map 0:a:0 -map 0:a:1 -map 0:a:2 -map 0:a:3 -map 0:s:0? -map 0:d:0? \
-map 0:v:1 -map 0:a:4 -map 0:a:5 -map 0:a:6 -map 0:a:7 -map 0:s:1? -map 0:d:1? \
-program program_num=10352:title="MDR Sachsen HD":st=0:st=1:st=2:st=3:st=4:st=5:st=6 \
-program program_num=10355:title="hr-fernsehen HD":st=7:st=8:st=9:st=10:st=11:st=12:st=13 \
-c copy -muxrate 31668449 -mpegts_flags +resend_headers -max_interleave_delta 0 -f mpegts - | dd bs=64k of=/dev/dvb/adapter0/mod0



-
FFMpeg - PhantomJS to Youtube Live
7 février 2021, par Victor P.I'm trying to stream a webpage captured with PhantomJS to Youtube using FMMpeg.
This is the command I use :



xvfb-run phantomjs --web-security=no render.js | ffmpeg -threads 0 -y -v verbose -c:v png -r 30 -f image2pipe -i - -f lavfi -i anullsrc -strict -2 -acodec aac -ac 1 -ar 44100 -b:a 128k -c:v libx264 -s 1280x720 -pix_fmt yuv420p -f flv "rtmp://a.rtmp.youtube.com/live2/key";




And the render.js code :
http://pastebin.com/raw/X9gv8iGH



It looks like it's streaming, but no feed is received by YouTube, and I can't see where the problem is.
Outpout from my console