Recherche avancée

Médias (0)

Mot : - Tags -/performance

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (102)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Les sons

    15 mai 2013, par
  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

Sur d’autres sites (9385)

  • 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.