
Recherche avancée
Médias (16)
-
#7 Ambience
16 octobre 2011, par
Mis à jour : Juin 2015
Langue : English
Type : Audio
-
#6 Teaser Music
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#5 End Title
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#3 The Safest Place
16 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#4 Emo Creates
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
-
#2 Typewriter Dance
15 octobre 2011, par
Mis à jour : Février 2013
Langue : English
Type : Audio
Autres articles (79)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (11897)
-
How can I get Python to find ffprobe ?
4 novembre 2018, par tburrows13I have
ffmpeg
andffprobe
installed on my mac (macOS Sierra), and I have added their path to PATH. I can run them from terminal.I am trying to use
ffprobe
to get the width and height of a video file using the following code :import subprocess
import shlex
import json
# function to find the resolution of the input video file
def findVideoResolution(pathToInputVideo):
cmd = "ffprobe -v quiet -print_format json -show_streams"
args = shlex.split(cmd)
args.append(pathToInputVideo)
# run the ffprobe process, decode stdout into utf-8 & convert to JSON
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
ffprobeOutput = json.loads(ffprobeOutput)
# find height and width
height = ffprobeOutput['streams'][0]['height']
width = ffprobeOutput['streams'][0]['width']
return height, width
h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
print(h, w)I am sorry I cannot provide a MCVE, as I didn’t write this code, and I don’t really know how it works.
It gives the following error :
Traceback (most recent call last):
File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 21, in <module>
h, w = findVideoResolution("/Users/tomburrows/Documents/qfpics/user1/order1/movie.mov")
File "/Users/tomburrows/Dropbox/Moviepy Tests/get_dimensions.py", line 12, in findVideoResolution
ffprobeOutput = subprocess.check_output(args).decode('utf-8')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 626, in check_output
**kwargs).stdout
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'ffprobe'
</module>If python is not reading from the PATH file, how can I specify where
ffprobe
is ?Edit :
It appears the python path is not aligned with my shell path.
Usingos.environ["PATH"]+=":/the_path/of/ffprobe/dir"
at the beginning of each program allows me to use ffprobe, but why might my python path not be the same as my shell path ? -
Could not find codec parameter for webcam in ffmpeg
2 novembre 2018, par Chris S.I am trying to save an image with my usb-scanner using ffmpeg and CentOS. For saving images, I am using the following command.
ffmpeg -f video4linux2 -i /dev/video0 -vframes 1 A.jpg
This is working for images that consists of mostly dark areas. When I take an image from a white background I always get the following error :
[video4linux2,v4l2 @ 0x1914c00] Dequeued v4l2 buffer contains corrupted data
(0 bytes).
Last message repeated 31 times
[video4linux2,v4l2 @ 0x1914c00] decoding for stream 0 failed
[video4linux2,v4l2 @ 0x1914c00] Could not find codec parameters for stream 0
(Video: mjpeg, none(bt470bg/unknown/unknown), 1600x1200, -5 kb/s):
unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
/dev/video0: could not find codec parametersFrom the —list-formats command I could archieve that my camera only supports MJPG, no YUV or anything else. My idea was to set the v4l2 settings correctly by :
v4l2-ctl --set-fmt-video=width=1600,height=1200,pixelformat=MJPG
But this was not helping in my case. I also though ffmpeg may have some problems with huge files, but as I found out, white images use less space than those dark ones. The scanners name is HoverCam.
I hope someone can help me with that.
-
command not working to find duration of the video file in android ?
25 octobre 2018, par Dinesh SI want to find duration of the video file. For this purpose i used the below command.
It is working file in Desktop. While running in android.It is showing error. I also attached error message . can anyone able to tell me why it is not working ?execFFmpegBinary("-i "+file.getAbsolutePath()+" 2>&1 | find \"Duration\"");
//Function used to run command
private static void execFFmpegBinary(final String command)
{
try
{
ffmpeg.execute(command, new ExecuteBinaryResponseHandler()
{
@Override
public void onFailure(String s)
{
Log.d(TAG, "FAILED with output : " + s);
}
@Override
public void onSuccess(String s)
{
Log.d(TAG, "SUCCESS with output : " + s);
}
@Override
public void onProgress(String s)
{
Log.d(TAG, "Started command : ffmpeg " + command);
Log.d(TAG, "progress : " + s);
}
@Override
public void onStart()
{
Log.d(TAG, "Started command : ffmpeg " + command);
}
@Override
public void onFinish()
{
Log.d(TAG, "Finished command : ffmpeg " + command);
}
});
}
catch (FFmpegCommandAlreadyRunningException e)
{
// do nothing for now
Log.i(TAG,"Command Already running");
}
}Error Message :
[NULL @ 0xac11acd0] Unable to find a suitable output format for '2>&1'
2>&1: Invalid argument