
Recherche avancée
Médias (1)
-
Bug de détection d’ogg
22 mars 2013, par
Mis à jour : Avril 2013
Langue : français
Type : Video
Autres articles (58)
-
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 (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (4124)
-
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 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 !




-
FFMPEG combining 2 command to make multiple overlay [closed]
11 avril 2020, par Nano WibisonoI have two different commands and both work. but here I have a problem, how to combine these two commands into one output



the first command is to add a video overlay



ffmpeg -i final.mp4 -vf "movie=LOGO.mov, scale=100: -1 [inner]; [in][inner] overlay =10: 10 [out] " completed.mp4




the second command is to add a text overlay



ffmpeg -i final.mp4 -vf drawtext="fontfile=C\\:/Windows/Fonts/arial.ttf:fontsize=20: fontcolor=red:x=10:y=50:text='test tect'" completedtextGB.mp4




I was wondering is it possible to combine these into the 1 command ?



Thanks
Nano