
Recherche avancée
Médias (1)
-
Sintel MP4 Surround 5.1 Full
13 mai 2011, par
Mis à jour : Février 2012
Langue : English
Type : Video
Autres articles (78)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
Configurer la prise en compte des langues
15 novembre 2010, parAccéder à la configuration et ajouter des langues prises en compte
Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (5463)
-
is there any solution of the below problem
18 mai 2020, par SonuThis is code and I'm getting the following issue filename is "ply_audio.py"



from pydub import AudioSegment
 ># read/write data
 > data = AudioSegment.from_file(file="one.wav",format="wav")
 >data.export("new_test.wav")
 > python ply_audio.py

C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't
 find ffmpeg or avconv - defaulting to ffmpeg, but may not work

warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn't
 find ffprobe or avprobe - defaulting to ffprobe, but may not work
 warn("Couldn't find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)

Traceback (most recent call last):
 File "ply_audio.py", line 4, in <module>
data = AudioSegment.from_file(file="one.wav",format="wav")

File "C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\site-packages\pydub\audio_segment.py", line 685, i
n from_file

info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)

 File "C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\site-packages\pydub\utils.py", line 274, in mediainfo_json res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)

File "C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 854, in __init__
 self._execute_child(args, executable, preexec_fn, close_fds,

File "C:\Users\raj\AppData\Local\Programs\Python\Python38\lib\subprocess.py", line 1307, in _execute_child
 hp, ht, pid, tid = _winapi.CreateProcess(executable, args,

FileNotFoundError: [WinError 2] The system cannot find the file specified

</module>


-
What is the best solution of motion interpolation by CPU ?
31 mars 2022, par Stacker DragonI've been using FFmpeg's "minterpolate" filter to implement motion interpolation to get a higher frame rate for a while. However, because "minterpolate" doesn't support hardware acceleration and multithread, it is very slow to finish that process, particularly on devices that only have CPU, which make the situation worse because I cannot use neural network such as DAIN(by SJTU).



Thus, I would like to ask for some alternatives for "minterpolate" filter, which is supposed to be faster and has a decent quality.



I knew SVP can do, but it is not open-sourced and therefore it cannot be integrated to other software.


-
Split the video in 30 second equal parts in android using the Ffmpeg
21 novembre 2019, par corgiwooerI am on a video editing project. In which I want to edit the video into 30 sec equal parts. Right now I am using the RangeSeekBar to get the starting and ending point which works perfectly fine. But now I want to split the video into equal parts but don’t know how to do it. This is what I tried
private void executeCutVideoCommand(int startMs, int endMs) {
File moviesDir = Environment.getExternalStoragePublicDirectory(
Environment.DIRECTORY_MOVIES
);
String filePrefix = "cut_video";
String fileExtn = ".mp4";
String yourRealPath = getPath(VideoCutterActivity.this, selectedVideoUri);
File dest = new File(moviesDir, filePrefix + fileExtn);
int fileNo = 0;
while (dest.exists()) {
fileNo++;
dest = new File(moviesDir, filePrefix + fileNo + fileExtn);
}
filePath = dest.getAbsolutePath();
String[] complexCommand = {"-ss", "" + startMs / 1000, "-y", "-i", yourRealPath, "-t", "" + (endMs - startMs) / 1000,"-vcodec", "mpeg4", "-b:v", "2097152", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath};
execFFmpegBinary(complexCommand);
MediaScannerConnection.scanFile(VideoCutterActivity.this,
new String[] { filePath },
null,
new MediaScannerConnection.OnScanCompletedListener() {
public void onScanCompleted(String path, Uri uri) {
Log.i("ExternalStorage", "Scanned " + path + ":");
Log.i("ExternalStorage", "-> uri=" + uri);
}
});
}
/**
* Executing ffmpeg binary
*/
private 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);
Intent intent = new Intent(VideoCutterActivity.this, PreviewActivity.class);
intent.putExtra(FILEPATH, filePath);
startActivity(intent);
}
@Override
public void onProgress(String s) {
progressDialog.setMessage("progress : " + s);
}
@Override
public void onStart() {
progressDialog.setMessage("Processing...");
progressDialog.show();
}
@Override
public void onFinish() {
progressDialog.dismiss();
}
});
} catch (FFmpegCommandAlreadyRunningException e) {
// do nothing for now
}
}The above method takes the starting and the ending point and edits the video.
I also tried to add for loop for this purpose but it didnt workout for me.
cutVideo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
choice = 2;
if (selectedVideoUri != null) {
int start,end;
for (int i=0;i<=duration;i=i+30){
start=i;
end=start+30;
executeCutVideoCommand(start,end);
}
// executeCutVideoCommand(rangeSeekBar.getSelectedMinValue().intValue() * 1000, rangeSeekBar.getSelectedMaxValue().intValue() * 1000);
} else
Snackbar.make(mainlayout, "Please upload a video", 4000).show();
}
});Please can anyone tell me how to do it. Help is much appreciated