Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (41)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • Contribute to a better visual interface

    13 avril 2011

    MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
    Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community.

  • Qu’est ce qu’un éditorial

    21 juin 2013, par

    Ecrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
    Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
    Vous pouvez personnaliser le formulaire de création d’un éditorial.
    Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)

Sur d’autres sites (8639)

  • How to completely hide the timestamp from recording/image from FFMPEG ? [migrated]

    3 septembre 2021, par Lakshay

    I tried multiple commands from similar questions, but none is working for me.

    


    -timecode 00:00:00:00 gives error "timestamp is out of range for mov/mp4 format"

    


    -vf or datetext doesn't work !

    


    Full command : ffmpeg -i "rtsp://192.168.0.100:554/user=admin&password=&channel=3&stream=0.sdp?real_stream--rtp-caching=100" -vcodec copy -r 60 -t 3540 -timecode 00:00:00:00 -y 3.mp4

    


    Output log :

    


        ffmpeg version 2021-04-07-git-c06465a70b-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-librist --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. 72.100 / 56. 72.100
  libavcodec     58.135.100 / 58.135.100
  libavformat    58. 77.100 / 58. 77.100
  libavdevice    58. 14.100 / 58. 14.100
  libavfilter     7.111.100 /  7.111.100
  libswscale      5. 10.100 /  5. 10.100
  libswresample   3. 10.100 /  3. 10.100
  libpostproc    55. 10.100 / 55. 10.100
Input #0, rtsp, from 'rtsp://192.168.0.100:554/user=admin&password=&channel=3&stream=0.sdp?real_stream--rtp-caching=100':
  Metadata:
    title           : RTSP Session
  Duration: N/A, start: 0.083333, bitrate: N/A
  Stream #0:0: Video: h264 (High), yuv420p(progressive), 944x1080, 12 fps, 12 tbr, 90k tbn, 180k tbc
[mp4 @ 00000211ca19f940] Application provided duration: -9223372036854775808 / timestamp: -9223372036854775808 is out of range for mov/mp4 format
[mp4 @ 00000211ca19f940] pts has no value
Output #0, mp4, to '6.mp4':
  Metadata:
    title           : RTSP Session
    timecode        : 00:00:00:00
    encoder         : Lavf58.77.100
  Stream #0:0: Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 944x1080, q=2-31, 0.02 fps, 12 tbr, 15360 tbn, 60 tbc     
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[mp4 @ 00000211ca19f940] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly
[mp4 @ 00000211ca19f940] Non-monotonous DTS in output stream 0:0; previous: 0, current: 0; changing to 1. This may result in incorrect 
timestamps in the output file.
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1170.6kbits/s speed=2.59x    
[rtsp @ 00000211c9bdf080] RTP: missed 18 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1082.4kbits/s speed=1.42x    
[rtsp @ 00000211c9bdf080] RTP: missed 11 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1094.2kbits/s speed=1.31x    
[rtsp @ 00000211c9bdf080] RTP: missed 7 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet=1212.8kbits/s speed= 1.2x    
[rtsp @ 00000211c9bdf080] RTP: missed 16 packets
[rtsp @ 00000211c9bdf080] max delay reached. need to consume packet
[rtsp @ 00000211c9bdf080] RTP: missed 2 packets
frame=  205 fps= 14 q=-1.0 size=    2560kB time=00:00:17.16 bitrate=1221.7kbits/s speed=1.15x


    


  • FFMPEG encoding 16bit video data results in 10bit

    12 mars 2023, par Jl arto

    I want to compress a depth map that has 16 bits of information per pixel. In general, such depth maps can be stored in different ways, e.g. p016le, gray16le, yuv420p16le, yuv444p16le, ... but for simplicity, let's assume the depth map is a yuv420p16le (where the y-channel contains the depth).

    


    For some reason when encoding with hevc_nvenc (I use an NVIDIA GTX 1660 Ti GPU), ffmpeg (the command line tool) changes the pixel format to a 10 or 12 bit variant (p010le, gray12le, yuv420p10le, yuv444p12le, ...), but I would like to keep the full 16 bits, since this affects the quality of the depth stored.

    


    For example :

    


    ffmpeg.exe -s:v 1920x1080 -r 30 -pix_fmt yuv420p16le -i depth_yuv420p16le.yuv -c:v hevc_nvenc -pix_fmt yuv444p16le output.mp4


    


    If I use ffprobe on the output.mp4, it tells me that the underlying pixel format is actually yuv444p10le. (Decoding and looking at the raw pixel data, I can confirm that the precision has decreased from 16 bits to 10 bits).

    


    I hope 16 bit compression is possible, since according to

    


    ffmpeg -h encoder=hevc_nvenc


    


    the supported pixel formats are :

    


    hevc_nvenc: yuv420p nv12 p010le yuv444p p016le yuv444p16le bgr0 rgb0 cuda d3d11


    


    But p016le results in a p010le output, and yuv444p16le in yuv444p10le.

    


    Does anyone know where the problem could lie ? Should I re-install ffmpeg (version 4.3.2-2021-02-27-essentials_build-www.gyan.dev) ? Is it because of Windows 10 having limited encoding/decoding capabilities ? Will buying the HEVC Video Extensions help solve this problem ?

    


    Additional info : using libx256 does not look like it will work for this purpose, since the supported pixel formats are :

    


    libx256 : yuv420p yuvj420p yuv422p yuvj422p yuv444p yuvj444p gbrp yuv420p10le yuv422p10le yuv444p10le gbrp10le yuv420p12le yuv422p12le yuv444p12le gbrp12le gray gray10le gray12le


    


    Any help would be greatly appreciated.

    


  • FFMPEG is throwing Not enough memory resources on Azure VM [closed]

    20 août 2021, par Gaurav

    I have 500 MB video file which I am converting to MP4 format.

    


    My laptop is i7 and 16 GB Memory and ffmpeg is able to convert the file.
Command used is as follows :

    


    ffmpeg.exe -i  "a.mp4" -c:v  libx264  -crf  35  -preset  ultrafast  "b.mp4"


    


    On Azure , I have D series machine with 8 core and 32 GB. Memory used is 14% only. at this time, when I run this command , after certain time I get following error.

    


    Is there any other fine tuning required on azure VM ?

    


    out:


err: ffmpeg version N-102630-g51f1194eda Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10-win32 (GCC) 20210408
  configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libvmaf --enable-vulkan --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libgme --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags= --extra-libs=-lgomp
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  1.100 / 59.  1.100
  libavformat    59.  2.101 / 59.  2.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    creation_time   : 2013-11-27T01:38:48.000000Z
  Duration: 00:17:38.00, start: 0.040000, bitrate: 1972 kb/s
  Stream #0:0(und): Video: hevc (Main) (hev1 / 0x31766568), yuvj420p(pc, bt709), 1920x1080, 1971 kb/s, 25 fps, 25 tbr, 1250 tbn (default)
    Metadata:
      creation_time   : 2013-11-27T01:38:48.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
Stream mapping:
  Stream #0:0 -> #0:0 (hevc (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 00000253f18aa780] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2 AVX512
[libx264 @ 00000253f18aa780] profile Constrained Baseline, level 4.0, 4:2:0, 8-bit
[libx264 @ 00000253f18aa780] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2021 - http://www.videolan.org/x264.html - options: cabac=0 ref=1 deblock=0:0:0 analyse=0:0 me=dia subme=0 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=0 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=25 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=35.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to 'b.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf59.2.101
  Stream #0:0(und): Video: h264 (avc1 / 0x31637661), yuvj420p(pc, bt709, progressive), 1920x1080, q=2-31, 25 fps, 12800 tbn (default)
    Metadata:
      creation_time   : 2013-11-27T01:38:48.000000Z
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc59.1.100 libx264
    Side data:
      cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame=26450 fps=256 q=-1.0 Lsize=  331714kB time=00:17:37.96 bitrate=2568.5kbits/s speed=10.2x
video:331604kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.032993%
[libx264 @ 00000253f18aa780] frame I:106   Avg QP:31.17  size:143921
[libx264 @ 00000253f18aa780] frame P:26344 Avg QP:34.09  size: 12310
[libx264 @ 00000253f18aa780] mb I  I16..4: 100.0%  0.0%  0.0%
[libx264 @ 00000253f18aa780] mb P  I16..4:  1.3%  0.0%  0.0%  P16..4: 17.5%  0.0%  0.0%  0.0%  0.0%    skip:81.2%
[libx264 @ 00000253f18aa780] coded y,uvDC,uvAC intra: 48.5% 8.5% 1.4% inter: 8.1% 0.3% 0.0%
[libx264 @ 00000253f18aa780] i16 v,h,dc,p: 16% 30% 41% 13%
[libx264 @ 00000253f18aa780] i8c dc,h,v,p: 66% 17% 15%  2%
[libx264 @ 00000253f18aa780] kb/s:2567.58
Not enough memory resources are available to process this command.