
Recherche avancée
Autres articles (68)
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Possibilité de déploiement en ferme
12 avril 2011, parMediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)
Sur d’autres sites (7249)
-
'ffmpeg' or 'handbrake cli' for video conversion on server ? [closed]
18 juin 2013, par AaronJiangI want to convert videos on my server using command line, maily mp4 -> flv or flv -> mp4. I googled and found these two products 'ffmpeg' and 'HandBrake cli'.
https://trac.handbrake.fr/wiki/CLIGuide
Which one is better ?
Plus I am running on ubuntu server.
-
FFmpeg : Cut from live stream RTSP
10 septembre 2020, par Jax2171I cannot solve my problem and I have not found any solution.


I capture an rtsp stream from an ip camera via the command :


ffmpeg -stimeout 2000000 -abort_on empty_output -rtsp_transport tcp -i rtsp://admin:admin@192.168.1.15/av0_0 -c:v copy -c:a aac -f mpegts -y rec.ts



The native video codec is h264 while the audio one is pcm. I capture the video stream without compression and compress the audio in aac to make it compatible with the ts container.


I need to extract portions of video of X duration through during the capture. The command I use is :


ffmpeg -ss X-i rec.ts -c:v copy -c:a copy -t Y -f mp4 -stimeout 60 -y cut.mp4



Everything seems to work fine with no errors. However, the cut file has a slightly longer audio length than the video length. Sometimes the difference can be up to 1 second.


My problem is that I have to chain all the cuts I make, and this difference in duration causes a very annoying lag between one video and another.


It also happens that there is asynchronousness between audio and video in the cuts. The higher the
-ss
value, the more the audio anticipates the video.

I state that I am not a professional but from what I have read it could be a problem of different PTS between audio and video, but I'm not sure. However, I am sure that the problem arises from the capture of the stream perhaps not in accordance with my needs.


How can I solve ?


-
ffmpeg opening video file at lower bitrate
23 février 2018, par Xeno BossI have a php page which runs ffmpeg from shell with the exec() function as follows
ffmpeg -i rtsp://address:port/stream -b:v 512k output.mp4
and since many people could visit the page at once it could fire up many ffmpeg processes for different rtsp streams simultaneously which will eat up my bandwidth.
Is there some way for me to reduce the bitrate at which the streams are opened ?Note : I assumed the bitrate is the most effective factor for reducing bandwidth, please correct me if you have any better suggestions.