
Recherche avancée
Autres articles (74)
-
Publier sur MédiaSpip
13 juin 2013Puis-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 -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (7012)
-
avcodec/avcodec : Always use old channel count/layout if set
18 septembre 2022, par Andreas Rheinhardtavcodec/avcodec : Always use old channel count/layout if set
This ensures that if AVCodecContext.channels or
AVCodecContext.channel_layout are set, AVCodecContext.ch_layout
has the equivalent values after this block.(In case these values are set inconsistently, the consistency check
for ch_layout below will error out.)Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
FFMpeg command to merge 1 video and 2 audio files while also reducing volume of one audio
26 septembre 2022, par UserMI need to construct a FFMpeg using amix or any equivalent command to merge 1 video and 2 audio files while also reducing volume of one background music file (ukulele.mp3).
Refer : https://ffmpeg.org/ffmpeg-filters.html#Examples-11


//cmd works with out volume reduction of background music file
anima_buf = ("C:/ffmpeg/bin/ffmpeg -thread_queue_size 8192 -safe 0 -f concat -i %s -t %s -safe 0 -f concat -i %s -i ./music/ukulele.mp3\
-filter_complex amix=inputs=2:duration=shortest -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -y %s" % ( anima_img_file, anima_len, anima_audio_file, anima_opvideo_file))
os.system(anima_buf)
//successful

//cmd to reduce volume of background music
 anima_buf = ("C:/ffmpeg/bin/ffmpeg -thread_queue_size 8192 -safe 0 -f concat -i %s -t %s -safe 0 -f concat -i %s -i ./music/ukulele.mp3\
 -filter_complex amix=inputs=2:duration=shortest:dropout_transition=0:weights="1 0.25":normalize=0 -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p -y %s" % ( anima_img_file, anima_len, anima_audio_file, anima_opvideo_file) )
os.system(anima_buf)
 
SyntaxError: invalid syntax mentioned at weights="1 0.25"



FFmpeg version :


ffmpeg version 2022-05-23-git-6076dbcb55-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.3.0 (Rev1, 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-bzlib --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-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --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-libshaderc --enable-vulkan --enable-libplacebo --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 57. 25.100 / 57. 25.100
libavcodec 59. 28.100 / 59. 28.100
libavformat 59. 24.100 / 59. 24.100
libavdevice 59. 6.100 / 59. 6.100
libavfilter 8. 38.100 / 8. 38.100
libswscale 6. 6.100 / 6. 6.100
libswresample 4. 6.100 / 4. 6.100
libpostproc 56. 5.100 / 56. 5.100



Can someone guide me, thanks in advance


-
lavu/cpu : CPU flags for the RISC-V Vector extension
26 septembre 2022, par Rémi Denis-Courmontlavu/cpu : CPU flags for the RISC-V Vector extension
RVV defines a total of 12 different extensions, including :
5 different instruction subsets :
- Zve32x : 8-, 16- and 32-bit integers,
- Zve32f : Zve32x plus single precision floats,
- Zve64x : Zve32x plus 64-bit integers,
- Zve64f : Zve32f plus Zve64x,
- Zve64d : Zve64f plus double precision floats.6 different vector lengths :
- Zvl32b (embedded only),
- Zvl64b (embedded only),
- Zvl128b,
- Zvl256b,
- Zvl512b,
- Zvl1024b,and the V extension proper : equivalent to Zve64f and Zvl128b.
In total, there are 6 different possible sets of supported instructions
(including the empty set), but for convenience we allocate one bit for
each type sets : up-to-32-bit ints (RVV_I32), floats (RVV_F32),
64-bit ints (RVV_I64) and doubles (RVV_F64).Whence the vector size is needed, it can be retrieved by reading the
unprivileged read-only vlenb CSR. This should probably be a separate
helper macro if needed at a later point.