
Recherche avancée
Autres articles (65)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)
Sur d’autres sites (6198)
-
Rework pixel_var2
1er mai 2017, par Henrik GramnerRework pixel_var2
The functions are only ever called with pointers to fenc and fdec and the
strides are always constant so there's no point in having them as parameters.Cover both the U and V planes in a single function call. This is more
efficient with SIMD, especially with the wider vectors provided by AVX2 and
AVX-512, even when accounting for losing the possibility of early termination.Drop the MMX and XOP implementations, update the rest of the x86 assembly
to match the new behavior. Also enable high bit-depth in the AVX2 version.Comment out the ARM, AARCH64, and MIPS MSA assembly for now.
-
How to secure a stream with ffmpeg ?
16 mai 2017, par true_glerI am trying to grep the video singal of my screen (client) and send it over the network encrypted to a second device (server) with ffmpeg.
The server then should decrypt the stream and display it, for example, with ffplay. All this should happen with an adequate latency and quality.
As I read in the ffmpeg documentation, I have several possibilities to achieve this. So I took an eye on :
- AES - Symmetric encryption - srtp protocol
- Certificates - tls
1) SRTP
Client serves the video :ffmpeg -r 60 -f x11grab -s 1920x1080 -i :0.0 -c:v libx264 -b:v 4000k -
minrate 4000k -maxrate 4000k -bufsize 4000k -pix_fmt yuv420p -preset
veryfast -tune zerolatency -bsf:v h264_mp4toannexb -f rtp_mpegts -
srtp_out_suite AES_CM_128_HMAC_SHA1_80 -srtp_out_params
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz "srtp://localhost:8888?
pkt_size=4000"Server displays it :
ffplay -srtp_in_suite AES_CM_128_HMAC_SHA1_80 -srtp_in_params
zzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz srtp://localhost:8888First I get some errors :
Last message repeated 1 times
[h264 @ 0x7fad380303a0] decode_slice_header error
[h264 @ 0x7fad380303a0] non-existing PPS 0 referenced
[h264 @ 0x7fad380303a0] decode_slice_header error
[h264 @ 0x7fad380303a0] non-existing PPS 0 referenced
[h264 @ 0x7fad380303a0] decode_slice_header error
[h264 @ 0x7fad380303a0] non-existing PPS 0 referenced
[h264 @ 0x7fad380303a0] decode_slice_header error
[h264 @ 0x7fad380303a0] no frame!
[h264 @ 0x7fad380303a0] non-existing PPS 0 referencedBut then this works. The quality is good but sometimes artifacts occur (blurred sections). Maybe thats because of the ecryption...
Q : Some improvements to remove the artifacts ?!
2) TLS using self signed certificates
The client sends the videos capture :
sudo ffmpeg -r 60 -f x11grab -s 1920x1080 -i :0.0 -c:v libx264 -b:v 4000k
-minrate 4000k -maxrate 4000k -bufsize 1835k -pix_fmt yuv420p -preset
veryfast -tune zerolatency -bsf:v h264_mp4toannexb -f mpegts
"tls://somehost:8888?listen&cert=server-cert.pem&key=server-
privatekey.pem&tls_verify=1"And server displays it :
sudo ffplay -f mpegts "tls://localhost:8888"
This all works fine with good quality and latency when I play it on the same device, also no artifacts. When I send it over network, there is a huge delay and it seems like the server has to receive the "whole picture" to display it, is there a way to truely stream the transmission without delay... But how do i verify the stream ?
Q : Is there another working way to encrypt ffmpeg streams ?
PS : It will also help me, if you post some of your ffmpeg configurations used for lifestream.
Thank you in advance !
-
Adding metadata with images to audio files using ffmpeg
8 mai 2017, par Padam SethiaUPDATE :
Not able to embed artwork to audio file , here my command :
ffmpeg -i ./tmp/Feeling_Good.mp3 -i './tmp/artwork/default.png' -map 0 -map 1 -c copy -codec -id3v2_version 3 -metadata title='Feeling Good' -metadata TPE1='Gryffin' -metadata TPE2='Gryffin' -metadata album='' -metadata genre=' ' ./tmp/fumen_Feeling_Good.mp3
ERROR :
[NULL @ 0x106b0e0] Unable to find a suitable output format for '3'
3: Invalid argumentI want to add album art and meta data at one go to audio files , I have tried this command , but it doesn’t seem to work moreover it creates an empty file.
Here’s my command :ffmpeg -loglevel quiet -i ./tmp/Heres_to_never_growing_up.mp3 -i ./tmp/artwork/default.png -codec copy -id3v2_version 3 -metadata title='Heres to never growing up' -metadata TPE1='Avril Lavigne' -metadata TPE2='Avril Lavigne' -metadata comment='Cover (Front)' -metadata album='unnamed' -metadata genre='unnamed' ./tmp/Heres_to_never_growing_up.mp3