Recherche avancée

Médias (91)

Autres articles (69)

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

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • Le profil des utilisateurs

    12 avril 2011, par

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

Sur d’autres sites (5348)

  • ffmpeg progress is freezing frames when scene change

    19 août 2017, par Karol

    I’m capturing data from IP camera with RTSP protocol with ffmpeg with command :

    ffmpeg -rtsp_transport tcp -progress /media/kamip/stats.txt -i rtsp://192.168.1.220:554/live/h264/ch0
    -c:v copy -c:a copy -strict 1 -map 0 -f segment -strftime 1
    -segment_time 1800 /media/kamip/cam_%d_%m_%Y_%H_%M_%S.mkv

    I’m using this for 5 cameras. One is different type and it is in different location.
    Because ffmpeg does not support reconnect I’m writing status to /media/kamip/stats.txt file. In another script I’m parsing this output and every 30 seconds I’m checking if frame number changed, if yes - it is ok, if not, I’m restarting above command.

    The problem is only in the night. When is quite dark and suddenly lights on, for example when car is parking, the /media/kamip/stats.txt is showing the same frame number, so my script is recognizing this as a lost connection (video freeze)

    I tried "-strict 1" option and I think it is better (one false alarm per day instead of 10 per day), so I think this may be related to ffmpeg, not camera/video source, especially because the video is fine even frame number reported by ffmpeg is still the same. Also VLC does not have this kind of problem (but I cannot use it currently for this camera)

    I found that ffmpeg has build-in scene change detector, but it should works only when encoding video (I’m using "copy" option for audio and video) ?

    I’m thinking about different way of analyzing the video capturing, but this "-progress" in ffmpeg should works fine - and it is working fine for other cameras for few years).

    I also do not see any errors,
    when I encoded one cutted file with "-loglevel debug" I saw only information like below :

    [libx264 @ 0x25d77a0] scene cut at 174 Icost:2049115 Pcost:2006553
    ratio:0.0208 bias:0.1387 gop:54 (imb:3186 pmb:168)

    ffmpeg in latest version

    ffmpeg version 3.3.3-1ubuntu1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg developers
    built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609

    any help will be appreciated

  • Change video file used for saving in table

    9 août 2017, par CR7

    I am trying to convert uploaded video file to mp4 format. It is working properly. But after that in my DB, it is saving the old video file details instead of converted file. Also the converted file is saved in the uploaded video name and extension. I am using streamio-ffmpeg gem

    In my model I have the following code.

    mount_uploader :video, VideoUploader

    and in the video_uploader.rb

    require 'streamio-ffmpeg'

    class VideoUploader < CarrierWave::Uploader::Base
     process :encode_video

     def encode_video
       file = FFMPEG::Movie.new(current_path)      
       filename = "#{current_path.chomp(File.extname(current_path))}.mp4"
       file.transcode(filename)
       FileUtils.mv(filename, current_path)
     end  
    end

    How can I set the current_path file to the converted file path

  • ffmpeg yuvj422p color movie conversion avi2ogv

    28 juillet 2017, par 7Tonin

    While converting avi video to ogv, there is a color problem in output file.
    How can I solve this issue ?
    normal colors altered colors

    Actually a part of the problem is from the player - so weak question

    Command using ffmpeg-3.3.2-1.mga6.tainted :

    ffmpeg -i dscn0146.avi -pix_fmt yuv422p -s 640x480 dscn0146_hq.ogv -y

    And input metadata :

    Guessed Channel Layout for Input Stream #0.1 : mono
    Input #0, avi, from 'dscn0146.avi':
     Metadata:
       encoder         :
       maker           : NIKON
       model           : COOLPIX S3500
       creation_time   : 2017-07-22 12:09:06
     Duration: 00:00:07.33, start: 0.000000, bitrate: 11091 kb/s
       Stream #0:0: Video: mjpeg (MJPG / 0x47504A4D), yuvj422p(pc, bt470bg/unknown/unknown), 640x480, 10770 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc
       Stream #0:1: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 22050 Hz, mono, s16, 352 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mjpeg (native) -> theora (libtheora))
     Stream #0:1 -> #0:1 (pcm_s16le (native) -> vorbis (libvorbis))

    Processes normaly, but fires a warning :

    [swscaler @ 0xd3c3a0] deprecated pixel format used, make sure you did set range correctly

    Output metadata :

    Output #0, ogv, to 'dscn0146_hq.ogv':
     Metadata:
       model           : COOLPIX S3500
       maker           : NIKON
       encoder         : Lavf57.71.100
       Stream #0:0: Video: theora (libtheora), yuv422p(progressive), 640x480, q=2-31, 200 kb/s, 30 fps, 30 tbn, 30 tbc
       Metadata:
         encoder         : Lavc57.89.100 libtheora
         model           : COOLPIX S3500
         maker           : NIKON
       Stream #0:1: Audio: vorbis (libvorbis), 22050 Hz, mono, fltp
       Metadata:
         encoder         : Lavc57.89.100 libvorbis
         model           : COOLPIX S3500
         maker           : NIKON