
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (112)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 (14640)
-
No option name near , Error parsing a filter description around
8 août 2024, par Aqib JavedI am trying to attach the captions files ( srt format ) to a video
if im running the same command on mac or windows, its working with -vf or -filter_complex but on android/IOS, its not working and throwing the same error


i am on Flutter and here is my code :


var tempDir = await getTemporaryDirectory();
var status = await Permission.storage.status;
if (!status.isGranted) {
 await Permission.storage.request();
}

final outputPath = "${tempDir.path}/outputWithCaptions.mp4";


const videoPath = "/storage/emulated/0/Download/english.mp4";
final subtitlePath = deepGramResponse.captionsPath.replaceAll('\'', '\\\'');
String command = "-y -i";
command = "$command '$videoPath'";
command = "$command -vf";
command = '$command "subtitles=\'$subtitlePath\'"';
command = "$command '$outputPath'";
 if (File(videoPath).existsSync() && File(subtitlePath).existsSync()) {
 FFmpegKit.executeAsync(command, (session) async {
 final returnCode = await session.getReturnCode();
 final output = await session.getOutput();
 final error = await session.getFailStackTrace();
 final logs = await session
 .getAllLogs()
 .then((value) => value.map((e) => e.getMessage()).toList());
 log('FFmpeg command executed with return code: $returnCode');
 if (ReturnCode.isSuccess(returnCode)) {
 log('Captions attached successfully');
 deepGramResponse.copyWith(
 videoPath: outputPath,
 );
 Get.to(() => VideoPlayerScreen(videoPath: outputPath));
 } else {
 log('FFmpeg command failed');
 log('Error output: $output');
 log('Error details: $error');
 log('Logs: $logs');
 Fluttertoast.showToast(
 msg: 'Something went wrong, please try again later');
 }
 });
} else {
 log('One or more files do not exist');
 Fluttertoast.showToast(msg: 'Subtitle or video file not found');
 return;
}



and here is the error :


, [AVFilterGraph @ 0x7b8a3dda90] No option name near '/data/user/0/com.example.blink/app_flutter/captions.srt'
 , [AVFilterGraph @ 0x7b8a3dda90] Error parsing a filter description around: 
 , [AVFilterGraph @ 0x7b8a3dda90] Error parsing filterchain 'subtitles='/data/user/0/com.example.blink/app_flutter/captions.srt'' around: 
 , Error reinitializing filters!
 , Failed to inject frame into filter network: Invalid argument
 , Error while processing the decoded data for stream #0:0
 , Conversion failed!



-
Extremely slow rendering time using Moviepy
15 janvier 2024, par pacorisasI'm trying to create the following : two stacked videos (one on top of each other) with subtitles (like those videos you see in tiktok) from an srt file. For this, I'm first taking the top and bottom video and creating a CompositeVideoClip :


clips_array([[video_clip], [random_bottom_clip]])



Then, I'm taking this CompositeVideoClip and using a generator, creating the SubtitlesClip which then I will add to another CompositeVideoClip :


sub = SubtitlesClip(os.path.join(temp_directory, f"subtitles.srt"), generator)
final = CompositeVideoClip([myvideo, sub.set_position(('center', 'center'))]).set_duration("00:02:40")



Lastly, I'm adding some more text-clips (just an small title for the video) and rendering :


video_with_text = CompositeVideoClip([final] + text_clips)
video_with_text.write_videofile(part_path, fps=30,threads=12,codec="h264_nvenc")



Here is the problem. I tried to render a video of 180 seconds (3 minutes) and the video takes up to hour and a half (80 minutes) which is wild. I tried some render settings as you can see like changing 'codec' and using all the 'threads' of my CPU.
I tried to not use so many CompositeVideoClips, I read that when you concatenate those the final render will suffer a lot, but I didn't manage to find a way "not to use" that many CompositeVideoClips, any idea ?


My PC is not that bad. 16GB, AMD Ryzen 5 5600 6-Core , NVIDIA 1650 SUPER.


My goal is to at least bring the render to less than an hour. Right now is like 1.23s/it


-
Why does ffmpeg error on the last image in this avi -> jpg conversion ?
13 avril 2018, par purple_arrowsI want to make jpeg snapshots of every tenth frame of some avi files. I also want to skip some boring initial content that’s always the same in every avi.
I’m using the following command :
ffmpeg -ss SECONDS-TO-SKIP -i video.avi -vf framestep=step=10 images-%03.jpg
For some files this works fine, but for others I get the following error (where THE-FINAL-NUMBER means I only get this error on what should be the last output image) :
[image2 @ 0x16fa6c0] Could not open file : images-THE-FINAL-NUMBER.jpg
av_interleaved_write_frame(): Input/output errorWhat’s up ? Am I missing some important command line flag ? And how do I fix this ?
ffmpeg version 2.8.14-0ubuntu0.16.04.1
built withgcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.9) 20160609