
Recherche avancée
Autres articles (22)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Gestion de la ferme
2 mars 2010, parLa ferme est gérée dans son ensemble par des "super admins".
Certains réglages peuvent être fais afin de réguler les besoins des différents canaux.
Dans un premier temps il utilise le plugin "Gestion de mutualisation"
Sur d’autres sites (3528)
-
Android : How to make camera capture video only of preview size and not full screen ?
13 décembre 2017, par Ashutosh TiwariI am working on an app that needs to capture square videos just like
Instagram
. I used many libraries for the purpose but none helped to capture the video itself in square size. I can make the preview look like square but not the recorded video. For that I have to useFFMPEG
library for cropping the video after it has been captured. But this process takes too long for 1 minute videos even with 480pvideo
capture quality. Someone please guide me to achieve this task.Libraries that I have used are :
https://github.com/natario1/CameraView for cameraView and http://writingminds.github.io/ffmpeg-android-java/ for using ffmpeg.Commands that I have tried for ffmpeg cropping operation are :
command = new String[]{"-y",
"-f",
"concat",
"-safe",
"0",
"-i",
"" + sdCardPathFile,
"-c:v",
"libx264",
"-vf",
"crop=" + getVideoResolution(),
"-preset",
"ultrafast",
"-qscale",
"0",
"-crf",
"28",
"-c:a",
"copy",
"-flags",
"+global_header",
"" + joinedVideoFile.getAbsolutePath()
};
String[] joinCommand = new String[]{
"-y",
"-f",
"concat",
"-safe",
"0",
"-i",
"" + sdCardPathFile,
"-filter:v",
"crop=480:480",
"-preset",
"superfast",
"-c:a",
"copy",
"" + joinedVideoFile.getAbsolutePath()
}; -
FFMPEG mp3 file segmentation on Mac OSx Error . Only one full mp3 file generated as segmented file
2 novembre 2017, par iThirstWhat I am trying to achieve is to take an MP3 file as source file and generate multiple segments of approx 10s each from it. I am using node’s fluent
ffmpeg
inside node js application. Below code works absolutely fine and generates proper results onLinux/Ubuntu
16.04 server while fails with below error onmac osx
. It ends by generating single.mp3
file and.m3u8
playlist file onmac osx
while it generates multiple segmentedmp3
files (each 11s) if executed onubuntu
server.Error Log:
[mp3 @ 0x7fc469010c00] Application provided invalid, non monotonically increasing dts to muxer in stream 0: 9223372036854422218 >= -9223372033278215478
[segment @ 0x7fc469006a00] Packets poorly interleaved, failed to avoid negative timestamp -9223372033277846838 in stream 0.// Node js code to execute ffmpeg command is given below
var command = ffmpeg(fs.createReadStream(directoryPath + fileName), {timeout : 900})
.inputFormat('mp3')
.inputOptions([
//'-re',
//'-i input.mp3',
//directoryPath +'albumart.jpg',
'-codec copy',
'-map 0',
'-f segment',
'-segment_list ' + directoryPath + fileName_noExtension + '.m3u8',
'-segment_list_flags +live',
'-segment_time 10',
directoryPath + 'out%03d.mp3'
]);
command.on('start',{}).on('stderror').on('end').output(directoryPath + 'Out.mp3')
.run()//
Any help is appreciated in this direction.
-
swscale : more accurate DITHER_COPY macro for full and limited range
6 octobre 2017, par Mateuszswscale : more accurate DITHER_COPY macro for full and limited range
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>
- [DH] libswscale/swscale_unscaled.c
- [DH] tests/ref/vsynth/vsynth1-ffvhuff420p12
- [DH] tests/ref/vsynth/vsynth1-vc2-420p10
- [DH] tests/ref/vsynth/vsynth1-vc2-420p12
- [DH] tests/ref/vsynth/vsynth2-ffvhuff420p12
- [DH] tests/ref/vsynth/vsynth2-vc2-420p10
- [DH] tests/ref/vsynth/vsynth2-vc2-420p12
- [DH] tests/ref/vsynth/vsynth3-ffvhuff420p12
- [DH] tests/ref/vsynth/vsynth_lena-ffvhuff420p12
- [DH] tests/ref/vsynth/vsynth_lena-vc2-420p10
- [DH] tests/ref/vsynth/vsynth_lena-vc2-420p12