Recherche avancée

Médias (2)

Mot : - Tags -/doc2img

Autres articles (88)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

  • Emballe médias : à quoi cela sert ?

    4 février 2011, par

    Ce plugin vise à gérer des sites de mise en ligne de documents de tous types.
    Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;

Sur d’autres sites (11883)

  • ffmpeg segmentation filter don't works with strftime filename template

    24 juillet 2020, par Ksnadr Renderon

    I try to run ffmpeg with segment filter and timestamp filename template :

    


     ffmpeg -f v4l2 -framerate 30 -video_size 960x720 -i /dev/video0  -f segment  -segment_time 5  -reset_timestamps 1 -segment_format mp4 -strftime 1 out%Y-%m-%d_%H-%M-%S.mp4


    


    and i got error :

    


    Invalid segment filename template 'out%Y-%m-%d_%H-%M-%S.mp4'


    


    I have read a lot of posts and questions in the internet with the same arguments (after input, which is specific) and people says that this works. What wrong with my command ?

    


    UPD : add full ffmpeg log

    


    root@nanopiair:~# ffmpeg -f v4l2 -framerate 30 -video_size 960x720 -i /dev/video0  -f segment  -segment_time 5  -reset_timestamps 1 -segment_format mp4 -strftime 1 out%Y-%m-%d_%H-%M-%S.mp4
ffmpeg version git-2015-01-22-f86a076 Copyright (c) 2000-2014 the FFmpeg developers
  built on Jul 22 2020 12:02:39 with gcc 8 (Debian 8.3.0-6)
  configuration: --prefix=/usr --enable-nonfree --enable-gpl --enable-vdpau --enable-libx264 --enable-libv4l2 --enable-libfreetype --enable-libfontconfig --enable-libfribidi
  libavutil      54.  6.100 / 54.  6.100
  libavcodec     56.  0.101 / 56.  0.101
  libavformat    56.  2.100 / 56.  2.100
  libavdevice    56.  0.100 / 56.  0.100
  libavfilter     5.  0.102 /  5.  0.102
  libswscale      3.  0.100 /  3.  0.100
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  0.100 / 53.  0.100
Input #0, video4linux2,v4l2, from '/dev/video0':
  Duration: N/A, start: 2548.007454, bitrate: 248832 kb/s
    Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 960x720, 248832 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc
[libx264 @ 0x201bec0] using cpu capabilities: ARMv6 NEON
[libx264 @ 0x201bec0] profile High, level 3.1
[libx264 @ 0x201bec0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
[mp4 @ 0x2507bd0] Invalid segment filename template 'out%Y-%m-%d_%H-%M-%S.mp4'
Output #0, segment, to 'out%Y-%m-%d_%H-%M-%S.mp4':
  Metadata:
    encoder         : Lavf56.2.100
    Stream #0:0: Video: h264 (libx264), yuv420p, 960x720, q=-1--1, 30 fps, 30 tbn, 30 tbc
    Metadata:
      encoder         : Lavc56.0.101 libx264
Stream mapping:
  Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
Could not write header for output file #0 (incorrect codec parameters ?): Invalid argument


    


  • Windows 10 EV code signing no longer works on electron app

    23 février 2021, par SoOhNo

    I have an electron app. Pretty basic app. It doesn't use ffmpeg for anything it does play an mp3 chime from time to time. I build my app with electron-forge using squirrel format. I then sign it using the SafeNet Authentication app. It's always worked flawlessly.

    


    It's been a couple months since I last released a version. Only thing that has changed is some html ui updates within my electron app and of course lots of Windows 10 updates.

    


    My app builds fine using electron-forge, it installs and runs without issue. I then sign it like usual from the command line and SafeNet confirms it was signed. Right clicking on the file shows it has been signed by my organization. However, once I execute the signed app I get this error : "The code execution cannot proceed because ffmpeg.dll was not found. Reinstalling the program may fix this problem."

    


    Here is what I have tried so far :

    


      

    • Building/Signing on a different windows 10 machine.
    • 


    • Uninstall/Reinstall SafeNet.
    • 


    • Running signed .exe on a different Windows 10 instance
    • 


    • Building/Signing with a cmd session ran as administrator
    • 


    


    I am at a loss, why is it screaming about ffmpeg.dll which my app doesn't depend on ? Why only after the .exe has been signed do I get this error ?

    


    OS : Windows 10
    
Electron v7.3.2
    
Electron-Forge/cli v6.0.0-beta.47
    
SafeNet x64 v10.3

    


  • Why my ffmpeg command works only first several minutes ? [closed]

    2 mars, par О. Войтенко

    I have my own ffmpeg exec command in the docker for writing rtsp stream by motion detection and make segments every 60 sec. But This command detect correctly only first 1-2 minutes, and without any errors ffmpeg does not detect motion. I'm using the latest version ffmpeg.

    


    docker run -d -v /etc/localtime:/etc/localtime:ro \
-v /etc/timezone:/etc/timezone:ro \
--tmpfs /tmpfs:rw,noexec,nosuid,size=100M,mode=1777 \
-v /data/ARCHIVE:/ARCHIVE \
-e ARCHIVE_PATH="/ARCHIVE/Cam1" \
--restart=unless-stopped \
-d --name rec-Cam1 \
ffmpeg-recorder -loglevel debug -rtsp_transport udp \
-i rtsp://user:pass@1.2.3.4:554 \
-pix_fmt yuv420p -threads 4 -fflags +igndts+discardcorrupt \
-use_wallclock_as_timestamps 1 -fps_mode cfr \
-filter_complex "[0:v]split=2[full][motion];[motion]crop=1270:710:0:10,select='gt(scene, 0.01)'[detect];[full][detect]overlay=0:10[output];" \
-map "[output]" \
-r 10 \
-c:v h264 \
-b:v 500k \
-maxrate 1000k \
-crf 20 \
-preset veryslow \
-f segment \
-segment_time 60 \
-reset_timestamps 1 \
-strftime 1 \
-reconnect_at_eof 1 \
-reconnect_streamed 1 \
-reconnect_delay_max 120 \
-movflags +faststart+write_colr+frag_keyframe \
 /tmpfs/Cam1_%Y%m%d%H%M%S.mp4


    


    This command uses tmpfs and then inotifywait copy ready file to the storage, image built - ffmpeg + inotify. This is par of my program. But main issue is that this configurftion does not work correctly.