
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (66)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (10424)
-
Choose Program 2 in ffmpeg
11 juin 2020, par jilboobs seksiI tried to stream a video and i want to choose
Program 2
in this command line inffmpeg
. How to do that ?


Input #0, hls, from 'https://videodelivery.net/d0b94c4c5e737af01ff8f6a56e5fc1aa/manifest/video.m3u8':
Duration: 00:34:11.80, start: 0.062089, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 400000
Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 4 kb/s (default)
Metadata:
variant_bitrate : 5200000
comment : eng
Stream #0:1: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p, 426x240 [SAR 640:639 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Metadata:
variant_bitrate : 400000
Program 1
Metadata:
variant_bitrate : 800000
Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 4 kb/s (default)
Metadata:
variant_bitrate : 5200000
comment : eng
Stream #0:2: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 640x360 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Metadata:
variant_bitrate : 800000
Program 2
Metadata:
variant_bitrate : 1800000
Stream #0:0(en): Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 4 kb/s (default)
Metadata:
variant_bitrate : 5200000
comment : eng
Stream #0:3: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p, 854x480 [SAR 1280:1281 DAR 16:9], 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc
Metadata:
variant_bitrate : 1800000



-
I want to get the data of the MPEG2ts data stream
26 juin 2020, par 夏目たかしI want to get the data of the MPEG2ts data stream using FFMPEG.


Delivery side :


ffmpeg -re -i hoge.ts -map 0 -c copy -f mpegts udp://127.0.0.1:5004



Receiver :


ffmpeg -i udp://127.0.0.1:5004 -map 0:1 -codec copy -f data stream.txt



I started two command prompts and both were running on one PC.


disp Delivery side message :


Input #0, mpegts, from 'E:/Day_Flight.mpg':
 Duration: 00:03:14.88, start: 10.000000, bitrate: 4187 kb/s
 Program 1
 Stream #0:0[0x1e1]: Video: h264 (Main) ([27][0][0][0] / 0x001B), 
yuv420p(progressive), 1280x720, 60 fps, 60 tbr, 90k tbn, 180k tbc
 Stream #0:1[0x1f1]: Data: klv (KLVA / 0x41564C4B)
Output #0, mpegts, to 'udp://127.0.0.1:5004':
 Metadata:
 encoder : Lavf58.47.100
 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720, q=2-31, 60 fps, 60 tbr, 90k tbn, 90k tbc
 Stream #0:1: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
 Stream #0:0 -> #0:0 (copy)
 Stream #0:1 -> #0:1 (copy)



disp Receiver message :


Input #0, mpegts, from 'udp://127.0.0.1:5004':
 Duration: N/A, start: 1.400000, bitrate: N/A
 Program 1
 Metadata:
 service_name : Service01
 service_provider: FFmpeg
 Stream #0:0[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), 
yuv420p(progressive), 1280x720, 60 fps, 60 tbr, 90k tbn, 180k tbc
 Stream #0:1[0x101]: Data: klv (KLVA / 0x41564C4B)
Output #0, data, to 'stream.txt':
 Metadata:
 encoder : Lavf58.47.100
 Stream #0:0: Data: klv (KLVA / 0x41564C4B)
Stream mapping:
 Stream #0:1 -> #0:0 (copy)



However, the contents of steram.txt are empty.
Please give me some advice.


-
Transcode HLS segments individually with FFMPEG
9 juillet 2020, par Mathix420I'm trying to transcode a video in HLS, by first splitting the video in segments without encoding changes and then transcode all segments individually. I'm trying to achieve this so I can transcode a video in multiple EC2 instances in parallel to be more time efficient.


I am using this scipt right now


# Split input file in multiple segments

ffmpeg -hide_banner -y -i $input -c copy -map 0 -an -segment_time 4 -reset_timestamps 1 -f segment output%03d.webm

# Transcode each segments in multiple resolutions

find . -name 'output*.webm' -exec ffmpeg -hide_banner -y -i {} \
 -vf "scale=-2:360" -c:v libx264 -profile:v main -crf 20 -sc_threshold 0 -b:v 800k -maxrate 856k -bufsize 1200k {}.360p.ts \
 -vf "scale=-2:480" -c:v libx264 -profile:v main -crf 20 -sc_threshold 0 -b:v 1400k -maxrate 1498k -bufsize 2100k {}.480p.ts \
 -vf "scale=-2:720" -c:v libx264 -profile:v main -crf 20 -sc_threshold 0 -b:v 2800k -maxrate 2996k -bufsize 4200k {}.720p.ts \
 -vf "scale=-2:1080" -c:v libx264 -profile:v main -crf 20 -sc_threshold 0 -b:v 5000k -maxrate 5350k -bufsize 7500k {}.1080p.ts \;



But then when I tried to get all segments durations to make an m3u8 playlist (with the command below)


# List segments duration

find . -name 'output*.webm.360p.ts' \
 -exec echo -n {} \; \
 -exec ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 {} \;



I got this result


output000.webm.360p.ts 5.120000
output001.webm.360p.ts 5.120000
output002.webm.360p.ts 4.400000
output003.webm.360p.ts 5.480000
output004.webm.360p.ts 0.360000
output005.webm.360p.ts 5.120000
output006.webm.360p.ts 4.960000
output007.webm.360p.ts 0.001000



I can't figure out why my
output004
is only0.360000
seconds long.

When I tried to play it with VLC it just shows one or two frames then
main decoder error: buffer deadlock prevented
.

Thanks for trying to help me !