Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (69)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

Sur d’autres sites (7894)

  • vp9lpf/x86 : save one register in loopfilter surface coverage.

    20 décembre 2014, par Ronald S. Bultje
    vp9lpf/x86 : save one register in loopfilter surface coverage.
    

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavcodec/x86/vp9lpf.asm
  • Save generated image to ImageField model Django

    7 janvier 2023, par MrLonely
    &#xA;

    Detected path traversal attempt in '/home/mrlonely/Desktop/lumen/lumen/media/thumbnail/6.jpeg'

    &#xA;

    &#xA;

    When i run this in the views.py :

    &#xA;

    def generate_thumbnail(instance):&#xA;   post = Post.objects.get(pk=instance.pk)&#xA;   output = &#x27;media/thumbnail/&#x27; &#x2B; post.title &#x2B; &#x27;.jpeg&#x27;&#xA;   filename_thumbnail = Path.joinpath(filename, output)  &#xA;   try:&#xA;      (&#xA;            ffmpeg&#xA;            .input(str(filename)&#x2B;post.video.url, ss=&#x27;00:00:20&#x27;)&#xA;            .output(output, vframes=1)&#xA;            .overwrite_output()&#xA;            .run(capture_stdout=True, capture_stderr=True)&#xA;        )&#xA;      with open(filename_thumbnail, &#x27;rb&#x27;) as file_handler:&#xA;         django_file = File(file_handler)&#xA;         post.thumbnail.save(filename_thumbnail, &#x27;thumbnail/&#x27;)&#xA;   except ffmpeg.Error as e:&#xA;        print(e.stderr.decode(), file=sys.stderr)&#xA;        sys.exit(1)&#xA;

    &#xA;

    I am trying to connect the ffmpeg generated thumbnail to the model ImageField on the Post model (instance is post)

    &#xA;

  • How to convert a CCTV footage into time lapse video by cutting parts of the video by a set interval on FFMPEG [duplicate]

    2 décembre 2020, par mark

    I have bunch of CCTV footages and I want it to look like it was recorded from a time lapse camera. One video file is around 3 hours long capturing scenes in real time (from 1pm-3pm for example). And in one day, I'll get around 8 footages (8files * 3hours = 24hours = 1 day)

    &#xA;

    I want to convert those 24hours worth of footages to 1min making 1 day = 1min of video not just making it fast but actually cutting some of the scenes by a set interval. Usually, a time lapse camera has an interval of one photo per 10 min and at the end of the day, it will stitch them into one video. How can I do something like that on FFMPEG ?

    &#xA;

    I'm using FFmpeg Batch converter and here's my code so far. It just makes my videos faster but not cutting it into itervals

    &#xA;

    -filter:v "setpts=0.25*PTS" -an&#xA;

    &#xA;

    I ended up with this code :

    &#xA;

    -vf framestep=25,select=&#x27;not(mod(n,1000))&#x27;,setpts=N/FRAME_RATE/TB -an&#xA;

    &#xA;

    The above code will make a 1hr long video into 4sec which is perfect for my needs.

    &#xA;