Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP 0.2

Autres articles (94)

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

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

Sur d’autres sites (10578)

  • Trying to scale a webm video to 50% of its resolution using FFMPEG but keep getting an error (video has transparency btw)

    6 février 2021, par DistantDigit

    I'm trying to scale down a webm video with transparency using this line of commands (based off of an answer in this stackoverflow question @ How to keep transparency when scale webm file with ffmpeg) :

    


    ffmpeg -c:v libvpx -i in.webm -c:v libvpx -vf scale=400:416 -auto-alt-ref 0 out.webm

    


    but I keep getting errors (for example) :

    


    [libvpx @ 00000128eb6123c0] Invalid sync code 310042.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
Cannot determine format of input stream 0:0 after EOF


    


    Full log (I've removed a ton of the same exact message with "..."'s) :

    


    ffmpeg version 2021-02-02-git-2367affc2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 64.100 / 56. 64.100
  libavcodec     58.120.100 / 58.120.100
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7.101.100 /  7.101.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[libvpx @ 00000128eb6123c0] v1.9.0-146-gebb5ffc1d
[libvpx @ 00000128eb6123c0] Invalid sync code 310042.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 007a49.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
...
...
...
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb6123c0] Failed to decode frame: Bitstream not supported by this decoder
[libvpx @ 00000128eb6123c0] Invalid sync code 01f096.
[matroska,webm @ 00000128eb60f040] decoding for stream 0 failed
[matroska,webm @ 00000128eb60f040] Could not find codec parameters for stream 0 (Video: vp8 (libvpx), none(progressive), 800x832): unspecified pixel format
Consider increasing the value for the 'analyzeduration' (0) and 'probesize' (5000000) options
Input #0, matroska,webm, from 'in.webm':
  Metadata:
    encoder         : libwebm-0.2.1.0
    creation_time   : 2017-12-02T12:06:12.000000Z
  Duration: 00:00:10.00, start: 0.000000, bitrate: 2592 kb/s
    Stream #0:0(eng): Video: vp8, none(progressive), 800x832, SAR 1:1 DAR 25:26, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
[libvpx @ 00000128eb612a40] v1.9.0-146-gebb5ffc1d
Stream mapping:
  Stream #0:0 -> #0:0 (vp8 (libvpx) -> vp8 (libvpx))
Press [q] to stop, [?] for help
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
...
...
...
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 01f096.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
[NULL @ 00000128eb6123c0] Invalid sync code 009c96.
[libvpx @ 00000128eb612a40] Failed to decode frame: Bitstream not supported by this decoder
Error while decoding stream #0:0: Invalid data found when processing input
Cannot determine format of input stream 0:0 after EOF
Error marking filters as finished
Conversion failed!


    


    Log of ffmpeg -i input.webm :

    


    ffmpeg version 2021-02-02-git-2367affc2c-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      56. 64.100 / 56. 64.100
  libavcodec     58.120.100 / 58.120.100
  libavformat    58. 65.101 / 58. 65.101
  libavdevice    58. 11.103 / 58. 11.103
  libavfilter     7.101.100 /  7.101.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
Input #0, matroska,webm, from 'input.webm':
  Metadata:
    encoder         : libwebm-0.2.1.0
    creation_time   : 2017-12-02T12:06:12.000000Z
  Duration: 00:00:10.00, start: 0.000000, bitrate: 2592 kb/s
    Stream #0:0(eng): Video: vp9 (Profile 0), yuv420p(tv), 800x832, SAR 1:1 DAR 25:26, 30 fps, 30 tbr, 1k tbn, 1k tbc (default)
    Metadata:
      alpha_mode      : 1
At least one output file must be specified


    


  • Data Privacy Day 2021 : Five ways to embrace privacy into your business

    27 janvier 2021, par Matomo Core Team — Community, Privacy

    Welcome to Data Privacy Day 2021 !

    This year we are excited to announce that we are participating as a #PrivacyAware Champion for DPD21 through the National Cyber Security Alliance. This means that on this significant day we are in partnership with hundreds of other organisations and businesses to share a unified message that empowers individuals to “Own Your Privacy” and for organisations to “Respect Privacy.”

    "Last year dawned a new era in the way many businesses operate from a traditional office work setting to a remote working from home environment for employees. This now means it’s more important than ever for your employees to understand how to take ownership of their privacy when working online."

    Matthieu - Founder of Matomo

    As a Data Privacy Day #PrivacyAware Champion we would like to provide some practical tips and share examples of how the Matomo team helps employees be privacy aware.

    Five ways to embrace privacy into your business

    1. Create a privacy aware culture within your business

    • Get leadership involved.
    • Appoint privacy ambassadors within your team. 
    • Create a privacy awareness campaign where you educate employees on your company privacy policy. 
    • Share messages about privacy around the office/or in meetings online, on internal message boards, in company newsletters, or emails. 
    • Teach new employees their role in your privacy culture and reinforce throughout their career.

    2. Organise privacy awareness training for your employees

    • Invite outside speakers to talk to employees about why privacy matters. 
    • Engage staff by asking them to consider how privacy and data security applies to the work they do on a daily basis.
    • Encourage employees to complete online courses to gain a better understanding of how to avoid privacy risks.

    3. Help employees manage their individual privacy

    • Better security and privacy behaviours at home will translate to better security and privacy practices at work. 
    • Teach employees how to update their privacy and security settings on personal accounts.
    • Use NCSA’s privacy settings page to help them get started

    4. Add privacy to the employee’s toolbox

    • Give your employees actual tools they can use to improve their privacy, such as company-branded camera covers or privacy screens for their devices, or virtual private networks (VPNs) to secure their connections.

    5. Join Matomo and we’ll be your web analytics experts

    • At Matomo, ensuring our users and customers that their privacy is protected is not only a core component of the work we do, it’s why we do what we do ! Find out how.

    Want to find out more about data privacy download your free DPD 2021 Champion Toolkit and read our post on “Why is privacy important”.

    Team Matomo

    2021 Data Privacy Day Toolkit

    Your guide to Data Privacy Day, January 28, 2021
  • Unable to play recorded video and audio using ffmpeg

    11 janvier 2021, par Vijay Rakesh

    I’m trying to generate a video and audio for every 40ms in a separate files and sending it to the cloud for a live stream, but created videos and audio’s are unable to play using ffplay.

    


    Command :

    


    


    ffmpeg -f alsa -thread_queue_size 1024 -i hw:0 -f video4linux2 -i
/dev/video0 -c:a aac -ar 48k -t 0:10 -segment_time 00:00.04 -f segment
sample-%003d.aac -c:v h264 -force_key_frames
"expr:gte(t,n_forced*0.04)" -pix_fmt yuv420p -s:v 640x480 -t 0:10 -r
25 -g 1 -segment_time 00:00.04 -f segment frame-%003d.h264

    


    


    Error :

    


    


    frame-001.h264 : Invalid data found when processing input.

    


    


    Console output :

    


    


    configuration : —prefix=/usr —extra-version=0ubuntu0.2
—toolchain=hardened —libdir=/usr/lib/x86_64-linux-gnu —incdir=/usr/include/x86_64-linux-gnu —enable-gpl —disable-stripping —enable-avresample —enable-avisynth —enable-gnutls —enable-ladspa —enable-libass —enable-libbluray —enable-libbs2b —enable-libcaca —enable-libcdio —enable-libflite —enable-libfontconfig —enable-libfreetype —enable-libfribidi —enable-libgme —enable-libgsm —enable-libmp3lame —enable-libmysofa —enable-libopenjpeg —enable-libopenmpt —enable-libopus —enable-libpulse —enable-librubberband —enable-librsvg —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libspeex —enable-libssh —enable-libtheora —enable-libtwolame —enable-libvorbis —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx265 —enable-libxml2 —enable-libxvid —enable-libzmq —enable-libzvbi —enable-omx —enable-openal —enable-opengl —enable-sdl2 —enable-libdc1394 —enable-libdrm —enable-libiec61883 —enable-chromaprint —enable-frei0r —enable-libopencv —enable-libx264 —enable-shared libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 /
57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 /
4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 Guessed Channel Layout for Input Stream #0.0 : stereo Input #0, alsa, from 'hw:0' : Duration : N/A, start :
1610338632.931406, bitrate : 1536 kb/s
Stream #0:0 : Audio : pcm_s16le, 48000 Hz, stereo, s16, 1536 kb/s Input #1, video4linux2,v4l2, from '/dev/video0' : Duration : N/A,
start : 3405.427360, bitrate : 147456 kb/s
Stream #1:0 : Video : rawvideo (YUY2 / 0x32595559), yuyv422, 640x480, 147456 kb/s, 30 fps, 30 tbr, 1000k tbn, 1000k tbc Stream
mapping : Stream #0:0 -> #0:0 (pcm_s16le (native) -> aac (native))
    
Stream #1:0 -> #1:0 (rawvideo (native) -> h264 (libx264)) Press [q] to
stop, [?] for help [alsa @ 0x55777d96fe00] ALSA buffer xrun. [segment
@ 0x55777d983d80] Opening 'sample-000.aac' for writing Output #0,
segment, to 'sample-%003d.aac' : Metadata :
encoder : Lavf57.83.100
Stream #0:0 : Audio : aac (LC), 48000 Hz, stereo, fltp, 128 kb/s
Metadata :
encoder : Lavc57.107.100 aac [libx264 @ 0x55777d98fa20] using cpu capabilities : MMX2 SSE2Fast SSSE3 SSE4.2 [libx264 @
0x55777d98fa20] profile High, level 3.0 [libx264 @ 0x55777d98fa20] 264

    


      

    • core 152 r2854 e9a5903 - H.264/MPEG-4 AVC codec - Copyleft 2003-2017 - http://www.videolan.org/x264.html - options : cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00
mixed_ref=0 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=0 weightp=0 keyint=1
keyint_min=1 scenecut=40 intra_refresh=0 rc=crf mbtree=0 crf=23.0
qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00 [segment
@ 0x55777d98dda0] Opening 'frame-000.h264' for writing Output #1,
segment, to 'frame-%003d.h264' : Metadata :
encoder : Lavf57.83.100
Stream #1:0 : Video : h264 (libx264), yuv420p, 640x480, q=-1—1, 25 fps, 25 tbn, 25 tbc
Metadata :
encoder : Lavc57.107.100 libx264
Side data :
cpb : bitrate max/min/avg : 0/0/0 buffer size : 0 vbv_delay : -1 [segment @ 0x55777d983d80] Opening 'sample-001.aac' for writing
[segment @ 0x55777d98dda0] Opening 'frame-001.h264' for writing
[segment @ 0x55777d98dda0] Opening 'frame-002.h264' for writing
[segment @ 0x55777d98dda0] Opening 'frame-003.h264' for writing
[segment @ 0x55777d98dda0] Opening 'frame-004.h264' for writing
[segment @ 0x55777d98dda0] Opening 'frame-005.h264' for writing
[segment @ 0x55777d98dda0] Opening 'frame-006.h264' for writingA dup=1
drop=0 speed=1.07x ... [segment @ 0x55777d98dda0] Opening
'frame-018.h264' for writingA dup=5 drop=0 speed=0.714x ...
      
[segment @ 0x55777d98dda0] Opening 'frame-029.h264' for writingA
dup=12 drop=0 speed=0.768x ... [segment @ 0x55777d98dda0] Opening
'frame-042.h264' for writingA dup=21 drop=0 speed=0.834x ...
[segment @ 0x55777d983d80] Opening 'sample-055.aac' for writingA
dup=31 drop=0 speed=0.89x ... [segment @ 0x55777d98dda0] Opening
'frame-067.h264' for writingA dup=39 drop=0 speed=0.887x ...
[segment @ 0x55777d98dda0] Opening 'frame-081.h264' for writingA
dup=49 drop=0 speed=0.92x ... [segment @ 0x55777d98dda0] Opening
'frame-091.h264' for writingA dup=56 drop=0 speed=0.904x ...
[segment @ 0x55777d98dda0] Opening 'frame-105.h264' for writingA
dup=66 drop=0 speed=0.927x ... [segment @ 0x55777d98dda0] Opening
'frame-119.h264' for writingA dup=76 drop=0 speed=0.944x ...
[segment @ 0x55777d98dda0] Opening 'frame-130.h264' for writingA
dup=84 drop=0 speed=0.938x ... [segment @ 0x55777d98dda0] Opening
'frame-144.h264' for writingA dup=94 drop=0 speed=0.952x ...
[segment @ 0x55777d983d80] Opening 'sample-154.aac' for writingA
dup=103 drop=0 speed=0.958x ... [segment @ 0x55777d98dda0] Opening
'frame-168.h264' for writingA dup=111 drop=0 speed=0.952x ...
[segment @ 0x55777d98dda0] Opening 'frame-182.h264' for writingA
dup=121 drop=0 speed=0.962x ... [segment @ 0x55777d98dda0] Opening
'frame-193.h264' for writingA dup=129 drop=0 speed=0.956x ...
[segment @ 0x55777d98dda0] Opening 'frame-207.h264' for writingA
dup=139 drop=0 speed=0.965x ... [segment @ 0x55777d983d80] Opening
'sample-218.aac' for writingA dup=149 drop=0 speed=0.974x ...
[segment @ 0x55777d98dda0] Opening 'frame-231.h264' for writingA
dup=156 drop=0 speed=0.964x ... [segment @ 0x55777d98dda0] Opening
'frame-249.h264' for writing frame= 250 fps= 24 q=-1.0 Lsize=N/A
time=00:00:10.00 bitrate=N/A dup=168 drop=0 speed=0.98x
      
video:2707kB audio:149kB subtitle:0kB other streams:0kB global
headers:0kB muxing overhead : unknown [aac @ 0x55777d98cf00] Qavg :
260.500 [libx264 @ 0x55777d98fa20] frame I:250 Avg QP:26.77 size : 11085 [libx264 @ 0x55777d98fa20] mb I I16..4 : 13.4% 72.3% 14.3%
[libx264 @ 0x55777d98fa20] 8x8 transform intra:72.3% [libx264 @
0x55777d98fa20] coded y,uvDC,uvAC intra : 54.2% 91.6% 64.5% [libx264 @
0x55777d98fa20] i16 v,h,dc,p : 13% 18% 6% 62% [libx264 @
0x55777d98fa20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu : 19% 18% 16% 6% 7% 6%
12% 5% 10% [libx264 @ 0x55777d98fa20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu :
28% 18% 11% 6% 8% 8% 10% 5% 6% [libx264 @ 0x55777d98fa20] i8c
dc,h,v,p : 58% 20% 15% 7% [libx264 @ 0x55777d98fa20] kb/s:2216.90
    •