Recherche avancée

Médias (1)

Mot : - Tags -/musée

Autres articles (84)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

Sur d’autres sites (11637)

  • Trouble trimming video by frame number with ffmpeg

    8 décembre 2023, par jgore200377

    I want to trim/split a video with ffmpeg using frames. The reason why is because I am using a Shot Transition Detection model which returns a probability of transition for every frame in the video.

    


    Using timestamps to cut the video has yielded bad results as the precision is not 100%.

    


    Ive tried this command which just outputs the entire video which is DEFINITELY not what I want

    


    ffmpeg -i video.mp4 -vf "trim=start_frame=100:end_frame=200,setpts=PTS-STARTPTS" -c:a copy output.mp4


    


    Ive also tried using python bindings with ffmpeg-python

    


    import ffmpeg

input_file = ffmpeg.input('video.mp4')
output_file = ffmpeg.output(input_file.trim(start_frame=1300, end_frame=1500), 'test_output.mp4')
ffmpeg.run(output_file)


    


    This doesnt work either and outputs a video with half of it being still with unpredictable length

    



    


    Ive visited some other sites but none seem to have this nailed down and it would be much appreciated if someone can answer how to use frames to trim/split a video with ffmpeg.

    


  • FFMpegm. Unable to get video stream from a onvif camera

    15 avril 2018, par Denis Gottardello

    I have implemented ffmpeg in my own application to watch live video from video cameras.
    I have tested my application with 2 models of onvif camera and the application works perfectly.
    The customer has got another model of video cameram still onvif h264 but I can’t watch the live stream.
    I can wath it using vlc but when I try to watch it with my application I obtain the following error :

    Input #0, rtsp, from 'rtsp://admin:admin@172.30.153.33:554/1':
     Metadata:
       title           : h264.mp4
     Duration: N/A, bitrate: 64 kb/s
       Stream #0:0: Video: h264, none, 90k tbr, 90k tbn, 180k tbc
       Stream #0:1: Audio: pcm_mulaw, 8000 Hz, 1 channels, s16, 64 kb/s
    [rtsp @ 0x7f86b8004e00] UDP timeout, retrying with TCP
    [rtsp @ 0x7f86b8004e00] method PAUSE failed: 455 Method Not Valid In This State
    [rtsp @ 0x7f86b8005000] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options

    I have already tried to modify analyzeduration and probesize without any good result.

    How to resolve this error ?
    Could it be caused by a not up-to-date h264 library ?

  • Cannot find a proper format for codec ‘h264’ (id 28), pixel format ‘none’

    20 avril 2022, par 이중범

    I downloaded jocover’s git hub ffmpeg and compiled it to stream the video to the web on the Jetsonano board
However, i tried

    


    ffmpeg -c:vh264_nvmpi -i /dev/video -f null -


    


    


    Cannot find a proper format for codec ‘h264’ (id 28), pixel format
‘none’ (id-1)

    


    Assertion *codec_id != AV_CODEC_ID_NONE failed at
src/libavdevice/v4l2.c:811

    


    


    I got this error

    


    and I tried ./ffmpeg -encoders |grep 264

    


    As a result of this console, the output is as follows :

    


    


    v… h264_nvmpi nvmpi H.264 encoder wrapper (codec h264)

    


    


    


    v… h264_v4l2m2m V4L2 mem2mem H.264 encoder wrapper (codec h264)

    


    


    


    v… h264_vaapi H.264/AVC (VAAPI) (codec h264)

    


    


    The camera specs are like this maybe Sony IMX219, a model called Raspberry Pi Camera Module V2

    


    


    ioctl : VIDIOC_ENUM_FMT

    


    Index : 0

    


    Type : Video Capture

    


    Pixel Format : ‘RG10’

    


    Name : 10-bit Bayer RGRG/GBGB

    


    


    I’d really appreciate your help

    


    thx