
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (95)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (6444)
-
ffmpeg -f segment fails after 30 minutes
8 mars 2018, par Musashi SakamotoWhen I used command below to convert video stream received from named pipe into .ts file which is HLS formatted,
sudo ffmpeg -i named_pipe.mkv \
-c:v libx264 -r 10 -g 30 -map 0 \
-qmin 18 -qmax 30 \
-f segment -segment_format mpegts -segment_time 3 \
-segment_list list.m3u8 \
-segment_list_type hls\
-segment_list_size 20 -strftime 1 \
%Y-%m-%d_%Hh%Mm%Ss.tsIt stops working with the speed gradually going down after about 30 minutes.
Here is the log right before it stopped working.*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4f49440] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4fde520] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4ffa4a0] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c5016420] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c50323a0] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c504e320] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11785
[h264 @ 0x5639c4c46e20] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11785
*** dropping frame 2461 from stream 0 at ts -11785
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11780
*** dropping frame 2461 from stream 0 at ts -11780
[out_0_0 @ 0x5639c4b58b40] EOF on sink link out_0_0:default.
*** dropping frame 2461 from stream 0 at ts -11780
No more output streams to write to, finishing.
[segment @ 0x5639c4b4ab20] stream:0 start_pts_time:243 pts:22131000 pts_time:245.9 dts:22131000 dts_time:245.9 -> pts:22131000 pts_time:245.9 dts:22131000 dts_time:245.9
[segment @ 0x5639c4b4ab20] Opening '/var/www/html/hls/list.m3u8.tmp' for writing
[file @ 0x5639c6510be0] Setting default whitelist 'file,crypto'
[segment @ 0x5639c4b4ab20] EXT-X-MEDIA-SEQUENCE:62
[AVIOContext @ 0x5639c4f01f80] Statistics: 0 seeks, 1 writeouts
[segment @ 0x5639c4b4ab20] segment:'/var/www/html/hls/2018-03-06_15h59m25s.ts' count:81 ended
[AVIOContext @ 0x5639c4d1cca0] Statistics: 0 seeks, 1 writeouts
[segment @ 0x5639c4b4ab20] Opening '/var/www/html/hls/2018-03-06_16h18m11s.ts' for writing
[file @ 0x5639c4b8da80] Setting default whitelist 'file,crypto' -
FFMpeg Split MP4 Clip Without Re-Encode | Out of Sync
28 février 2018, par sword1stI want to split mp4 clip for certain seconds but i don’t want to re-encode cuz my cpu isn’t so good it’s take so much time. When i try this code with encode :
ffmpeg -i clip.mp4 -ss 00:00:25 -to 00:01:20 cutted.mp4
it’s working perfectly but i don’t want to re-encode. So i try this code :
ffmpeg -i clip.mp4 -ss 00:00:25 -to 00:01:20 -c copy cutted.mp4
it’s playing perfectly in media player with a couple blank seconds at first it’s no problem i can cut these blank seconds when i editing it. But real problem is i can’t edit that clip in premiere pro cuz it’s out of sync. What can i do for fix it ? Any ffmpeg feature for that ? Thanks for all help !
Here ffmpeg output :
C:\Users\winuser>ffmpeg -i "D:\clips\clip_4579\clip.mp4" -ss 00:03
:00 -to 00:03:30 -c copy "D:\clips\clip_4579\renderless1.mp4"
ffmpeg version N-90155-g28924f4b48 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --e
nable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libblur
ay --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enab
le-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-li
bvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --en
able-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-
libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enabl
e-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda --enable-
cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
libavutil 56. 7.101 / 56. 7.101
libavcodec 58. 12.102 / 58. 12.102
libavformat 58. 9.100 / 58. 9.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 12.100 / 7. 12.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
Input #0, mpegts, from 'D:\clips\clip_4579\clip.mp4':
Duration: 00:04:14.78, start: 14149.499000, bitrate: 2287 kb/s
Program 1
Stream #0:0[0x100]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, ster
eo, fltp, 164 kb/s
Stream #0:1[0x101]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(pro
gressive), 1280x720, 60 tbr, 90k tbn, 2k tbc
Stream #0:2[0x102]: Data: timed_id3 (ID3 / 0x20334449)
Output #0, mp4, to 'D:\clips\clip_4579\renderless1.mp4':
Metadata:
encoder : Lavf58.9.100
Stream #0:0: Video: h264 (Main) (avc1 / 0x31637661), yuv420p(progressive), 1
280x720, q=2-31, 60 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 16
4 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=
frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=
frame= 0 fps=0.0 q=-1.0 size= 0kB time=00:00:00.00 bitrate=N/A speed=
frame= 551 fps=271 q=-1.0 size= 4864kB time=00:00:21.23 bitrate=1876.7kbits/
frame= 814 fps=380 q=-1.0 Lsize= 7381kB time=00:00:29.98 bitrate=2016.4kbits
/s speed= 14x
video:6757kB audio:594kB subtitle:0kB other streams:0kB global headers:0kB muxin
g overhead: 0.400338% -
HLS files(.m3u8, .ts) does not created on nginx_rtmp_module
6 mars 2018, par sujoyuI want to treanscode RTSP to RTMP to HLS using ffmpeg and nginx_rtmp_module.
But HLS files(.m3u8, .ts) do not created.
I’m testing on Docker(amazonlinux image).
I can access and play
rtmp://localhost:1935/live/camera1
by VLC Player, but can not accesshttp://localhost:8088/live/camera1.m3u8
.docker run command :
docker run -it -p 8088:8088 -p 1935:1935 -v $(pwd):/tmp/share amazonlinux bash
nginx.conf :
user root;
worker_processes 1;
error_log /var/log/nginx/error.log debug;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
access_log /var/log/nginx/rtmp_access.log;
application live {
live on;
hls on;
hls_path /usr/local/nginx/html/hls;
hls_fragment 5s;
hls_type live;
hls_nested on;
}
}
}
http {
server {
listen 8088;
location / {
root /usr/local/nginx/html/;
}
location /hls {
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
text/html html;
}
alias /usr/local/nginx/html/hls;
}
}
}ffmpeg command : (using sample video
rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov
)nohup /root/ffmpeg_sources/ffmpeg/ffmpeg -i "rtsp://184.72.239.149/vod/mp4:BigBuckBunny_175k.mov" -f flv -s 320x240 -an "rtmp://localhost:1935/live/camera1" null &
ffmpeg version :
bash-4.2# /root/ffmpeg_sources/ffmpeg/ffmpeg -version
ffmpeg version N-90214-gdd3f1e3 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
configuration: --prefix=/root/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/root/ffmpeg_build/include --extra-ldflags=-L/root/ffmpeg_build/lib --extra-libs=-lpthread --extra-libs=-lm --bindir=/root/bin --enable-gpl --enable-libx264 --enable-nonfree
libavutil 56. 8.100 / 56. 8.100
libavcodec 58. 13.102 / 58. 13.102
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 12.100 / 7. 12.100
libswscale 5. 0.102 / 5. 0.102
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100nginx version :
nginx version: nginx/1.13.9
nginx_rtmp_module version :
nginx-rtmp-module-1.2.1
and directory permission :
bash-4.2# pwd
/usr/local/nginx/html
bash-4.2# ls -l
total 48
-rw-r--r-- 1 root root 537 Mar 5 07:24 50x.html
drwxrwxrwx 2 root root 4096 Mar 6 04:46 hls
-rw-r--r-- 1 root root 612 Mar 5 07:24 index.html
-rw------- 1 root root 36262 Mar 6 04:46 nohup.outHelp...