
Recherche avancée
Autres articles (30)
-
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 (...) -
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...)
Sur d’autres sites (3629)
-
Problem in the audio file created by converting the wav audio file to amr-wb using ffmpeg
31 juillet 2019, par starlordI want to compress the wav audio file for which I am converting it into amr-wb file (not using simple amr because I need better quality audio files).
For a few audio files there is some noise after conversion (wav file to amr-wb file with 16k Hz sampling rate and 12.65kbits/s bit rate) due to which android music player is crashing while playing these files.
But if I convert these audio files with sampling rate of 16k Hz and 19.85kbits/s then the audio file is playing on android but increasing the file size by 30-40%.
What is the reason of this behavior and how to create compressed amr audio file with maximum quality ?
The command used to create the amr file :
ffmpeg -i "0.wav" -acodec libvo_amrwbenc -ar 16000 -ab 12.65k "0.amr"
Also is there a tool to check the validity of headers of amr audio file ?
-
How to know if uploaded file is a video file [closed]
20 octobre 2012, par Gage ThomsonPossible Duplicate :
How do I validate that an uploaded file is a video ?How to know using exec with ffmpeg and php if the uploaded file or any file on the hard disk is a video or not ?
Turned out to use finfo for checking the mime, unsure if it is the best solution, but it appears everyone is happy by giving down votes instead of reasoning.
Well, some of my videos have a mime of application octet-stream which makes finfo not the solution, LIKE I ASKED. I suppose with ffmpeg there might be an
is_video()
function somehow just that I couldn't find it.Trouble : http://mimeapplication.net/octet-stream
-
FFMPEG says file does not exist, but, it exists
11 décembre 2013, par cmwI'm using FFMPEG via the streamio-FFMPEG Rails gem – https://github.com/streamio/streamio-ffmpeg
For some reason, when trying to transcode a video file (that does really exist), FFMPEG says the file does not exist.
Here's some output from the Rails console, demonstrating my headache :
1.9.3p125 :001 > File.exist?("/Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4")
=> true
1.9.3p125 :002 > FFMPEG::Movie.new("/Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4")
Errno::ENOENT: No such file or directory - ffmpeg -i /Applications/MAMP/htdocs/video-app/public/uploads/tmp/20131208-1416-1234-0984/videotest.mp4
from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:202:in `spawn'
from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:202:in `popen_run'
from /Users/my-comp/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/open3.rb:90:in `popen3'
from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/streamio-ffmpeg-1.0.0/lib/ffmpeg/movie.rb:17:in `initialize'
from (irb):2:in `new'
from (irb):2
from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands/console.rb:47:in `start'
from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands/console.rb:8:in `start'
from /Users/my-comp/.rvm/gems/ruby-1.9.3-p125@video-app/gems/railties-3.2.8/lib/rails/commands.rb:41:in `<top> '
from script/rails:6:in `require'
from script/rails:6:in `<main>'
1.9.3p125 :003 >
</main></top>Any help would be appreciated.