
Recherche avancée
Autres articles (62)
-
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 (...) -
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 (...) -
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 (7784)
-
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% -
Convert static file to h264 stream with FFmpeg [on hold]
28 août 2013, par VprnlI'm building a NodeJS application that converts a static videofile to a streamable video which is being sent to a client (iPad or browser) on the fly (using the fluent-ffmpeg module).
Everything is set and all I need now is to configure ffmpeg correctly. But I'm having a lot of problems with ffmpeg.
With my current settings, I hear audio right away, but the picture starts a couple of seconds later. Then, my 30 second test file has been compressed to 3 seconds of high speed imagery.
How can I configure my ffmpeg so it will stream the mp4 correctly (in one pass through of course). It seems it is streaming raw h264, if that is the case how can I force the mp4 container. I thought I was doing that by using '-f mp4'
my correct settings are :
'-crf 22','-c:v libx264','-f mp4','-movflags','faststart+frag_keyframe'
I've also tried :
'-r 30','-crf 30','-analyzeduration 0','-probesize 1000','-rc_lookahead 0','-fflags nobuffer','-g 75','-ss 0','-threads 0','-vcodec libx264','-qcomp 0.6','-qmin 10','-qmax 51','-qdiff 4','-b:v 400k','-maxrate 400k','-bufsize 800k','-acodec mp3','-ab 192k','-ar 44100','-tune zerolatency','-f mp4','-movflags','faststart+frag_keyframe'
As you can see by the amount of options I've tried, I'm getting pretty desperate. I'm basically just running around in the dark.
I don't think it matters much but these are my request headers :
res.writeHead(200, { // NOTE: a partial http response
'Content-Type':'video/mp4',
'Content-Length':stat.size,
'Content-Range':'bytes '+start+'-'+end+'/'+stat.size,
'Transfer-Encoding':'chunked'
});