
Recherche avancée
Autres articles (64)
-
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (...) -
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 (11657)
-
How do I concat two video mp4 files, each of which has an audio of different sample rates with ffmpeg
14 août 2020, par GeoI have two videos : video1.mp4 and video2.mp4 in the configured txt file, both videos have mp3 audios :
video1.mp4 has : Audio : mp3, 32000 Hz, mono, fltp, 48 kb/s
video2.mp4 has : Audio : mp3, 24000 Hz, mono, fltp, 32 kb/s
I need to keep the different sample rates since I need to change the pitch to make it sound different from the real voice of the person, now I tried to merge the two videos by concatenating them :


ffmpeg -safe 0 -f concat -segment_time_metadata 1 -i videoconf.txt -vf select=concatdec_select -af aselect=concatdec_select,aresample=async=1 -y videoout.mp4


but I got a lot of errors like these :


[aac @ 0x730e491e00] channel element 2.12 is not allocated


index.js:81 Error while decoding stream #0:1 : Invalid data found when processing input


index.js:81 [aac @ 0x730e491e00] TYPE_FIL : Input buffer exhausted before END element found


index.js:81 Error while decoding stream #0:1 : Invalid data found when processing input


......


So how can I concatenate multiple videos with different audio sample rates inside each video ?
By the way, when the sample rates are the same for all the audios inside each video, the concat works like a charm.


Thanks


-
FFMPEG Sample example does not work
27 juin 2017, par Davood FalahatiI have been struggling in getting ffmpeg sample to work. I had a tough time upgrading sample code according to the latest commits. I have uploaded my code here
When I run this code, however, I get the following error :
[libx264 @ 0xee2400] broken ffmpeg default settings detected
[libx264 @ 0xee2400] use an encoding preset (e.g. -vpre medium)
[libx264 @ 0xee2400] preset usage: -vpre <speed> -vpre <profile>
[libx264 @ 0xee2400] speed presets are listed in x264 --help
[libx264 @ 0xee2400] profile is optional; x264 defaults to high
</profile></speed>And the av_codec_open2 function fails to open the video and find the proper codec. Here is the specifications of my video, if it helps :
Output #0, mov, to '/home/dfalahati/Videos/melissa.MOV':
Stream #0:0: Video: h264, yuv420p, 352x288, q=2-31, 400 kb/s, 25 tbc
Stream #0:1: Audio: aac, 44100 Hz, 2 channels, 64 kb/sI used @gabi-davar answer here to make the code run, but there are some unfamiliar errors still with it. Is there any advice how to solve it ?
-
Issue with running codebook background subtraction sample program in OpenCV
3 février 2013, par Anderson neoWhile I am trying to run the sample code in opencv samples directory for codebook based background subtraction in OpenCV. I am getting the following message on running it with the
default tree.avi file as input."Truncating packet of size 15414 to 1"
I am using 32bit machine with Ubunutu and OpenCV version 2.4.9.
I am not sure if their is an issue with my ffmpeg installation.
Any help would be appreciated.
Many Thanks !