Recherche avancée

Médias (0)

Mot : - Tags -/clipboard

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

Autres articles (73)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (5908)

  • FFmpeg installation on the server of my web hosting [on hold]

    23 octobre 2017, par Khalid Askia

    On my website I allow users to upload any format of videos but with HTML 5 video tag only mp4 can be played. I have heard about FFmpeg and that it can convert all formats into mp4. But I have no idea on how to install it. I have root access to my server.

    Please help

  • FFmpeg does not download hls stream

    26 juillet 2020, par mrlucasrib

    I am trying to download a video from an m3u8 file. I used the chrome dev tools network analyzer and copied the address from the m3u8 file.

    


    #EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:6
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=AES-128,URI="key://pi1CcgormCfrBeHFonx1SjYyNREActOy9x5fdSmTcQ74q9gDltGOMVTb2KT7jebRYJNU9skhE1wPp3VBgsIQhutzL9nlU7CwifAHVRX63E8abzo+8daPodXlUvN8qlXDKE8I2w37kc+UqyTG86U3Kg==",IV=0x157c77a2bc4ce357dfb893e2c01f8561
#EXTINF:6.0000,
https://contentplayer.website.com/video/4vqnGjj0L3/hls/360/segment-0.ts
....
#EXTINF:1.0667,
https://contentplayer.website.com/video/4vqnGjj0L3/hls/360/segment-219.ts
#EXT-X-ENDLIST 


    


    So I put in ffmpeg and got a 403 forbidden error

    


    [https @ 0x55c2fae84d80] HTTP error 403 Forbidden
[crypto @ 0x55c2fb11ebc0] Unable to open resource: https://contentplayer.website.com/video/4vqnGjj0L3/hls/540/segment-1.ts
[hls @ 0x55c2fae807c0] Failed to open segment 1 of playlist 0
...


    


    I thought it could be because of some missing http header, so I copied the cURL command from devtools. (I copied from the request of a segment, in which I had the cloudfront authorization key)

    


    I took all the headers from cURL and added them to ffmpeg.

    


    ffmpeg -allowed_extensions ALL -headers 'User-Agent: ...'
-headers 'Accept: */*' 
-headers 'Accept-Language: ...' 
-headers 'Referer: https://player....com/' 
-headers 'Origin: https://player....com' 
-headers 'Connection: keep-alive'
-headers 'Cookie: CloudFront-Policy=..; CloudFront-Signature=...; CloudFront-Key-Pair-Id=..; hotid=..; hmVlcIntegration=..' -headers 'Pragma: no-cache' -headers 'Cache-Control: no-cache' -headers 'TE: Trailers' 
-protocol_whitelist file,crypto,https,tcp,tls -i esse.m3u8  -map 0 -c copy output.mkv  -i link.m3u8  -map 0 -c copy output.mkv


    


    However, I still receive the 403 forbidden error. When I execute the cURL command it downloads the contents of the fragment. My hypothesis was that because it is about HTTP2 the headers were not sent after the first connection, but all the important headers were added.
other ways of doing this process are also welcome

    


  • ffmpeg frame->pts out-of-order when decode hevc

    23 octobre 2023, par ValiantHeart

    I try to set pkt->pts to 0,1,2,3,4,5,6,
but the frame->pts received is 0,1,4,5,3,6,2 where the pict_type was I, I, B, B, B, B, P.

    


    int num = 0;
pkt->pts = num++;
avcodec_send_packet(dec_ctx, pkt);
avcodec_receive_frame(dec_ctx, frame); 


    


    I tried to read h264 file, it is correct ; and I tried to use official 'decode_video.c', it's still incorrect in hevc.

    


    Why the frame->pts is not 0,1,2,3,4,5,6 ?