
Recherche avancée
Médias (91)
-
Les Miserables
9 décembre 2019, par
Mis à jour : Décembre 2019
Langue : français
Type : Textuel
-
VideoHandle
8 novembre 2019, par
Mis à jour : Novembre 2019
Langue : français
Type : Video
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
-
Un test - mauritanie
3 avril 2014, par
Mis à jour : Avril 2014
Langue : français
Type : Textuel
-
Pourquoi Obama lit il mes mails ?
4 février 2014, par
Mis à jour : Février 2014
Langue : français
-
IMG 0222
6 octobre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Image
Autres articles (88)
-
Encodage et transformation en formats lisibles sur Internet
10 avril 2011MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...) -
Monitoring de fermes de MediaSPIP (et de SPIP tant qu’à faire)
31 mai 2013, parLorsque l’on gère plusieurs (voir plusieurs dizaines) de MediaSPIP sur la même installation, il peut être très pratique d’obtenir d’un coup d’oeil certaines informations.
Cet article a pour but de documenter les scripts de monitoring Munin développés avec l’aide d’Infini.
Ces scripts sont installés automatiquement par le script d’installation automatique si une installation de munin est détectée.
Description des scripts
Trois scripts Munin ont été développés :
1. mediaspip_medias
Un script de (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site
Sur d’autres sites (14705)
-
youtube-dl sometime hangs with "[ffmpeg] Correcting container"
20 mai 2018, par user292344Ubuntu 16.04
/usr/local/bin/youtube-dl --version
2018.05.09I have a bash script that attemts to download a youtube video. The output is below. The problem is that sometimes it works perfectly (completes quickly).
But most of the time it hangs on "Correcting container....". Does anyone know why ?+ /usr/local/bin/youtube-dl --verbose -x 'https://www.youtube.com/watch?v=8HVWitAW-Qg'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-x', u'https://www.youtube.com/watch?v=8HVWitAW-Qg']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.05.09
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-124-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: avconv 2.8.14-0ubuntu0.16.04.1, avprobe 2.8.14-0ubuntu0.16.04.1, ffmpeg 2.8.14-0ubuntu0.16.04.1, ffprobe 2.8.14-0ubuntu0.16.04.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] 8HVWitAW-Qg: Downloading webpage
[youtube] 8HVWitAW-Qg: Downloading video info webpage
[youtube] 8HVWitAW-Qg: Extracting video information
[debug] Invoking downloader on u'https://r5---sn-5uaeznkl.googlevideo.com/videoplayback?expire=1526159728&source=youtube&key=yt6&mime=audio%2Fmp4&sparams=clen%2Cdur%2Cei%2Cgir%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Ckeepalive%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Crequiressl%2Csource%2Cusequic%2Cexpire&keepalive=yes&lmt=1518142590597815&dur=231.131&mv=m&mt=1526137933&ms=au%2Conr&signature=18BB34F3716B412AC5757872DD2AF402B6EE20D2.43D2E68B5A5ED2E2D3076DF9264B9BB723484821&ip=71.81.217.251&c=WEB&initcwndbps=1583750&mn=sn-5uaeznkl%2Csn-p5qs7n7l&clen=3671757&gir=yes&id=o-AOxj8Rg2IuZek8KwvgPy-N7_FSGzxQ0Zl2HX1T4gepLf&ipbits=0&fvip=5&ei=EAX3WqbOH8fg4QSlkrGoAg&pl=20&mm=31%2C26&itag=140&usequic=no&requiressl=yes&ratebypass=yes'
[download] Destination: Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a
[download] 100% of 3.50MiB in 00:00
[ffmpeg] Correcting container in "Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a"
[debug] ffmpeg command line: avconv -y -i 'file:Top 10 cute kitten videos compilation-8HVWitAW-Qg.m4a' -c copy -f mp4 'file:Top 10 cute kitten videos compilation-8HVWitAW-Qg.temp.m4a'
^C
ERROR: Interrupted by user -
how to stream an IP webcam (h264) to youtube live rtmp using avconv or ffmpeg ?
20 juin 2015, par BabaI have an IP webcam HiSilicon Hi3516C that I can successfully access from a raspberry pi. I can get still images by using a command like this :
avconv -i "rtsp://192.168.1.10:554" myfile.jpg
now instead of still images I would like to stream the video to youtube live. I have configured an event in my youtube live account and gotten a stream name and a rtmp url.
My youtube ingestion settings are :
custom ingestion : bitrate 400kbps - 1000 kbps (360p)
encoder : Other encodermy webcam specs says :
Webcam : HiSilicon Hi3516C
Video EncodingH.264 baseline profile
H.264 main profile Level 4.0
MJPEG/JPEG baseline
Video Encoding PerformanceAt most 2-megapixel resolution for H.264 encoding
Real-time H.264&JPEG encoding of multiple types of
streams : 1080p@30 fps+VGA@30 fps + JPEG snapshot
1080p@1 fpsSupports constant bit rate (CBR) mode and variable bit
rate (VBR) mode.Supports the output bit rate ranging from 32 Kbit/s to 40
Mbit/s.Encoding frame rate, ranging from 1/16 frame/s to 30
frame/sEight ROIs
OSD overlay of eight regions before encoding
I am not sure what command line to issue in order to properly encode and send my stream to my you tube event. So far I have tried :
avconv -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2
(note that I haven’t used the stream name provided by youtube since I do not know where to specify it) this returns the following :
[h264 @ 0x1fb0380] RTP : missed 273 packets
[h264 @ 0x1fb0380] RTP : missed 191 packets
[h264 @ 0x1fb0380] RTP : missed 225 packets
[h264 @ 0x1fb0380] RTP : missed 332 packets
[h264 @ 0x1fb0380] RTP : missed 349 packets
[h264 @ 0x1fb0380] RTP : missed 339 packets
[rtsp @ 0x1fac640] max_analyze_duration reached
[rtsp @ 0x1fac640] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from ’rtsp ://192.168.1.10:554’ :
Metadata :
title :
comment : minisdp
Duration : N/A, start : 0.040000, bitrate : N/A
Stream #0.0 : Video : h264 (Main), yuv420p, 1920x1080, 2.23 fps, 90k tbn
Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 8000 Hz, mono
RTMP_ReadPacket, failed to read RTMP packet header
rtmp ://a.rtmp.youtube.com/live2 : Unknown error occurredI have also tried
avconv -f h264 -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2
which gives : rtsp ://192.168.1.10:554 : Protocol not found
and
avconv -rtsp_transport tcp -i rtsp://192.168.1.10:554 -r 20 -b 750 -f flv rtmp://a.rtmp.youtube.com/live2p
which gives :
[rtsp @ 0xf8680] max_analyze_duration reached
[rtsp @ 0xf8680] Estimating duration from bitrate, this may be inaccurate
Guessed Channel Layout for Input Stream #0.1 : mono
Input #0, rtsp, from ’rtsp ://192.168.1.10:554’ :
Metadata :
title :
comment : minisdp
Duration : N/A, start : 0.040000, bitrate : N/A
Stream #0.0 : Video : h264 (Main), yuv420p, 1920x1080, 25 fps, 1k tbr, 90k tbn
Stream #0.1 : Audio : [0][0][0][0] / 0x0000, 8000 Hz, mono
RTMP_ReadPacket, failed to read RTMP packet header
rtmp ://a.rtmp.youtube.com/live2p : Unknown error occurredAny hint, suggestions ?
I know very little about, video formats, codecs and streaming in general so any help is welcome. I would not mind using ffmpeg instead if anyone knows what command to issue. -
Writing metadata (Artist Name, Song Title, Year, Album, Duration, Genre) to mp3/m4a audio file using youtube-dl (subsequent AtomicParsely error)
10 décembre 2016, par IRNotSmartI am extracting audio only from youtube videos using
youtube-dl
. I would like to write the metadata (i.e. Artist Name and Song Title, Year, Album, Duration, Genre) into the mp3/m4a file after downloading. My attempt to accomplish this starts with this code :@echo off
youtube-dl --format m4a/mp3 --youtube-skip-dash-manifest --embed-thumbnail -o "%%(title)s.%%(ext)s" --metadata-from-title "%%(artist)s - %%(title)s" --add-metadata 2Y6Nne8RvaA
pauseThis code produces the following output :
[youtube] 2Y6Nne8RvaA: Downloading webpage
[youtube] 2Y6Nne8RvaA: Extracting video information
[youtube] 2Y6Nne8RvaA: Downloading thumbnail ...
[youtube] 2Y6Nne8RvaA: Writing thumbnail to: Kungs vs Cookin' on 3 Burners - Thi
s Girl.jpg
[download] Destination: Kungs vs Cookin' on 3 Burners - This Girl.m4a
[download] 100% of 2.99MiB in 00:01
[ffmpeg] Correcting container in "Kungs vs Cookin' on 3 Burners - This Girl.m4a"
[fromtitle] parsed title: This Girl
[fromtitle] parsed artist: Kungs vs Cookin' on 3 Burners
[ffmpeg] Adding metadata to 'Kungs vs Cookin' on 3 Burners - This Girl.m4a'
ERROR: AtomicParsley was not found. Please install.
Press any key to continue . . .As you can see, I am able to successfully able to add a few of the tags from the video, but not all of them and the Year is royally screwed up.
What is this
AtomicParsely
error and how do I remedy it ? Do I need this program to correctly add all the Metadata to the file that I want, or can this be accomplished in another way ?Referencing Steven Penny’s post, FFmpeg metadata not showing in Windows ?, is solving this problem as simple as using an
ffmpeg
command ?When I do a google search for this song, the first link that shows is the exact link I’m using on YouTube, and the search shows pertinent metadata (see below). I’m not sure if this data is input manually by users, or if Google mined this from the video :
I admit that I’m new to using
youtube-dl
andffmpeg
, but with the help of the commenters on StackOverflow, I’m learning more each day. This post is a follow-up to my previous question : Downloading YouTube to mp3 and writing metadata (artist/song title) to mp3 file using youtube-dl