
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (48)
-
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...)
Sur d’autres sites (8056)
-
Installation of FFMPEG for Python in WIndows
10 février 2024, par user3587175I'm trying to use this python video converter and I couldn't even run the test. I read in the manual that I had to install FFMPEG separately so I did (I created the folder in C :\, the enviroment variable "path" and tested it and worked) but still doesn't work.



When I run the command :



python setup.py test




I get this :



Traceback (most recent call last):
 File "setup.py", line 51, in <module>
 packages=['converter'],
 File "C:\Python27\lib\distutils\core.py", line 151, in setup
 dist.run_commands()
 File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
 self.run_command(cmd)
 File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
 cmd_obj.run()
 File "setup.py", line 20, in run
 raise Exception('tests failed')
Exception: tests failed
</module>



When I run this example code :



from converter import Converter
c = Converter()

info = c.probe('test1.ogg')

conv = c.convert('test1.ogg', '/tmp/output.mkv', {
 'format': 'mkv',
 'audio': {
 'codec': 'mp3',
 'samplerate': 11025,
 'channels': 2
 },
 'video': {
 'codec': 'h264',
 'width': 720,
 'height': 400,
 'fps': 15
 }})

for timecode in conv:
 print "Converting (%f) ...\r" % timecode




I get this :



Traceback (most recent call last):
 File "C:\Users\USER\worspace_pyth\cosa\prueba1.py", line 3, in <module>
 c=Converter()
 File "C:\Python27\converter\__init__.py", line 27, in __init__
 ffprobe_path=ffprobe_path)
 File "C:\Python27\converter\ffmpeg.py", line 345, in __init__
 raise FFMpegError("ffmpeg binary not found: " + self.ffmpeg_path)
converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg
</module>



I can't understand what else I need to do for this to work. Thanks for your help.


-
Installation of FFMPEG for Python in WIndows
15 janvier 2017, par user3587175I’m trying to use this python video converter and I couldn’t even run the test. I read in the manual that I had to install FFMPEG separately so I did (I created the folder in C :\, the enviroment variable "path" and tested it and worked) but still doesn’t work.
When I run the command :
python setup.py test
I get this :
Traceback (most recent call last):
File "setup.py", line 51, in <module>
packages=['converter'],
File "C:\Python27\lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "setup.py", line 20, in run
raise Exception('tests failed')
Exception: tests failed
</module>When I run this example code :
from converter import Converter
c = Converter()
info = c.probe('test1.ogg')
conv = c.convert('test1.ogg', '/tmp/output.mkv', {
'format': 'mkv',
'audio': {
'codec': 'mp3',
'samplerate': 11025,
'channels': 2
},
'video': {
'codec': 'h264',
'width': 720,
'height': 400,
'fps': 15
}})
for timecode in conv:
print "Converting (%f) ...\r" % timecodeI get this :
Traceback (most recent call last):
File "C:\Users\USER\worspace_pyth\cosa\prueba1.py", line 3, in <module>
c=Converter()
File "C:\Python27\converter\__init__.py", line 27, in __init__
ffprobe_path=ffprobe_path)
File "C:\Python27\converter\ffmpeg.py", line 345, in __init__
raise FFMpegError("ffmpeg binary not found: " + self.ffmpeg_path)
converter.ffmpeg.FFMpegError: ffmpeg binary not found: ffmpeg
</module>I can’t understand what else I need to do for this to work. Thanks for your help.
-
Videos to jpg image ffmpeg error av_interleaved_write_frame
26 mai 2021, par Loic BchI'm making a program in c# in which I'm using ffmpeg to cut video into frames.
I'm doing it this way in my program :


ffmpegPath = "C:\\Program Files (x86)\\ffmpeg\\ffmpeg32.bat";
string videoPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "video.avi");

Process process = new Process();
 process.StartInfo.FileName = ffmpegPath;
 process.StartInfo.Arguments = @"-i " + videoPath + " -qscale:v 2 image%03d.jpg";
 //process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
 process.Start(); // On cut la vid avec ffmpeg 



This code works perfectly fine in debugging mod and display all my images
Now I want to make a setup to install the program, so I'm using InnoSetup to make a setup but when I install the program and try to run the same code it display the command prompt with ffmpeg error :
"cannot display image2.jpg : av_interleaved_write_frame() : I/O error occurred
ffmpeg error


if someone can help me on why I'm getting this error in release and not in debug mode ? Why ffmpeg can't execute the request correctly after the setup since I'm changing nothing ?


I already tried to double the % on ffmpeg request but it didn't work, all the paths are correct and the input file is not damaged or anything.
The ffmpeg request works fine when I execute it directly from the prompt.