Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

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

Autres articles (100)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (9688)

  • mpegtsenc : Add support for muxing Opus in MPEG-TS

    5 novembre 2015, par Sebastian Dröge
    mpegtsenc : Add support for muxing Opus in MPEG-TS
    

    Signed-off-by : Sebastian Dröge <sebastian@centricular.com>
    Previous version reviewed-by : Kieran Kunhya <kierank@obe.tv>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/mpegtsenc.c
  • ffmpeg demux concat video output blinks/stuttering between joined clips

    11 juin 2024, par hieroshima

    I'm experiencing a strange issue with FFmpeg after partially joining a few MP4 clips into one output file (output.mp4). The problem is that the video between clips randomly blinks or stutters, showing frames from the previous scene in the next scene. This happens in a completely random manner.

    &#xA;

    All my MP4 clips have the same FPS, TBR, and TBN values, except for the bitrate (bolded below), which varies for each clip. These clips were prepared and encoded using AWS MediaConvert to ensure they have consistent parameters.

    &#xA;

    Here’s the ffprobe result for one of the clips :

    &#xA;

    Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661),&#xA;yuv420p(progressive), 640x360 [SAR 1:1 DAR 16:9], **84 kb/s**, 29.97 fps,&#xA;29.97 tbr, 30k tbn (default)&#xA;

    &#xA;

    Below is my input.txt file for concatenation :

    &#xA;

    file &#x27;clip1_360.mp4&#x27; &#xA;outpoint 00:00:04.00&#xA;file &#x27;clip2_360.mp4&#x27; &#xA;outpoint 00:00:03.00&#xA;file &#x27;clip3_360.mp4&#x27; &#xA;outpoint 00:00:04.00&#xA;

    &#xA;

    The FFmpeg command I'm using to concatenate the clips is :

    &#xA;

    ffmpeg -y -f concat -safe 0 -protocol_whitelist&#xA;file,http,https,tcp,tls -fflags &#x2B;igndts -i input.txt -c copy output/output.mp4&#xA;

    &#xA;

    I use the -fflags +igndts flag because I receive warnings about non-monotonic DTS. I’m employing the concat demuxer to avoid re-encoding the video, as the time required to generate the output is crucial. This is why I have prepared and encoded all clips in advance to have consistent values.

    &#xA;

    Here is screen recording from my video player to see this problem :

    &#xA;

    https://youtu.be/SfWnCbMeOfw

    &#xA;

    Any assistance or suggestions on how to resolve this issue would be greatly appreciated. Because I don't have any more idea what I can do with this. If you need some more details which I didn't provide, please let me know.

    &#xA;

  • OpenCV reading from live camera creates a short video that moves quickly

    17 novembre 2022, par user19019404

    I am reading in a live vide stream from a CCTV camera. The camera is set to 5 fps, another is set to 25fps and another to 30fps. Irrespective of the FPS that the camera is set, I can record 5 minutes but end up with a 30 second recorded clip where everyone is running around the scene.

    &#xA;

    My code is the 'typical' read in video and write video code that you would find online such as (code below simplified for readability) :

    &#xA;

    import cv2&#xA;&#xA;video = cv2.VideoCapture(live RTSP address of camera)&#xA;&#xA;if (video.isOpened() == False):&#xA;    print("Error reading video file")&#xA;else:&#xA;    frame_width = video.get(cv2.CAP_PROP_FRAME_WIDTH)&#xA;    frame_height = video.get(cv2.CAP_PROP_FRAME_HEIGHT)&#xA;    frame_fps = video.get(cv2.CAP_PROP_FPS)&#xA;    size = (frame_width, frame_height)&#xA;    result = cv2.VideoWriter(&#x27;filename.avi&#x27;,cv2.VideoWriter_fourcc(*&#x27;MJPG&#x27;),frame_fps , size)&#xA;&#xA;    while(True):&#xA;        ret, frame = video.read()&#xA;        if ret == True:&#xA;            result.write(frame)&#xA;            cv2.imshow(&#x27;Frame&#x27;, frame)&#xA;        if cv2.waitKey(1) &amp; 0xFF == ord(&#x27;s&#x27;):&#xA;            break&#xA;        else:&#xA;            break&#xA;    video.release()&#xA;    result.release()&#xA;    cv2.destroyAllWindows()&#xA;print("The video was successfully saved with new fps")&#xA;

    &#xA;

    I have tried playing with the FPS by reading in the FPS from the live camera and using the same FPS in the video write, but all that results is a video that is a fraction of the real time and with people zooming around the scene. So watching a 5 minute smooth video results in a 20 second recorded video with everyone zooming around.

    &#xA;

    Is this something that I need to fix in the writing of the video or do I need a second pass with ffmpeg to readjust the video ?

    &#xA;

    Much appreciated

    &#xA;

    Update, corrected the code above and :&#xA;When printing the frames read and the frame written the numbers are the same, showing that each frame that is read is being written (so I am not losing frames along the way thereby writing half the amount of frames).

    &#xA;