
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (51)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
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 -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)
Sur d’autres sites (7799)
-
h264_omx = mostly black videos, libx264 too slow, audio slows everything down
11 août 2017, par Brendan GrantI’m attempting to port a live tv transcoding app from Windows (on .net core) to work on a Raspberry Pi 3.
Under the hood I uses ffmpeg to take in an mpeg2 stream from a local networked tv tuner and spit out a local HLS stream which is exposed via a custom http server.
FFmpeg on Linux is configured for build as following :
sudo ./configure --arch=armhf --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --enable-mmal --enable-omx --enable-omx-rpi
Seeing perf issues early on, I tried to boil it down to a simpler form and started using a VOB from a DVD (also mpeg2), take the following example :
ffmpeg -i VTS_01_2.VOB -c:a aac -c:v h264_omx -b:v 256k -hls_time 3 -hls_wrap 30 "/media/usb1/foo.m3u8"
Within a matter of seconds, this drops to not only under 30 FPS, but down to the low teens.
The following runs plenty fast, and is able to keep up when pointed to the tv stream... only all but the first ts file will end up being black (but with audio)... which it turns out the previous line also suffers from :
ffmpeg -i VTS_01_2.VOB -c:a copy -c:v h264_omx -b:v 256k -hls_time 3 -hls_wrap 30 "/media/usb1/foo.m3u8"
Aside from the oddity of my choice of audio codecs (ie accepting what is already there vs choosing something else) would so slow down the stream, I also discovered that in order to have visible video... I have to go without hardware assistance.
ffmpeg -i VTS_01_2.VOB -c:a aac -c:v libx264 -b:v 256k -hls_time 3 -hls_wrap 30 "/media/usb1/foo.m3u8"
and
ffmpeg -i VTS_01_2.VOB -c:a copy -c:v libx264 -b:v 256k -hls_time 3 -hls_wrap 30 "/media/usb1/foo.m3u8"
both turn out video which shows up... and with good audio, except both are too slow in terms of FPS to be able to keep up with a live tv stream.
Is there something I am missing here to be able to get ffmpeg to be able to handle turning an mpeg2 stream into an h.264 one... and have the resulting files have video ?
To save space here, I’ve put the console logs on pastebin.
h264_omx : https://pastebin.com/GK3zN4aB
libx264 : https://pastebin.com/uEdCwk47As I think about it more, the "[mpegts @ 0x2fe0be0] H.264 bitstream error, startcode missing, size 082 drop=0 speed=3.07x" error may be related, but when looking at a longer session we do not see them as regular (as I would think) to obliterate the entire video stream on later files whose sizes are inline with the first : https://pastebin.com/J1EzTqgK
-
Lightweight encoding method for RTSP stream ?
2 décembre 2020, par nukaboywhat i am trying to do is to save a RTSP-stream as a file with some text overlay (so
copy
is not an option) on a Raspberry Pi. I tried using FFMPEG, but even with ultrafast settings the CPU load is way too high. Is there a faster encoding method or a completely different approach that i am missing ?

ffmpeg -rtsp_transport tcp -i rtsp://x:y@ip/stream1 -vcodec libx264 -preset ultrafast -crf 0 -segment_time 3600 -t 3600 -f segment -y -strftime 1 -vf drawtext="fontcolor=white:fontsize=30:text='%{localtime}'",drawtext="fontcolor=white:fontsize=30:textfile=text.txt:x=600" /home/pi/NAS1/Elements/Videos/%Y-%m-%d_%H-%M-%S_file.mp4



-
ffmpeg or sox write text file with frequency response
12 décembre 2016, par espositoI need some command line for ffmpeg, sox or other that can write a text file with peak response frequency.
Actually I use these lines :
ffmpeg.exe -i input.flac -y -filter_complex ""[0:a]showfreqs=mode=line:colors=white|white:averaging=0:fscale=log,format=yuv420p[v]"" -map ""[v]"" -t 00:04:24 -filter:a ""atempo=2"" -r 1 -map 0:a out.mp4
ffmpeg.exe -i output.mp4 -y -ss 00:04:23 out.pngand this is the result :
http://www.pro-software.it/inglese.png
this is good for show graph but I need a numeric values. Example :
10 Hz = -5.0 dB
50 hz = -5.8 dB
1000 Hz = -9.7 dB
1100 Hz = -9.8 dB
There is a way to write a text file with numeric value like this ?