
Recherche avancée
Autres articles (53)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
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 (7948)
-
FFmpeg four audiochannels but the first two are static noise
2 octobre 2014, par sebastianI have a handful of videos with one audio stream in which includes four audio channels. I am having trouble in getting the last two channels wherein lies the actual sound. I don’t want to create wave files or anything like that I just want to create a video out of it with the two channels correct channels (three and four). I was thinking about using the
-map 0:a:2
and-map 0:a:3
but it does not work quite as well as I had hoped for. Does anyone know a better way or what I am doing wrong ?
Any help would be appreciated.Audio
ID : 2
Format : PCM
Format settings, Endianness : Big
Format settings, Sign : Unsigned
Codec ID : lpcm
Duration : 3mn 54s
Bit rate mode : Constant
Bit rate : 6 144 Kbps
Channel(s) : 4 channels
Sampling rate : 48.0 KHz
Bit depth : 24 bits
Stream size : 172 MiB (3%)
Language : English
Encoded date : UTC 2014-09-25 16:54:09
Tagged date : UTC 2014-09-25 16:55:41 -
Ruby Video Upload - Cocaine error when trying to transcode video
21 janvier 2015, par ScottagecheezeI am having a bit of trouble when it comes to transcoding a video being uploaded by Paperclip to S3. I have tried both
gem 'paperclip-ffmpeg'
andgem 'paperclip-av-transcoder
. Both fail when I try to add a new style ::styles => {
:medium => { :geometry => "640x480", :format => 'flv' }
},
:s3_credentials => {:bucket => ENV['S3_BUCKET_NAME'], :access_key_id => ENV['ACCESS_KEY_ID'], :secret_access_key => ENV['SECRET_ACCESS_KEY']},
:processors => [:ffmpeg],
:path => ":id/:style/:style_:basename.:extension"I am able to upload my video as is but I am not able to transcode them. Here is the error that it gives me, sorry for the link, I am not able to post images yet.
Essentially I want to be able to upload a video in any format and transcode it into a specific format. Any help is greatly appreciated.
Thanks
-
Does the incoming codec or audio-video sync matter when encoding from Xvfb using FFMPEG ?
15 décembre 2022, par NavHow I'm capturing :

I'm using Xvfb on Linux, to capture a video and audio from an app that is also running on Linux. I'm using-f x11grab
when capturing that video headlessly from Xvfb's frambuffer using FFMPEG, and encoding it using a few other parameters like-c:v libx264 -pix_fmt yuv420p
.

The questions :

Since I'm reading from Xvfb framebuffer :

- 

- Would it matter that the app uses
SVC
to encode the video, and I'm using H.264 ? - Would it matter if I use a different framerate than the app is using ?
- Would it matter if I use a different
pix_fmt
than what the app is using ?








Reason for asking :



As shown in the image (blue is the app, red is FFMPEG, green is Xvfb) ;

- 

- The CPU percentage consumed by FFMPEG shoots up when the app's CPU percentage shoots up. I've also encountered audio being ahead of video for some participants, but I'm unable to figure out whether it's due to network lag or due to FFMPEG's encoding.
- Also, the aim is to reduce CPU consumption, so I was looking to see if I could do FFMPEG encoding in the same format as the app.






- Would it matter that the app uses