
Recherche avancée
Médias (33)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
#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
Autres articles (9)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...) -
Sélection de projets utilisant MediaSPIP
29 avril 2011, parLes exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
Ferme MediaSPIP @ Infini
L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)
Sur d’autres sites (2206)
-
FFMPEG Flutter : attaching captions to a video issue
24 juillet 2024, par Aqib JavedI am working on an app where i first extract audio from a video, then transcribe it and then i wanna attach that transcribed captions or subtitles to the original video.


Everything is working smooth except the subtitles attaching part
if im running the FFMPEG command directly in terminal, it works fine but not in flutter


here is my code of attaching the subtitles to the video :


Future<void> attachCaptionsToVideo(DeepGramResponse deepGramResponse) async {
 var tempDir = await getTemporaryDirectory();

 final outputPath = "${tempDir.path}/outputWithCaptions.mp4";
 final String subtitlePath = deepGramResponse.captionsPath
 .replaceAll('\\', '\\\\')
 .replaceAll(' ', '\\ ');
 final String command =
 '-y -i ${deepGramResponse.videoPath} -vf subtitles=$subtitlePath $outputPath';
 await FFmpegKit.executeAsync(command, (session) async {
 final returnCode = await session.getReturnCode();
 final output = await session.getOutput();
 final error = await session.getFailStackTrace();

 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');
 Fluttertoast.showToast(
 msg: 'Something went wrong, please try again later');
 }
 });
 }
</void>


here is the error im getting :




[AVFilterGraph @ 0x7b8a3f35f0] No option name near
'/data/user/0/com.example.blink/app_flutter/captions.srt'
[AVFilterGraph @ 0x7b8a3f35f0] Error parsing a filter description around :
[AVFilterGraph @ 0x7b8a3f35f0] 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 !




-
Overlaying video with ffmpeg
11 novembre 2012, par eleeI'm attempting to write a script that will merge 2 separate video files into 1 wider one, in which both videos play back simultaneously. I have it mostly figured out, but when I view the final output, the video that I'm overlaying is extremely slow.
Here's what I'm doing :
-
Expand the left video to the final video dimensions
ffmpeg -i left.avi -vf "pad=640:240:0:0:black" left_wide.avi
-
Overlay the right video on top of the left one
ffmpeg -i left_wide.avi -vf "movie=right.avi [mv] ; [in][mv] overlay=320:0" combined_video.avi
In the resulting video, the playback on the right video is about half the speed of the left video. Any idea how I can get these files to sync up ?
-
-
FFMPEG not creating thumbnails
12 juin 2016, par MixedVegMy ffmpeg command in php is
echo $cmd_thumbnail_create = ("\"$ffmpeg\" -i \"" . $dir.$videopath . "\" -an -ss $getFromSecond \"" . $dir.$thumbnailpath ."\"");
exec($cmd_thumbnail_create);Output of which is
"C :\FFMPEG\bin\ffmpeg" -i "C :/xampp/htdocs/final/uploaded_videos/intro_en.mp4" -an -ss 6 "C :/xampp/htdocs/final/thumbnail/intro_en.jpg"
This when copied and executed on the command prompt creates the thumbnail at proper location with proper name.
Any suggestions ?