Recherche avancée

Médias (0)

Mot : - Tags -/serveur

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

Autres articles (78)

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

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (4819)

  • FFmpeg - video frame cropped after rotating video ?

    20 juin 2021, par Md Yeamin

    I am using following command to rotate video :

    


    ffmpeg -i input.mp4 -c:v h264 -vf rotate=PI/2 -c:a copy output.mp4


    


    After processing the video, the frame get cropped. Please see the attached screenshot of the video for reference.

    


    Screenshot of original video
screenshot of original video

    


    Screenshot of rotated video
screenshot of rotated video

    


  • Extracting parts of video and make a new video with them [on hold]

    13 février 2014, par Filippo

    I need to extract parts of a video and make a video (in order to make a summary).
    My videos are mostly mpg, sometimes avi.

    I'm using ffmpeg to do it :

    Extraction : ffmpeg -ss XX -t XX -i video.mpg -vcodec copy -acodec copy partX.mpg

    Concatenation : ffmpeg -i concat:part1.mpg|part2.mpg|... -vcodec copy -acodec copy summary.mpg

    I have two problems :

    • ffmpeg only let me set position by time reference and not by frame number. I will prefere to set it by frame number, but it's not a big deal
    • the resulting video is...bad. The transitions between extracted parts are not smooth at all.

    What is the best way to do that ?
    I guess I need some kind of non-linear editing library : gnonlin, gtreamer-editing-services (but no package for Fedora 16 ?), MLT...

    But how I can do that easily ? (in preference in python)

    I can't find any good example.

    Thanks.

  • MP4 cut with ffmpeg doesn't play nicely in VLC but does in Browser

    21 février, par Alex

    I cut a video with ffmpeg :

    


    ffmpeg -ss 2 -to 10 -i src.mp4 -c copy out.mp4


    


    But the playback in VLC is choppy for the first few seconds. Strangely it does play in my browser fine.

    


    I saw this post :
https://superuser.com/questions/1167958/video-cut-with-missing-frames-in-ffmpeg?newreg=1502e1698e0344acb214aa8d7e6048bd where the suggestion is to use -avoid_negative_ts make_zero. That does fix the playback in VLC. I think that shifts the whole stream, and results in the video being longer than I want it to be.

    


    For my use case I need the video to be precisely the correct length and I can't incur the cost of a (full) re-encode. I think the addition of -avoid_negative_ts is effectively snapping the cut to the nearest keyframe.

    


    So I think the negative timestamps are upsetting VLC ? I can see they exist.

    


    $ ffprobe -v error -select_streams v:0  -of  default=noprint_wrappers=1 out.mp4 -show_entries packet=pts | head
pts=-30720
pts=-30464
pts=-30208
pts=-29952


    


    I also tried with a few other media players (Films & TV in Windows) and had similar issues. Is there a better way to handle this, in a way that will allow the output video to be played normally ?

    


    I saw the approach in this question : Cut a video in between key frames without re-encoding the full video using ffpmeg ?. But had issues with "Non-monotonous DTS" that also seemed to manifest in choppy playback.