Recherche avancée

Médias (1)

Mot : - Tags -/book

Autres articles (80)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (6046)

  • ffmpeg - live video from rtsp with mp4 fragmented

    2 avril 2022, par Play_it

    I have the following setup :

    


      

    • Raspberry 4B (4GB RAM)
    • 


    • Raspbian 10 (buster)
    • 


    • ffmpeg 4.1.6
    • 


    


    What I want to try :

    


    I want to make a one-to-one video stream from a RTSP stream to my browser, without saving files (like .ts or .m3u), but just push the raw mp4 stream over the network in a HTML5 video tag.

    


    I had already some successes, but it was never a smooth or good video stream, but always stopped and continued.

    


    I used PHP passthru() function to call ffmpeg and i piped the video stream on the end

    


    Here are some attempts :

    


    header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0");
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache");
header("Accept-Ranges: bytes");
header("Connection: keep-alive");

passthru("ffmpeg -rtsp_transport tcp -i \"rtsp://192.168.0.1:554/livestream/12\" -c:v copy -b:v 2M -movflags frag_keyframe+empty_moov -f mp4 pipe:");

passthru("ffmpeg -rtsp_transport tcp -i \"rtsp://192.168.0.1:554/livestream/12\" -b 1024k -minrate 1024k -bufsize 2048k -r 20 -movflags frag_keyframe+empty_moov -f mp4 pipe:");

passthru("ffmpeg -rtsp_transport tcp -i rtsp://192.168.0.1:554/livestream/12 -r 10 -t 60 -movflags frag_keyframe -f mp4 pipe:");


    


  • FFMPEG Re-muxing .MKV to MP4\MV4 while retaining Dolby Digital Plus [closed]

    30 décembre 2020, par David F

    I would be grateful if anyone could help me out here. I'm remuxing a large number of video files from .MKV to .MP4\M4V so they play on the Apple platform (including the TV App) without any issues. It has been a bit of a learning curve, but I’m so close now. It's important NOT to convert, but to remux.

    


    I have achieved the ability to remux 4K HDR with Dolby Digital Plus in a .MKV to 4K HDR with Dolby Digtial 5.1. MP4. The issue is retaining the Dolby Digital Plus. This contains the ATMOS information for object based sound.

    


    The media players on Apple reports Dolby Digital Plus for the .MKV and Dolby Digital 5.1 for .MP4

    


    I'm using FFMPEG with the following command :-

    


    ffmpeg -i original.mkv -c:v copy -c:a eac3 -tag:v hvc1 output.mp4

    


    Output from MediaInfo (note .MKV contains only 1 video and 1 audio track)

    


    Audio -----Original.mkv

    


      

    • ID : 2
    • 


    • Format : E-AC-3 JOC
    • 


    • Format/Info : Enhanced AC-3 with Joint
Object Coding
    • 


    • Commercial name : Dolby Digital Plus with Dolby
Atmos
    • 


    • Codec ID : **A_**EAC3
    • 


    • Duration : 51 min 51 s
    • 


    • Bit rate mode : Constant
    • 


    


    Audio ----- Remuxed .mp4

    


      

    • ID : 2
    • 


    • Format : E-AC-3
    • 


    • Format/Info : Enhanced AC-3
    • 


    • Commercial name : Dolby Digital Plus
    • 


    • Codec ID : ec-3
    • 


    • Duration : 51 min 51 s
    • 


    • Bit rate mode : Constant
    • 


    


    The remux operation finished in about 1 minute for a 8Gb 4k video file, so we I know there is no reencoding. My theory is the stream is still a E-AC-3 with Joint Object Control, but its marked as a E-AC-3.

    


    I can see that .mp4 can take E-AC-3 Joint Object Control (JOC) with the demo files from Dolby labs.

    


    I've also remuxed an MKV to MKV and able to see the same result. The JOC markings have been removed with FFMPEG

    


    My ask is, does anyone have any knowledge of how to remux and keep Enhanced AC-3 with Joint Object Control with FFMPEG. Does FFMPEG support this ?

    


    Or know if just editing the Format, Format/Info, and Code ID is enough and the sound information in my .MP4\M4V is E-AC-3 JOC. If so can I just edit the media info, if so how ?

    


    I know Dolby Labs to allow free remuxing of Dolby Digital Plus/ Atmos with sample code and information they have uploaded onto Github for developers. I just wonder if FFMPEG supports it

    


    Thanks in advanced.

    


    David

    


  • Evolution #3865 (En cours) : URL ressources + compression CSS -> Cross-Origin Request Blocked

    24 novembre 2016, par denis -

    En ajoutant une URL ressouces, l’affichage des police ne fonctionne plus. Firebug me dit "Cross-Origin Request Blocked : The Same Origin Policy disallows reading the remote resource at http://medias.nova-cinema.org/squelettes/css/font-osp-din/osp-din-webfont.woff. (Reason : CORS header ’Access-Control-Allow-Origin’ missing)."

    Le problème se règle en rajoutant Header set Access-Control-Allow-Origin "*" dans le .htaccess comme indiqué ici http://connect.adfab.fr/developpement-front/utiliser-tous-les-verbes-http-avec-cors