Recherche avancée

Médias (9)

Mot : - Tags -/soundtrack

Autres articles (99)

  • Qualité du média après traitement

    21 juin 2013, par

    Le bon réglage du logiciel qui traite les média est important pour un équilibre entre les partis ( bande passante de l’hébergeur, qualité du média pour le rédacteur et le visiteur, accessibilité pour le visiteur ). Comment régler la qualité de son média ?
    Plus la qualité du média est importante, plus la bande passante sera utilisée. Le visiteur avec une connexion internet à petit débit devra attendre plus longtemps. Inversement plus, la qualité du média est pauvre et donc le média devient dégradé voire (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (10527)

  • aarch64 : vp9 : loop filter : replace ’orr ; cbn ?z’ with ’adds ; b.{eq,ne} ;

    9 janvier 2017, par Janne Grunau
    aarch64 : vp9 : loop filter : replace ’orr ; cbn ?z’ with ’adds ; b.eq,ne ;
    

    The latter is 1 cycle faster on a cortex-53 and since the operands are
    bytewise (or larger) bitmask (impossible to overflow to zero) both are
    equivalent.

    This is cherrypicked from libav commit
    e7ae8f7a715843a5089d18e033afb3ee19ab3057.

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavcodec/aarch64/vp9lpf_neon.S
  • Coverting JPEG images or webcam stream to video using C language with ffmpeg wrapper or any othe way

    19 décembre 2016, par Chakri

    I’m writing a C program that access webcam using linux-v4l2 to record in a video file. I’m able to take jpeg pictures using v4l2 and libjpeg. Here is the part of code :

    int jpgfile;
    if((jpgfile = open("/tmp/myimage.jpeg", O_WRONLY | O_CREAT, 0660)) &lt; 0){
       perror("open");
       exit(1);
       }

    write(jpgfile, buffer, buf.length);
    close(jpgfile);

    I want to replace this peice of code to a ’equivalent video code’ or to convert that jpeg stream (or raw buffer stream) to a video file using libraries or through pipelining because writing to disk requires more cycles. I’ve come across ffmpeg wrappers like avcodec.h but they lack proper documentation.

    Please give me advice to convert to video file.

  • PEM key generation format encoding errors

    14 décembre 2016, par Joseph Wahba

    I extracted the private key from FFplay (FFMpeg streaming client) and I’m trying to do some experimentation and decrypt SSL traffic.

    This private key is a 256 string long.I would like to convert this private key in a string format to a compatible wireshark PEM key. If I try to upload this plain string key to wireshark I get this error message.

    ssl_load_key : can’t import pem data : ASN1 parser : Error in DER
    parsing.

    This error indicates that there is a problem with the key format.

    I’m following the wireshark tutorial on how to decrypt SSL traffic here.
    I tried the following conversion command in the key conversion section.

    openssl pkcs12 -nodes -in sslprivate.p12 -out newssl.pem

    and I got the following errors :

    140092441351832:error:0D0680A8:asn1 encoding
    routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1197 :

    140092441351832:error:0D07803A:asn1 encoding
    routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=PKCS12

    The content of the sslprivate.p12 is as follows :

    -----BEGIN RSA PRIVATE KEY-----
    976C18FCADC255B456564F74F3EEDA59D28AF6B744D743F2357BFD2404797EF896EF1A7C1CBEAAA3AB60AF3192D189CFF3F991C9CBBFD78119FCA2181384B94011943B6D6F289E1B708E2D1A0C7771169293F03DA27E561F15F16F0AC9BC858C77A80FA98FD088A23219D08BE6F165DE0B02034B18705829FAD0ACB26A5B75EF

    -----END RSA PRIVATE KEY-----

    I also get the same errors if I remove BEGIN/END RSA PRIVATE KEY

    I also tried the following : creating a .pem file and converting the 256 string to base64. Now the content is

    -----BEGIN RSA PRIVATE KEY----- OTc2QzE4RkNBREMyNTVCNDU2NTY0Rjc0RjNFRURBNTlEMjhBRjZCNzQ0RDc0M0YyMzU3QkZEMjQwNDc5N0VGODk2RUYxQTdDMUNCRUFBQTNBQjYwQUYzMTkyRDE4OUNGRjNGOTkxQzlDQkJGRDc4MTE5RkNBMjE4MTM4NEI5NDAxMTk0M0I2RDZGMjg5RTFCNzA4RTJEMUEwQzc3NzExNjkyOTNGMDNEQTI3RTU2MUYxNUYxNkYwQUM5QkM4NThDNzdBODBGQTk4RkQwODhBMjMyMTlEMDhCRTZGMTY1REUwQjAyMDM0QjE4NzA1ODI5RkFEMEFDQjI2QTVCNzVFRg0K

    -----END RSA PRIVATE KEY-----

    Afterwards, I tried to use openssl to generate the rsa equivalent key

    openssl rsa -in sslprivate.pem -out sslrsaprivate.pem

    But I am also receiving a lot of errors that I have tried to google and search but no clue either

    140045726959256:error:0D0680A8:asn1 encoding
    routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1197 :

    140045726959256:error:0D07803A:asn1 encoding
    routines:ASN1_ITEM_EX_D2I:nested asn1 error:tasn_dec.c:374:Type=RSA

    140045726959256:error:04093004:rsa routines:OLD_RSA_PRIV_DECODE:RSA
    lib:rsa_ameth.c:119 : 140045726959256:error:0D0680A8:asn1 encoding
    routines:ASN1_CHECK_TLEN:wrong tag:tasn_dec.c:1197 :

    140045726959256:error:0D07803A:asn1 encoding
    routines:ASN1_ITEM_EX_D2I:nested asn1
    error:tasn_dec.c:374:Type=PKCS8_PRIV_KEY_INFO

    140045726959256:error:0907B00D:PEM
    routines:PEM_READ_BIO_PRIVATEKEY:ASN1 lib:pem_pkey.c:141 :

    I’ve been researching for a while but I really have no clue and I appreciate your suggestions.