
Recherche avancée
Autres articles (100)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
MediaSPIP Core : La Configuration
9 novembre 2010, parMediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...) -
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 (...)
Sur d’autres sites (11934)
-
Merge two MP3 files and maintain high bitrate and original properties of MP3s
19 juillet 2019, par sigur7I have two MP3 files that were created from the same source, with different audio within them. Here are the properties from
ffprobe
Duration: 00:00:08.86, bitrate: 384 kb/s
Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 24000 Hz, 1 channels, s16, 384 kb/sNOTE : Even though the file is an MP3 it shows as pcm_s16le
When I try and join the two files together using
ffmpeg -i download.mp3 -i download1.mp3 -filter_complex [0:a:0][1:a:0]concat=n=2:v=0:a=1[outa] -map [outa] joineddownloads.mp3
I get the following result and a big drop in bitrate(quality)
Duration: 00:00:10.42, start: 0.046042, bitrate: 32 kb/s
Stream #0:0: Audio: mp3, 24000 Hz, mono, fltp, 32 kb/sHow can I maintain the high 320kbs bitrate and all the other properties that were present before I created the joined file ?
-
avcodec/cavsdec : Limit the number of access units per packet to 2
10 août 2019, par Michael Niedermayeravcodec/cavsdec : Limit the number of access units per packet to 2
Fixes : Timeout (122sec -> 13ms)
Fixes : 15978/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_CAVS_fuzzer-5148925004087296Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
ffmpeg send video to ffserver without reencode, CPU usage still very high.How ?
3 septembre 2019, par Wayne ChenI’m using ffmpeg to send H.264 video to ffserver. Command looks like this :
ffmpeg -re -stream_loop -1 -i test.mp4 -c copy http://localhost:8090/feed1.ffm
I thought with
-c copy
option, the CPU usage of ffmpeg should be very low, but it actually used 99% of CPU.Please help cutdown the usage of CPU.
Thanks----------------------
ffserver.conf :
<feed>
File /tmp/feed1.ffm
FileMaxSize 5M
ACL allow 127.0.0.1
ACL allow 192.168.1.250
</feed>
<stream>
Feed feed1.ffm
Format rtp
VideoCodec libx264
VideoFrameRate 25
VideoBufferSize 80000
VideoSize 1920x1080
PreRoll 15
NoDefaults
NoAudio
</stream>ffserver log:
ffserver -d -f /etc/ffserver.conf
ffserver version 3.3.9 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-version3 --enable-ffplay --enable-ffserver --enable-shared
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Tue Sep 3 09:45:38 2019 Codecs do not match for stream 0
Tue Sep 3 09:45:38 2019 [ffm @ 0x1072d80]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Tue Sep 3 09:45:38 2019 Codecs do not match for stream 0
Tue Sep 3 09:45:38 2019 [ffm @ 0x10695e0]Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
Tue Sep 3 09:45:38 2019 FFserver started.
Tue Sep 3 09:45:39 2019 192.168.1.240 - - [] " " 200 0
Tue Sep 3 09:45:39 2019 192.168.1.240 - - [] " " 200 0
Tue Sep 3 09:45:39 2019 192.168.1.240:0 - - "PLAY test2-rtsp/streamid=0 RTP/TCP"
Tue Sep 3 09:45:39 2019 192.168.1.240:0 - - "PLAY test1-rtsp/streamid=0 RTP/TCP"
Tue Sep 3 09:45:39 2019 192.168.1.240:0 - - "PLAY test2-rtsp/streamid=0 RTP/TCP"
Tue Sep 3 09:45:39 2019 192.168.1.240:0 - - "PLAY test1-rtsp/streamid=0 RTP/TCP"FFmpeg log:
wayne@ubuntu:~$ ffmpeg -re -stream_loop -1 -i test_main.mp4 -c copy http://localhost:8090/feed1.ffm & ffmpeg -re -stream_loop -1 -i test_minor.mp4
4 -c copy http://localsudffmpeg -re -stream_loop -1 -i test_main.mp4 -c copy http://localhost:8090/feed1.ffm & ffmpm
ffmpeg version 3.3.9 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.11) 20160609
configuration: --enable-gpl --enable-nonfree --enable-pthreads --enable-libmp3lame --enable-libtheora --enable-libx264 --enable-version3 --enable-ffplay --enable-ffserver --enable-shared
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_main.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.40.101
Duration: 00:00:51.60, start: 0.000000, bitrate: 987 kb/s
Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 985 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
handler_name : VideoHandler
[tcp @ 0x19ca600] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
[tcp @ 0x19d58a0] Connection to tcp://localhost:8090 failed (Connection refused), trying next address
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> h264 (libx264))
Press [q] to stop, [?] for help
[libx264 @ 0x19d67c0] VBV bufsize set but maxrate unspecified, ignored
[libx264 @ 0x19d67c0] using SAR=1/1
[libx264 @ 0x19d67c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
[libx264 @ 0x19d67c0] profile Progressive High, level 4.0, 4:2:0, 8-bit
Output #0, ffm, to 'http://localhost:8090/feed1.ffm':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : now
encoder : Lavf57.71.100
Stream #0:0(eng): Video: h264 (libx264), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 25 fps, 1000k tbn, 25 tbc (default)
Metadata:
handler_name : VideoHandler
encoder : Lavc57.89.100 libx264
Side data:
cpb: bitrate max/min/avg: 0/0/0 buffer size: 655360000 vbv_delay: -1
frame= 13 fps=0.0 q=0.0 size= 4kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 26 fps= 26 q=0.0 size= 4kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 38 fps= 25 q=0.0 size= 4kB time=00:00:00.00 bitrate=N/A speed= 0x
frame= 43 fps= 18 q=28.0 size= 4kB time=-00:00:00.03 bitrate=N/A speed=N/A
frame= 55 fps= 19 q=28.0 size= 16kB time=00:00:00.44 bitrate= 297.9kbits/s speed=0.151x
frame= 59 fps= 17 q=28.0 size= 44kB time=00:00:00.60 bitrate= 600.7kbits/s speed=0.171x