
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (111)
-
MediaSPIP Player : les contrôles
26 mai 2010, parLes contrôles à la souris du lecteur
En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...) -
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs
12 avril 2011, parLa manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.
Sur d’autres sites (13954)
-
ffmpeg 1.0.7 takes minute to create a thumbnail on "broken" video file but other files are seconds to create thumbnail
8 juillet 2015, par Wiggler JtagI’ve been using ffmpeg 1.0.7 for over 450GB (cca 400 files) for creating thumbnails and grabbing video-file information. It tooks me like 1-2 seconds to create 10 thumbnails from 8GB file. But now I’ve got some ’broken’ video file (672 MB) which creates me 1 thumbnail over a minute, 10 thumbnails its over 10 minutes -> my server burns :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9769 www-data 20 0 395m 28m 7212 R 157.0 0.4 0:04.99 ffmpegI opened the file in Windows Media Player and getting blank screen while -> video file is weird, opened it in VLC and it wrote me :
Because this AVI file index is broken or missing, seeking will not work correctly. VLC won't repair your file but can temporary fix this problem by building an index in memory.
I’ve clicked ’Play as is’ and it plays the video file correctly, however my webserver burns because of FFmpeg and PHP waits for the return fromexec();
command. Thumbnails are also created fine after 10 minutes, but how can I fix this problem or to prevent from executing FFmpeg for creating thumbnails on these broken ’video’ files ?This is my php :
$cmd = "ffmpeg -i error.avi 2>&1";
$info = `$cmd`;
echo '<pre>';
print_r($info);
echo '</pre>';this is the output I am getting (very quickly)
ffmpeg version 1.0.7 Copyright (c) 2000-2013 the FFmpeg developers
built on Jul 19 2013 07:14:44 with gcc 4.7 (Debian 4.7.2-5)
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libvpx --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libopus --enable-fontconfig --enable-libfdk-aac --enable-libdc1394 --disable-altivec --dis libavutil 51. 73.101 / 51. 73.101
libavcodec 54. 59.100 / 54. 59.100
libavformat 54. 29.104 / 54. 29.104
libavdevice 54. 2.101 / 54. 2.101
libavfilter 3. 17.100 / 3. 17.100
libswscale 2. 1.101 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
Input #0, avi, from 'error.avi':
Metadata:
encoder : VirtualDubMod 1.5.10.2 (build 2540/release)
Duration: 01:29:39.32, start: 0.000000, bitrate: 1048 kb/s
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 640x272 [SAR 1:1 DAR 40:17], 23.98 tbr, 23.98 tbn, 23.98 tbc
Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16, 128 kb/s
At least one output file must be specifiedSo it looks like just creating thumbnails is having problems :
exec("ffmpeg -ss 01:11:43 -i error.avi -vframes 1 -s 616x320 -an output_1.jpg 2>&1");
Where could be the problem ? Thanks for your suggestions !
Btw. I am posting this on SO because I’m not sure where it belongs more than here - I think it could be done somehow by PHP but I’m not really sure.
EDIT : I have added timeout, which "fixes" my problem, but even latest version of FFmpeg 2. stucks on creating thumbnail from broken video files.
exec("timeout 5s ffmpeg -ss 01:11:43 -i error.avi -vframes 1 -s 616x320 -an output_1.jpg 2>&1");
-
FFmpeg : AAC muxing into two different files in the same loop : The 2nd file is corrupted [on hold]
1er septembre 2013, par user2677612We are using FFmpeg libraries git-ee94362 libavformat v55.2.100.
Our purpose is to mux synthetic video and audio-file audio to 2 different files (in the same loop)
with the the same format and parameters.With MP3 input, both M3U8 outputs are OK :
Output file #0 : Total number of frames is : video = 229, audio = 347.
Output file #1 : Total number of frames is : video = 229, audio = 347.
But with AAC input, the 1st M3U8 output is OK, whereas the 2nd one - is not :
Output file #0 : Total number of frames is : video = 403, audio = 690.
Output file #1 : Total number of frames is : video = 3, audio = 690.
It is exactly the same code in the main loop. We do not use the "aac_adtstoasc" filter in case of M3U output.
By the way, the problem exist both with and without the filter,
since in case of MP4 output, the 1st output file is OK, whereas the 2nd one - is not, - as well.Moreover :
1) I have implemented the main loop as Windows threads, separated for every output file.
2) I have separated input files, as well (i.e. use two identical input files).
The problem remains !It seems that video PTS begins to be corrupted (wrong-calculated) for the 2nd (3rd, etc.) output file.
If somebody is known about such a problem ? If yes, what can be a solution/workaround ?
Thank you. -
Concatenating video files with ffmpeg, no sound in output file [on hold]
1er septembre 2013, par JunaidI am concatenating different AVI video files. The input files has been specified in
input.txt
in the order required. First video file does not have sound track, but subsequent files have.After completion the resulting the operation, the output does not have audio !
If I remove first video files from input then resulting video gets sound. So it means the output format follows the first item in input list. How can I solve this problem.
Please suggest the options in ffmpeg ; not in any other tools like mencoder.
ffmpeg -f concat -i inputs.txt -c copy test.avi
ffmpeg version 1.1.git Copyright (c) 2000-2013 the FFmpeg developers
built on Jun 27 2013 09:22:45 with gcc 4.7 (Ubuntu/Linaro 4.7.3-1ubuntu1)
configuration: --prefix=/home/junaid/ffmpeg_build --extra-cflags=-I/home/junaid/ffmpeg_build/include --extra-ldflags=-L/home/junaid/ffmpeg_build/lib --bindir=/home/junaid/bin --extra-libs=-ldl --enable-gpl --enable-libass --enable-libfdk-aac --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-x11grab
libavutil 52. 37.101 / 52. 37.101
libavcodec 55. 17.100 / 55. 17.100
libavformat 55. 9.100 / 55. 9.100
libavdevice 55. 2.100 / 55. 2.100
libavfilter 3. 77.101 / 3. 77.101
libswscale 2. 3.100 / 2. 3.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 3.100 / 52. 3.100
[concat @ 0x335a880] Invalid stream index 1
[concat @ 0x335a880] max_analyze_duration 5000000 reached at 5000000 microseconds
Input #0, concat, from 'inputs.txt':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 25 fps, 25 tbr, 25 tbn, 25 tbc
Output #0, avi, to 'test.avi':
Metadata:
ISFT : Lavf55.9.100
Stream #0:0: Video: mpeg4 (xvid / 0x64697678), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 25 fps, 25 tbn, 25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6368 times
frame= 3793 fps=0.0 q=-1.0 size= 11108kB time=00:02:37.96 bitrate= 576.1kbits/Invalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 7173 times
frame= 7921 fps=7801 q=-1.0 size= 22928kB time=00:05:30.16 bitrate= 568.9kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6614 times
frame=11729 fps=7688 q=-1.0 size= 27057kB time=00:08:08.96 bitrate= 453.3kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6247 times
frame=15324 fps=7565 q=-1.0 size= 44956kB time=00:10:38.92 bitrate= 576.4kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6553 times
frame=19096 fps=7516 q=-1.0 size= 64014kB time=00:13:16.24 bitrate= 658.6kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 6753 times
frame=22983 fps=7558 q=-1.0 size= 79848kB time=00:15:58.36 bitrate= 682.5kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 7011 times
frame=27019 fps=7610 q=-1.0 size= 94130kB time=00:18:46.68 bitrate= 684.4kbitsInvalid stream index 1
[concat @ 0x335a880] Invalid stream index 1
Last message repeated 1302 times
frame=27772 fps=7658 q=-1.0 Lsize= 96618kB time=00:19:18.08 bitrate= 683.5kbits/s
video:95921kB audio:0kB subtitle:0 global headers:0kB muxing overhead 0.726908%