
Recherche avancée
Médias (1)
-
The pirate bay depuis la Belgique
1er avril 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Image
Autres articles (55)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
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 (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...)
Sur d’autres sites (7503)
-
I want to overlaying the gif image on full video using NReco.VideoConverter (FFmpeg). But getting error using ffmpeg.CreateMedia
6 mai 2020, par Gagandeep SinghWhen I'm creating using ffmpeg.Invoke the below command is working perfectly :-



ffmpeg.Invoke($"-i {@"result.mp4"} -ignore_loop 0 -i {@"giffy_1000.gif"} -filter_complex \" [1:v]scale=1920:1800 [ovrl];[0:v][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/20:shortest=1 \" {@"result2.mp4"}");




But when I tried using the above command in ffmpeg.CraeteMedia then it throws the error as convertion failed. Below is the code snippet :-



ffmpeg1.ConvertMedia(
 new[] {
 new FFMpegInput(@"result.mp4"),
 new FFMpegInput(@"giffy_1000.gif")
 },
 @"style.mp4",
 null,
 new ConvertSettings() {
 CustomOutputArgs = " -ignore_loop 0 -filter_complex \" [1:v]scale=1920:1800[ovrl];[0:v][ovrl]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/20:shortest=1 \" "
 });




Please let me know what mistake I'm doing.


-
What are good settings for transcoding videos uploaded to my app ?
14 mai 2020, par Dmitry MinkovskyI am working on an app that allows users to share videos. The problem is that many videos are very high bitrate. For example, A 4-minute H264 video from an old iPhone is encoded at 1080p and runs 17,000 kb/s ( 500 megabytes). Accepting and distributing such videos at this bitrate/resolution is not practical for a social application.



I have been playing with ffmpeg to transcode videos to smaller sizes and higher compression, but have not achieved acceptable results. For example :



ffmpeg \
 -i in.mov \
 -vf scale=w='if(gt(iw\,ih)\,780\,-2)':h='if(gt(iw\,ih)\,-2\,780)' \ 
 -c:v libx264 \
 -crf 28 \
 -preset medium \
 -pix_fmt yuv420p \
 -movflags +faststart \
 out.mp4




This command transcodes the above-mentioned 500MB file down to 70MB. It scales the larger dimension of the video to 780 pixels and compresses the video quite a bit. The results are okay, but the file is still large.



Taking the longer dimension down to 480 pixels, the file is reduced to 40MB. Still quite large, and now significantly degraded. Also, the transcoding still takes quite a long time : about 1-1.5x on my 4 year old i7 Macbook Pro with 16GB RAM.



I'm not sure how to improve on this. H265 is not supported in browsers. I am wondering :



- 

- How can I reduce size further ?
- How can I transcode faster than 1x without significantly reducing quality ? Even 2-3x doesn't seem great ?







Is this as good as it gets ?


-
Livestream of prerecorded flv videos with ffmpeg and red5
6 octobre 2014, par user2060812My goal is to acheive the following steps :-
- rtmp livestream of prerecoreded flv videos using ffmpeg.
- videos should be played continuously just like a tv station.
We are currently using red5 and ffmpeg to acheive this goal and we have successfully published the live stream of prerecorded single video to jwplayer using the following conversion command :
for i in *.avi; do ffmpeg -i $i -acodec copy -vcodec copy -f flv rtmp://localhost/oflaDemo/livestream
But the problem comes when we need to livestream two videos one after the other. User have to click play button again in order to stream second video which is not a tv-station thing instead we need to continuously play stream for user instead of clicking on play button on ending of each stream.
- rtmp livestream of prerecoreded flv videos using ffmpeg.