
Recherche avancée
Médias (2)
-
Core Media Video
4 avril 2013, par
Mis à jour : Juin 2013
Langue : français
Type : Video
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (78)
-
Diogene : création de masques spécifiques de formulaires d’édition de contenus
26 octobre 2010, parDiogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
A quoi sert ce plugin
Création de masques de formulaires
Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...) -
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
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 (...)
Sur d’autres sites (8684)
-
ffmpeg (fluent ffmpeg) wrong length while converting mp4 (or mp3) to wav
18 février 2019, par almarcThe code :
ytdl(URL, { quality: "18" })
.pipe(fs.createWriteStream('song.mp4')).on("finish", () => {
var mp4 = "song.mp4"
ffmpeg({ source:mp4 })
.inputFormat('mp4')
.format('wav')
.on('error', (err) => console.error(err))
.on('end', () => console.log('Finished!'))
.pipe(fs.createWriteStream('song.wav'), {
end: true
});
})First it downloads an MP4 file from YouTube, using the ytdl library. Then, when the downloading is finished (the .mp4 file’s length is correct, 5 minutes), using the fluent-ffmpeg library, it converts the .mp4 file to .wav. No errors, it’s succesfull. But the .wav file is almost 7 hours long.
The first 5 minutes are good, the content from that .mp4 file. Then, everything further is empty.I also tried to first convert it to .mp3, and then to .wav, but the results are still the same. 7 hour long track.
Using ffmpeg from the command line gives the same results.
-
ffmpeg with double ethernet interfaces works wrong
21 janvier 2019, par CharlesCuiA server with double interfaces.
-
One(eht0) is used for WAN which provides http/ssh services for internet users.
-
The other(eth1) is used to receive multicast data from intranet.
218.108.132.177 is public network gateway.
125.210.198.1 is private network gateway.
233.49.3.*/24 is multicast address.
10.0.11.*/24 is the source of multicast data.
When the route table is like below, ffmpeg can’t read the udp data from eth1, ffmpeg hung up :
rrca@rcasnap02:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.108.132.176 * 255.255.255.252 U 0 0 0 eth0
125.210.198.0 * 255.255.255.240 U 0 0 0 eth1
default 218.108.132.177 0.0.0.0 UG 100 0 0 eth0
default 125.210.198.1 0.0.0.0 UG 100 0 0 eth1or
rrca@rcasnap02:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.108.132.176 * 255.255.255.252 U 0 0 0 eth0
125.210.198.0 * 255.255.255.240 U 0 0 0 eth1
default 218.108.132.177 0.0.0.0 UG 100 0 0 eth0
10.0.11.0 125.210.198.1 0.0.0.0 UG 100 0 0 eth1or
rrca@rcasnap02:~$ route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
218.108.132.176 * 255.255.255.252 U 0 0 0 eth0
125.210.198.0 * 255.255.255.240 U 0 0 0 eth1
default 218.108.132.177 0.0.0.0 UG 100 0 0 eth0
233.49.3.0 125.210.198.1 255.255.255.0 UG 100 0 0 eth1I want to the ffmpeg work right,but now I think the two default route in route table disturb eachother, and I take a try, when the public gateway route is deleted, or the private gateway route is at the head of public default gateway route, ffmpeg works well, I think it read multicast from eth1.But the route table is not thus, ffmpeg can’t read data from eth1, I think it read data on eth0(which is not private network interface).
How to do ffmpeg works well with two interfaces at the same time ?
-
-
ffmpeg : cut video but getting the wrong length
2 août 2024, par nathan wuI'm using ffmpeg to cut a video.
Here is the input information :



Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080 [SAR 1:1 DAR 16:9], 5113 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)




And this is the command I use :



ffmpeg -y -ss 10 -t 5 -i test.mp4 -c copy output.mp4




But the output duration is about 9.66 seconds.



It worked when I removed the '-c copy' option or the input doesn't contain the 'tv, bt709' tag. But it's slower.



I wonder how I can use '-c copy' and get the right piece of video I need ?