
Recherche avancée
Autres articles (66)
-
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 (...) -
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Configuration spécifique pour PHP5
4 février 2011, parPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)
Sur d’autres sites (10918)
-
How to enable GPU acceleration in FFmpeg when using loudnorm filter
27 décembre 2022, par Anh Duc NgI'm building a service to automatically normalize the loudness of audio to -16LUFS using FFmpeg, but it takes too much time to process audio using the loudnorm filter of FFmpeg. Is there any way to use loudnorm with GPU ? I installed GPU-supported FFmpeg following this guide from NVIDA but do not know how to enable GPU acceleration.


My code :


ffmpeg -i /path/to/input.mp4 -af loudnorm=I=-16:dual_mono=true:TP=-1.5:LRA=11 /path/to/output.mp4



-
Autostart Ffmpeg when I connect to Red5 ? [on hold]
6 novembre 2013, par Alex ScottI have setup Red5 media server on my server along with ffmpeg and I can connect to my Red5 server using Flash Media Encoder and I can view my stream within my website.
My problem is that I know you can now use ffmpeg to convert the stream into segmented files and create the m3u8 playlist.
Unfortunately, my stream is not live 24/7, only on weekends, so I want to know if it is possible to automatically start the ffmpeg decoding process when the stream is active and end it when the stream finishes ?
The website which I am using this on is Official Sound FM.
Thanks in advance for helping me with this matter and if anyone should require my services to setup a similar streaming service with them, please don't hesitate to ask me.
-
Uploading video with Rails/Paperclip to Heroku/S3
17 octobre 2015, par Corey TegelerI’ve been failing at uploading a video in production mode on Heroku for way too long, testing local works great with resizing and thumbnail creation. Images also work fine going to my S3 bucket, so the credentials are all okay.
Here are the logs I usually get from the code used below. Incidentally, the attempt right before I got these logs (without changing any code and using the same test video), the video made it to AWS, just without the resizing or thumbnail creation. But that was the only time I have even made it that far, and this failed upload and 500 error immediately happened after.
$ heroku logs
2015-08-06T15:38:39.732913+00:00 app[web.1]: Started POST "/work/create" for 104.162.101.0 at 2015-08-06 15:38:39 +0000
2015-08-06T15:38:39.696998+00:00 app[web.1]: source=rack-timeout id=dd06eb06-cad5-4236-8788-e5f59f7fe631 wait=7850ms timeout=15000ms service=0ms state=active
2015-08-06T15:38:39.734677+00:00 app[web.1]: Processing by WorksController#create as HTML
2015-08-06T15:38:39.734744+00:00 app[web.1]: Parameters: {"utf8"=>"✓", "authenticity_token"=>"9edyQVZm68aW+majARmNcDR1dwpE59ZrWEZ4/G07ADYhlZyYiJ+RwYK4GBguQZbrlS6J4yDbMsMIxcvWLD3aUA==", "work"=>{"position"=>"", "media_type"=>"video", "video"=>#, @original_filename="FA14 final_compilation_mg4d_H.264.mp4", @content_type="video/mp4", @headers="Content-Disposition: form-data; name=\"work[video]\"; filename=\"FA14 final_compilation_mg4d_H.264.mp4\"\r\nContent-Type: video/mp4\r\n">, "designer"=>""}}
2015-08-06T15:38:40.030596+00:00 heroku[router]: at=info method=POST path="/work/create" host=purchasedesign.herokuapp.com request_id=dd06eb06-cad5-4236-8788-e5f59f7fe631 fwd="104.162.101.0" dyno=web.1 connect=1ms service=8181ms status=500 bytes=192
2015-08-06T15:38:40.017315+00:00 app[web.1]: Command :: file -b --mime '/tmp/9b4d56c6bf75dc6718768cda6940025a20150806-3-14gq1uq.mp4'
2015-08-06T15:38:40.025037+00:00 app[web.1]: [AV] Running command: if command -v ffmpeg 2>/dev/null; then echo "true"; else echo "false"; fi
2015-08-06T15:38:40.028329+00:00 app[web.1]:
2015-08-06T15:38:40.028332+00:00 app[web.1]: Av::UnableToDetect (Unable to detect any supported library):
2015-08-06T15:38:40.028333+00:00 app[web.1]: app/controllers/works_controller.rb:18:in `create'
2015-08-06T15:38:40.028335+00:00 app[web.1]:
2015-08-06T15:38:40.028336+00:00 app[web.1]:
2015-08-06T15:38:40.028629+00:00 app[web.1]: source=rack-timeout id=dd06eb06-cad5-4236-8788-e5f59f7fe631 wait=7850ms timeout=15000ms service=332ms state=completed
2015-08-06T15:38:40.023226+00:00 app[web.1]: [AV] Running command: if command -v avprobe 2>/dev/null; then echo "true"; else echo "false"; fi
2015-08-06T15:38:40.027118+00:00 app[web.1]: Completed 500 Internal Server Error in 292msmodels/work.rb
has_attached_file :video,
:styles => {
:mp4 => {
:geometry => "640x480",
:format => 'mp4',
},
:thumb => {
:geometry => '300x300',
:format => 'jpg',
:time => 10
}
},
:processors => [:transcoder]Gemfile
gem 'aws-sdk', '< 2.0'
gem 'paperclip', '~> 4.2'
gem 'paperclip-ffmpeg', '~> 1.0.0'
gem 'paperclip-av-transcoder'
gem 'delayed_paperclip'
gem 'rmagick', '~> 2.13.4'config/environments/production.rb
config.paperclip_defaults = {
:storage => :s3,
:s3_credentials => {
:bucket => ENV['S3_BUCKET_NAME'],
:access_key_id => ENV['AWS_ACCESS_KEY_ID'],
:secret_access_key => ENV['AWS_SECRET_ACCESS_KEY']
}
}Any help would be incredible