
Recherche avancée
Autres articles (21)
-
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...) -
Prérequis à l’installation
31 janvier 2010, parPréambule
Cet article n’a pas pour but de détailler les installations de ces logiciels mais plutôt de donner des informations sur leur configuration spécifique.
Avant toute chose SPIPMotion tout comme MediaSPIP est fait pour tourner sur des distributions Linux de type Debian ou dérivées (Ubuntu...). Les documentations de ce site se réfèrent donc à ces distributions. Il est également possible de l’utiliser sur d’autres distributions Linux mais aucune garantie de bon fonctionnement n’est possible.
Il (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (4789)
-
Using ffmpeg in node, without using fluent-ffmpeg
16 mai 2018, par drexdeltaI am using ffmpeg without using fluent-ffmpeg. I am using ’child_process’ from node.
First of all I verified how can I pass more than one arguments to the child process command. and I verified it given below code.
I used copy command like this
cp vid1.mp4 vid2.mp4
which successfully copied vid1 into vid2.
const execFile = require('child_process').execFile;
const child = execFile('cp', ['vid1.mp4', 'vid3.mp4'], (error, stdout, stderr) => {
if (error) {
console.error('stderr: =============================', stderr);
throw error;
}
console.log('stdout: ==========================', stdout);
});
console.log('here');Above code is content of the ’index.js’(default entry point in node). And running this with node . , which copies vid1 into vid3 successfully.
Now, I want to do watermarking to the given video. For that I am using this tutorial. Currently link to the actual tutorial is broken, you can see it here.
This is the command that I am using
ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=10:10" output.mp4
Now the same command I am using like this ,
const execFile = require('child_process').execFile;
const child = execFile('ffmpeg', ['-i', 'input.mp4' , '-i' , 'logo.png' , '-filter_complex' , '"overlay=10:10"' , 'output.mp4' ], (error, stdout, stderr) => {
if (error) {
console.error('stderr: =============================', stderr);
throw error;
}
console.log('stdout: ==========================', stdout);
});
console.log('here');and I am getting an error , that ,
No such filter : ’"overlay’ Error initializing complex filters. Invalid
argument/Users/neerpatel/Desktop/testProjects/childProcess/index.js:7
throw error ;
^Error : Command failed : ffmpeg -i input.mp4 -i logo.png
-filter_complex "overlay=10:10" output.mp4You can clearly see that the same command that runs in terminal directly, doesn’t work when I pass it in child process. Why does it happen ?
Moreover, I wanted to add tag ’watermarking’ , but I can’t create tag since my reputation is below 1500. please, someone do it.
UPDATE :
I used EXEC , instead of execFile . and it worked like charm, but parent file kept waiting for child process. Child process never returns END signal. and this is my code.const exec = require('child_process').exec;
const child = exec('ffmpeg -i input.mp4 -i logo.png -filter_complex "overlay=10:10" output.mp4', (error, stdout, stderr) => {
if (error) {
console.error('stderr: =============================', stderr);
throw error;
}
console.log('stdout: ==========================', stdout);
});
console.log('here'); -
ffmpeg - remove duplicate frames block (same video sequence twice)
11 janvier 2018, par Radoslav KastielAny idea how to remove duplicate video&audio frames blocks (several seconds repeating video sequences having same timestamps and frames corrupt file) from TS file with ffmpeg ?
I tried :
1) decimate filter :
ffmpeg -i input.mp4 -vf mpdecimate,setpts=N/FRAME_RATE/TB out.mp4
- does reencoding
- does not remove several seconds repeated frames block
2) playing with synchronisation options
ffmpeg -vsync vfr -frame_drop_threshold 1500 -i in.ts -vcodec copy -acodec copy -y out.ts
- there is no help with frame_drop_threshold attribude, no sample usage found on internet
- does not reencode input
- does not remove several seconds repeated frames block
Seems ffmpeg helps :
- just with sequence of same frames
- not with repeating frames sequences in the stream
- not with removing (dropping) frames with repeated timestamps
-
lavc/aarch64 : add sbrdsp neon implementation
23 mai 2017, par Matthieu Bouronlavc/aarch64 : add sbrdsp neon implementation
autocorrelate_c : 644.0
autocorrelate_neon : 420.0
hf_apply_noise_0_c : 1688.5
hf_apply_noise_0_neon : 1498.6
hf_apply_noise_1_c : 1691.2
hf_apply_noise_1_neon : 1500.6
hf_apply_noise_2_c : 1688.1
hf_apply_noise_2_neon : 1500.3
hf_apply_noise_3_c : 1696.6
hf_apply_noise_3_neon : 1502.2
hf_g_filt_c : 2117.8
hf_g_filt_neon : 1218.7
hf_gen_c : 4573.4
hf_gen_neon : 2461.0
neg_odd_64_c : 72.0
neg_odd_64_neon : 64.7
qmf_deint_bfly_c : 1107.6
qmf_deint_bfly_neon : 291.6
qmf_deint_neg_c : 210.4
qmf_deint_neg_neon : 107.4
qmf_post_shuffle_c : 163.0
qmf_post_shuffle_neon : 107.7
qmf_pre_shuffle_c : 120.5
qmf_pre_shuffle_neon : 110.7
sum64x5_c : 1361.6
sum64x5_neon : 435.4
sum_square_c : 1686.4
sum_square_neon : 787.2