
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (73)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, 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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie 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 (...)
Sur d’autres sites (6256)
-
Trim off N bytes from audio file using SoX / FFmpeg etc, on Windows ?
17 novembre 2020, par Rinaldo JonathanMy team accidentally on purpose clicked NO when Audacity asked to save the recording. So I left with bunch of *.au files, after using recovery program.


Some of them did have header and still open-able with audacity itself (example : this one), and some other are just complete nonsense, sometimes having the header filled with text from random javascript or HTML code (like this one). Probably hard disk half overwritten with browser cache ? I don't know. And at this point, I almost don't care.


The audacity is on default settings, with sample rate 44100Hz. I can open a-113.au using audacity, from standard open files. I also was able to achieve open files using "Open RAW files" from Audacity, using this settings :




so I assume header takes 12384 bytes.


Now, how do I trim 12384 bytes from the file when opened as RAW, with either SoX or ffmpeg ? because if I open it as RAW with 0 offset (default settings), it will add the header as a noise.


Current ffmpeg command I used :
ffmpeg.exe -f f32le -ar 44.1k -ac 1 -i source destination

Current sox command I used :sox -t raw --endian little --rate 44100 -b 1 -b 32 --encoding floating-point %%A "converted/%%~nxA.wav"

Both still have header as a noise in the converted files.

-
ffmpeg cannot open connection tcp ://a.rtmp.youtube.com
13 mars 2024, par Hiji DeuiI want to live stream using ffmpeg, when live on Facebook it runs normally, but when I live on YouTube there is an error, is there anything wrong with the command I entered ? even though the command is the same as live on Facebook, but only the RTMP link has been changed




ffmpeg -re -i out.mp4 -c:v copy -c:a aac -ar 44100 -ab 128k -ac 2 -strict -2 -flags +global_header -bsf:a aac_adtstoasc -bufsize 3000k -f flv "rtmp://a.rtmp.youtube.com/live2/my-key-streaming"







and the output is




ffmpeg version N-55112-g7eb9cf593e-static https://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 8 (Debian 8.3.0-6)
 configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
 libavutil 56. 61.100 / 56. 61.100
 libavcodec 58.114.100 / 58.114.100
 libavformat 58. 64.100 / 58. 64.100
 libavdevice 58. 11.103 / 58. 11.103
 libavfilter 7. 91.100 / 7. 91.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-12-26T11:13:27.000000Z
 com.android.version: 10
 Duration: 00:00:03.27, start: 0.000000, bitrate: 21344 kb/s
 Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, unknown/bt470bg/unknown), 1920x1080, 20225 kb/s, SAR 1:1 DAR 16:9, 29.99 fps, 30.01 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 rotate : 90
 creation_time : 2020-12-26T11:13:27.000000Z
 handler_name : VideoHandle
 Side data:
 displaymatrix: rotation of -90.00 degrees
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, mono, fltp, 128 kb/s (default)
 Metadata:
 creation_time : 2020-12-26T11:13:27.000000Z
 handler_name : SoundHandle
[tcp @ 0x58bf880] Connection to tcp://a.rtmp.youtube.com:1935 failed: Connection timed out
[rtmp @ 0x5893140] Cannot open connection tcp://a.rtmp.youtube.com:1935
rtmp://a.rtmp.youtube.com/live2/my-key: Connection timed out







how to fix this, btw i use vps, sorry, my english so bad and this is the first time i asked on this website


-
How to compress video size without changing much quality and without changing framerate (Ffmpeg) ?
19 septembre 2020, par WebDivaI am using this command to compress my videos :


ffmpeg -y -i video.mp4 -vcodec libx264 -crf 24 -preset ultrafast compressed.mp4




Although it works okay, there is a slight increase in duration because I am changing the framerate of videos, and we need the video to be the exact duration. Is there a way to compress videos without changing the framerate ? any help would be appreciated. Thank you.


Log :


ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg developers
 built with gcc 10.2.1 (GCC) 20200805
 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libsrt --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --enable-librav1e --enable-libsvtav1 --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
 libavutil 56. 58.100 / 56. 58.100
 libavcodec 58.101.101 / 58.101.101
 libavformat 58. 51.101 / 58. 51.101
 libavdevice 58. 11.101 / 58. 11.101
 libavfilter 7. 87.100 / 7. 87.100
 libswscale 5. 8.100 / 5. 8.100
 libswresample 3. 8.100 / 3. 8.100
 libpostproc 55. 8.100 / 55. 8.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1600498063375.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 creation_time : 2020-09-19T06:47:54.000000Z
 com.android.version: 10
 Duration: 00:00:10.53, start: 0.000000, bitrate: 4613 kb/s
 Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, bt709), 776x1440, 4611 kb/s, SAR 1:1 DAR 97:180, 19.11 fps, 16.42 tbr, 90k tbn, 180k tbc (default)
 Metadata:
 creation_time : 2020-09-19T06:47:54.000000Z
 handler_name : VideoHandle
Stream mapping:
 Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 000001e25a673ac0] using SAR=1/1
[libx264 @ 000001e25a673ac0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 000001e25a673ac0] profile Constrained Baseline, level 3.2, 4:2:0, 8-bit
[libx264 @ 000001e25a673ac0] 264 - core 161 - H.264/MPEG-4 AVC codec - Copyleft 2003-2020 - 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=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=16 scenecut=0 intra_refresh=0 rc=crf mbtree=0 crf=24.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=0
Output #0, mp4, to 'compressed.mp4':
 Metadata:
 major_brand : mp42
 minor_version : 0
 compatible_brands: isommp42
 com.android.version: 10
 encoder : Lavf58.51.101
 Stream #0:0(eng): Video: h264 (libx264) (avc1 / 0x31637661), yuv420p, 776x1440 [SAR 1:1 DAR 97:180], q=-1--1, 16.42 fps, 12608 tbn, 16.42 tbc (default)
 Metadata:
 creation_time : 2020-09-19T06:47:54.000000Z
 handler_name : VideoHandle
 encoder : Lavc58.101.101 libx264
 Side data:
 cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: N/A
frame= 181 fps= 95 q=-1.0 Lsize= 5244kB time=00:00:10.96 bitrate=3918.2kbits/s dup=1 drop=29 speed=5.76x
video:5243kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.030269%
[libx264 @ 000001e25a673ac0] frame I:1 Avg QP:21.00 size: 92845
[libx264 @ 000001e25a673ac0] frame P:180 Avg QP:22.42 size: 29306
[libx264 @ 000001e25a673ac0] mb I I16..4: 100.0% 0.0% 0.0%
[libx264 @ 000001e25a673ac0] mb P I16..4: 35.6% 0.0% 0.0% P16..4: 39.9% 0.0% 0.0% 0.0% 0.0% skip:24.6%
[libx264 @ 000001e25a673ac0] coded y,uvDC,uvAC intra: 34.6% 31.8% 2.5% inter: 28.7% 17.1% 0.7%
[libx264 @ 000001e25a673ac0] i16 v,h,dc,p: 38% 18% 20% 23%
[libx264 @ 000001e25a673ac0] i8c dc,h,v,p: 48% 17% 25% 9%
[libx264 @ 000001e25a673ac0] kb/s:3894.93