
Recherche avancée
Médias (91)
-
Spoon - Revenge !
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
My Morning Jacket - One Big Holiday
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Zap Mama - Wadidyusay ?
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
David Byrne - My Fair Lady
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Beastie Boys - Now Get Busy
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Granite de l’Aber Ildut
9 septembre 2011, par
Mis à jour : Septembre 2011
Langue : français
Type : Texte
Autres articles (82)
-
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)
Sur d’autres sites (4622)
-
mix two audio files fmpeg Android
21 mars 2016, par Adroid FreakI’m using ffmpeg for android and I’m trying to mix two audio files but I’m getting the following error
[NULL @ 0xb60c8c00] Unable to find a suitable output format for ' -filter_complex amerge -c:a libmp3lame -q:a 4 '
-filter_complex amerge -c:a libmp3lame -q:a 4 : Invalid argumentThis is the ffmpeg library details when
ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
built on Dec 22 2014 21:35:30 with gcc 4.8 (GCC)
configuration: --target-os=linux --cross-prefix=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/android/Downloads/ffmpeg-android-pie/toolchain-android/sysroot --enable-decoders --enable-encoders --enable-filters --disable-indevs --enable-indev=lavfi --disable-outdevs --enable-hwaccels --enable-ffmpeg --enable-pic --enable-libx264 --enable-version3 --disable-debug --disable-ffserver --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/android/Downloads/ffmpeg-android-pie/ffmpeg-pkg-config --prefix=/home/android/Downloads/ffmpeg-android-pie/build/armeabi-v7a --extra-cflags='-I/home/android/Downloads/ffmpeg-android-pie/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/android/Downloads/ffmpeg-android-pie/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
libavutil 54. 7.100 / 54. 7.100
libavcodec 56. 1.100 / 56. 1.100
libavformat 56. 4.101 / 56. 4.101
libavdevice 56. 0.100 / 56. 0.100
libavfilter 5. 1.100 / 5. 1.100
libswscale 3. 0.100 / 3. 0.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 0.100 / 53. 0.100My function is this
public Clip mixTwoAudioFiles (String audio1, String audio2, Clip out, ShellCallback sc) throws Exception
{
ArrayList<string> cmd = new ArrayList<string>();
cmd.add(mFfmpegBin);
cmd.add("-y");
cmd.add("-i");
cmd.add(audio1);
cmd.add("-i");
cmd.add(audio2);
// cmd.add("-strict");
// cmd.add("-2");//experimental
cmd.add(" -filter_complex amerge -c:a libmp3lame -q:a 4 ");
File fileOut = new File(out.path);
cmd.add(fileOut.getCanonicalPath());
execFFMPEG(cmd, sc);
return out;
}
</string></string>and the output command is this
ffmpeg -y -i /storage/emulated/0/audio1.mp3 -i /storage/emulated/0/audio2.3gp -strict -2 -filter_complex amerge -c:a libmp3lame -q:a 4 /storage/emulated/0/out.mp4
Now as you can see above I don’t have libmp3lame enabled but it looks like the error above is not related to that, correct ?
I tried many other filter variations but all are failing with the same error, the questions I have are as follow :
1- Since I don't have libmp3lame, what is the next option? please note that mp3 is not mandatory here.
2- If it is possible can you please show me how? -
Python Send stdout and stderr to Multiple files using stored in Variable
17 avril 2021, par D0nHere is my scripts


csv_location = '/home/scripts/streams.csv'
ffmpeg_location = '/usr/bin/ffmpeg'
ffmpeglogs = '/home/scripts/ffmpeglog/'

# Open the streams list csv file
with open(csv_location) as csv_file:
 csv_reader = csv.reader(csv_file, delimiter=',')
 for row in csv_reader:
 ffmpeg_log = (ffmpeglogs + row[0]) # set the ffmpeg log to be named the stream name
 # Open log file for writing
 with open(ffmpeg_log, 'wb') as ffmpeg_output: 
 # Iterate through streams list
 for row in csv_reader:
 print(row)
 stream_output = (row[0] + ".mpeg") # stream output variable
 # Subprocess record 1 stream at a time & send the output t0 stdout & stdeer
 ffmpeg_instance = subprocess.Popen([ffmpeg_location, '-t', '10', '-i', row[1], stream_output], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
 # sent output to ffmpeg log
 ffmpeg_output.write(ffmpeg_instance.communicate()[1])



Here is my CSV File


Name,RTSP_URL
stream1,rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
stream3,rtsp://wowz.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
stream4,rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov



So I have a script that reads a CSV file and ffmpeg records the video for 10 seconds. Then spits the output of the FFMPEG to a file. I need each camera to have its own file. Really just to log FFMPEG output for each camera. But my issue is that the FFMPEG output for multiple cameras get written to 1 file.


Here is what I want to see in /home/scripts/ffmpeglog/


stream1 stream3 stream4



Here's what I'm actually what I see in /home/scripts/ffmpeglog/


name stream1



-
Choose download resolution in m3u8 list with ffmpeg
31 mars 2024, par Bruno AndradeI'm trying to download video from a m3u8 playlist using ffmpeg but I do not know how to choose the resolution to download. Currently the command is downloading the highest version



the command I am using is :



/home/user/bin/ffmpeg -user_agent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0" -i "https://sitevideo.com/list.m3u8" -c copy "/home/file/video.ts"




My list is this



#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=400000,NAME="low"
size1.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=800000,NAME="med"
size2.m3u8
#EXT-X-STREAM-INF:BANDWIDTH=1900000,NAME="best"
size3.m3u8