
Recherche avancée
Autres articles (75)
-
Soumettre bugs et patchs
10 avril 2011Un logiciel n’est malheureusement jamais parfait...
Si vous pensez avoir mis la main sur un bug, reportez le dans notre système de tickets en prenant bien soin de nous remonter certaines informations pertinentes : le type de navigateur et sa version exacte avec lequel vous avez l’anomalie ; une explication la plus précise possible du problème rencontré ; si possibles les étapes pour reproduire le problème ; un lien vers le site / la page en question ;
Si vous pensez avoir résolu vous même le bug (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
Sur d’autres sites (3764)
-
ffmpeg dshow Frame dropped on removal and re-insertion of headset
11 février 2019, par Debendra ModiI am using avformat_open_input and av_read_frame to capture audio frames from my usb headset (speaker and mic - "audio=virtual-audio-capturer" and my usb mic device) and then further processing of the frame. Everything works fine. I can run my code for days without any issue. However, when I remove my headset from the usb jack, as expected av_read_frame gives an error code -5.
At this time, I close my input device using avformat_close_input and try to open the input device. This continues to fail till I re-insert my headset. I am then again able to capture the frames and process them. However, after some time, I get messages as follows from the ffmpeg library -
[dshow @ 0a529040] real-time buffer [virtual-audio-capturer] [audio input] too full or near too full (99% of size : 3041280 [rtbufsize parameter]) ! frame dropped !
It appears dshow continues to capture frames although I have closed the input. Most forums mention to increase the rtbufsize, but that may not be a proper solution specially if I want to remove my headset for long duration.
Isn’t there any way to stop dshow from capturing frames so that i am able to run my code without dropping frames, regardless of how many times or how long I remove the headset ?
Thanks in advance.
-
How to see what default settings are set in FFMPEG Libx264/265 ? [closed]
4 septembre 2023, par Олег Ю.I want to see the full settings that codecs use. Otherwise, you constantly need to try to encode and see the result.


I tried


-h encoder=libx265
x265 --help




It shows a little information. The same is of interest for libx264.


-
subprocess.call can't find file/shutil.which failed in pycharm
4 décembre 2022, par Percy YangI am trying to transform a mp3 to a wav file in pycharm using subprocess


import subprocess
subprocess.call(['ffmpeg', '-i','test.mp3','test.wav'])



It returns error of not finding file, so I change the
'ffmpeg'
to its path on my pc and it work.

The problem is that I am making an app and others might install ffpmeg on other's location (since it is download with zip and can be unzip at any place), but I don't know how to get its full path.


I tried using
os
module

import os
print(os.path('ffmpeg.exe'))



but it seems like it is not able to get the path of exe


Traceback (most recent call last):
 File "C:\Users\Percy\PycharmProjects\APP\test3.py", line 8, in <module>
 print(os.path('ffmpeg.exe'))
TypeError: 'module' object is not callable
</module>


I also tried
shutil
module

import shutil
print(shutil.which('ffmpeg'))
print(shutil.which('ffmpeg.exe'))



but it returns 2 None (prob wrong cause I am 100% sure I have installed ffmpeg)


None
None



I want to ask if there is any way to get the full path of ffmpeg in pycharm or any method that I can make ffmpeg install in designated path with the app when it is downloaded by users