
Recherche avancée
Autres articles (74)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...)
Sur d’autres sites (14971)
-
Call libffmpeg.so through command line on Android
1er décembre 2013, par user3032481I google for this github page : https://github.com/vecio/FFmpeg-Android
And now I had built some latest libffmpeg.so for different versions of arms(ARMv7,vfp,neon,armv6).
But I can't use these in my Android directly.Why I tried to call libffmpeg.so directly instead of jni ?
Because I found a libffmpeg.so from the internet that I can directly use in my project by java.lang.ProcessBuilder and java.lang.Process, and it doesn't need jni at all.
You can get this .so file through this link : http://goo.gl/n0Y1YUI didn't change any configure parameter in the FFmpeg-Android.sh on the github above.
I think that these libffmpeg.so files I compiled can't deal with command line(they are just libraries.).
I don't know how to modify it(Maybe modify the configure parameters).
Does anyone know ? -
Merge multiple videos without using command line-FFMPEG [on hold]
19 avril 2018, par Valgrind1691I am developing an android application which has video processing features involved.
For video processing I have been working with FFMPEG library. As for now ffmpeg is directly being consumed by android and the processing is being done by
framing commands and executing it using ffmpeg executable running in the background.
This approach has two drawbacks :1) Video Processing time is huge even after trying ultrafast and other options to reduce processing
2) APK size is large
For solving two major problems we seek c/c++ native implementation for video processing by using the ffmpeg code.
The C/C++ code will be cross compiled for android and iOS platforms and provided to mobile platform as a library (.so file in case of Android)
The .so file will have-
jni for communication between Android(java) and c/c+
-
c++ code for functionality implementation of video processing. All
the video processing i.e scaling, transcoding, merging,
cropping etc will be done by C/C++ code.
I have a query around the C/C++ side , how can we use ffmpeg not to process using command line rather we can define algorithms for the process. Transcoding, muxing etc I have achieved looking into the examples of ffmpeg but I am still unable to figure out algorithm for merging of multiple(upto 6) videos in a single video file.
I have looked into every question posted in this context and none helped.
Can someone help me merge videos using source code of ffmpeg without using command line ? Any help is appreciated. -
-
How to prevent ffmpeg lib from printing in a command line when playing audio with a discord bot ?
26 janvier 2021, par ICookieII have a question about ffmpeg. I wrote a discord bot with discord.py lib, which plays audio when somebody joins a channel. I wanted the program to run on my computer in the background, so no console log will appear. Therefore I start the python script using a .bat and a .vbs file, so the process runs in the background. This works fine so far. The problem is that the ffmpeg lib (I assume it's the ffmpeg lib...) prints out a line ("[mp3 @ 0000020168869040] Estimating duration from bitrate, this may be inaccurate") in the command prompt when it plays audio, so everytime somebody joins a channel a command prompt appear on my desktop for 1 sec only to show this line, afterwards it closes, but it's really annoying that it shows up everytime. I was wondering if there is a way to prevent the ffmpeg lib to print out this line, but i couldnt find out how so far.
Can someone help me with that ?
Thanks Cookie


my Code :


def getAudioSource(source):

 audio_source = discord.FFmpegPCMAudio(executable="E:/PythonPrograms/DiscordBotHallo/Dateien/ffmpeg-win64-v4.2.2.exe", source=source)
 return audio_source


def getRandomGreeting():

 list = os.listdir("E:/PythonPrograms/DiscordBotHallo/Begrüßungen")
 Greeting = list[random.randrange(len(list))]
 Greeting = "Begrüßungen/" + Greeting
 return Greeting


@client.event
async def on_voice_state_update(member, before, after):

 if before.channel == None and member.id != 801800464756768768:
 greetingPath = getRandomGreeting()
 audio_source = getAudioSource(greetingPath)
 vc = await after.channel.connect()
 vc.play(audio_source)
 while vc.is_playing():
 await asyncio.sleep(1)
 vc.stop()
 await vc.disconnect()