Recherche avancée

Médias (1)

Mot : - Tags -/Christian Nold

Autres articles (36)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

Sur d’autres sites (7167)

  • 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 ?

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

    


  • Cocaine::CommandNotFoundError

    6 décembre 2018, par Haseeb Ahmad

    Using paperclip-ffmpeg for video uploading.

    When I upload it gives an error

    Cocaine::CommandNotFoundError (Cocaine::CommandNotFoundError):
    app/controllers/ads_controller.rb:27:in `create

    Cannot render console with content type multipart/form-dataAllowed content types: [#, #, #]

    My model is

    has_attached_file :videod, :styles => {
     :medium => { :geometry => "640x480", :format => 'flv' },
     :thumb => { :geometry => "100x100#", :format => 'jpg', :time => 10 }
    }, :processors => [:ffmpeg]
    validates_attachment_size :videod, :less_than => 100.megabytes
    validates_attachment_presence :videod
    validates_attachment_content_type :videod, :content_type => /\Avideo\/.*\Z/

    My Gemfile is

    gem "cocaine"
    gem 'paperclip-ffmpeg'