Advanced search

Medias (91)

Other articles (59)

  • Le profil des utilisateurs

    12 April 2011, by

    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 November 2010, by

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

  • XMP PHP

    13 May 2011, by

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

On other websites (4562)

  • Encryption of OpenCV VideoWriter output

    19 June 2017, by Aryan

    In an embedded project I was using opencv cv::VideoWriter to store frames as video files, also utilising lossless compression codecs (e.g.Lagarith). Now I have the requirement to encrypt the video files before storing them.

    1. Is it possible to get the encoded output from cv::VideoWriter so that an encryption step can be applied before writing the frame to disk?

    2. Alternatively, is it possible to make cv::VideoWriter output to a custom output stream? That way encryption steps can be applied on the stream.

    3. If neither of above is possible then is there an alternative to cv::VideoWriter that I can use to get the video format encoding done?

    The end requirement is to write encrypted files which, after only a decryption step, become video files compatible with standard video players.

  • How to stitch(concat) two transport stream with two different resolution and I-frame slices format without loosing resolution and slices information

    2 October 2019, by ART

    I have been trying to test a use case with steam captured from multimedia device and that didn't work. And then I have been trying to create this specific transport stream for like two days now without success, so requesting some help.

    



    I need to create transport stream with two different resolution and two different slicing format.

    



    I divided the task in following steps and in last two steps I need help.

    



    Step 1 : Download sample video with resolution : 1920x1080.
    
 I downloaded big buck bunny mp4 .

    



    Step 2 : Create transport stream with following
    
resolution : 1920x720, H264 I frame slices per frame: 1
    
I used following ffmpeg commands to do that.

    



    #Rename file to input.mp4
$ mv bbb_sunflower_1080p_30fps_normal.mp4 input.mp4
#Extract transport stream
$ ffmpeg -i input.mp4 -c copy first.ts


    



    first.ts is having 1980x720 resolution and one H264 I slice per frame.

    



    Step 3 : Create another transport stream with smaller resolution using following commands

    



    #Get mp4 with lower resolution.
$ ffmpeg -i input.mp4 -s 640x480 temp.mp4
#Extract trans port stream from mp4
$ ffmpeg -i temp.mp4 -c copy low_r.ts


    



    Step 4 : Edit(and re-encode?) low_r.ts to have two H264 I frame slices.
I used following command to achieve it.

    



    $ x264 --slices 4 low_r.ts -o second.ts


    



    However when I play this second.ts on vlc using following command it doesn't play

    



    $ vlc ./second.ts 


    



    And using Elacard StreamEye software when I analyze the transport stream I see that it has 4 H264 I slices in only two times other than that lot of H264 p slices and H264 B slices. 
Need help here to figure out why second.ts doesn't play and why slicing is not correct.

    



    Step 5 : Combine both the transport stream without loosing resolution and slicing information.
Don't know command for this. Need help here.
I tried ffmpeg but that combines two stream with different resolution and makes one file with one resolution.

    



    Any suggestions/pointers would help me proceed. Let me also know if any of the above steps are not fine too.

    


  • How to stitch(concat) two transport stream with two different resolution and I-frame slices format without loosing resolution and slices information

    2 October 2019, by AnkurTank

    I have been trying to test a use case with steam captured from multimedia device and that didn’t work. And then I have been trying to create this specific transport stream for like two days now without success, so requesting some help.

    I need to create transport stream with two different resolution and two different slicing format.

    I divided the task in following steps and in last two steps I need help.

    Step 1 : Download sample video with resolution : 1920x1080.
    I downloaded big buck bunny mp4 .

    Step 2 : Create transport stream with following
    resolution : 1920x720, H264 I frame slices per frame: 1
    I used following ffmpeg commands to do that.

    #Rename file to input.mp4
    $ mv bbb_sunflower_1080p_30fps_normal.mp4 input.mp4
    #Extract transport stream
    $ ffmpeg -i input.mp4 -c copy first.ts

    first.ts is having 1980x720 resolution and one H264 I slice per frame.

    Step 3 : Create another transport stream with smaller resolution using following commands

    #Get mp4 with lower resolution.
    $ ffmpeg -i input.mp4 -s 640x480 temp.mp4
    #Extract trans port stream from mp4
    $ ffmpeg -i temp.mp4 -c copy low_r.ts

    Step 4 : Edit(and re-encode?) low_r.ts to have two H264 I frame slices.
    I used following command to achieve it.

    $ x264 --slices 4 low_r.ts -o second.ts

    However when I play this second.ts on vlc using following command it doesn’t play

    $ vlc ./second.ts

    And using Elacard StreamEye software when I analyze the transport stream I see that it has 4 H264 I slices in only two times other than that lot of H264 p slices and H264 B slices.
    Need help here to figure out why second.ts doesn’t play and why slicing is not correct.

    Step 5 : Combine both the transport stream without loosing resolution and slicing information.
    Don’t know command for this. Need help here.
    I tried ffmpeg but that combines two stream with different resolution and makes one file with one resolution.

    Any suggestions/pointers would help me proceed. Let me also know if any of the above steps are not fine too.