
Recherche avancée
Autres articles (31)
-
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
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 -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (2808)
-
Require assistance with filtergraph contruction using ffmped
31 décembre 2022, par D-MANproblem : I manually make videos, and have decided to make a program to automatically make the video for me. Here is an example of the videos that i am trying to achieve. E.g : https://youtu.be/eVQ9ysp0Pj0 (videos are displayed at 19 seconds into the video). This is the desired result i am trying to achieve. I have the following filter graph that has most of the elements :


exe = "-i " + file + " -i " + frame + " -i " + framestart + " -i " + frameEnd + " -i " + audioOverlay + " -filter_complex \"[0:v]pad="+mVideoWidth+":"+mVideoHeight+":576:0[vpad]; [vpad][1]overlay[vframed]; [vframed]split=3[vfr1][vfr2][vfr3]; [vfr1]reverse[vrev]; [vfr2][vrev][vfr3]concat=n=3,setpts=1*(PTS-STARTPTS)[vboom]; [vboom][2]overlay=enable='lte(t,2)'[vpreout]; [vpreout][3]overlay=enable='gte(t,"+msec+"*3*0.5-2)'\" -map 4:a -b:v 8000k -shortest -preset ultrafast -crf 23 " + file2.getAbsolutePath();



The only elements which i am struggling with is the sections that speed up momentarily and then return back to normal speed. it speeds up and returns to normal speed twice when the video plays forward, then reverses, then has the speed up effect twice while the video plays backwards. it speeds up for 1 second then continues playing the video at normal speed. Your help is greatly appreciated !


I have tried setpts=1*(PTS-STARTPTS)[vrev] and other sections of the filter graph, but im relatively new to ffmpeg and do not completely understand how it all works. I have tried the following links too. https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video & https://video.stackexchange.com/questions/21800/ffmpeg-slow-fast-motion-part-a-video-anywhere


-
UnsupportedAudioFileException in LIUM Speaker Diarization after re-sampling
14 septembre 2016, par RAVI D PARIKHI am trying to configure LIUM tool for speaker diarization. This question is a follow up of UnsupportedAudioFileException in LIUM Speaker Diarization
I have tried re sampling the file using sox and ffmpeg
I am new to any sorts of programming and i have followed all steps described in LIUM quick start guide and the above link. I still get the same error. I think my input file has issues related to header as mentioned by Nikolay Shmyrev in the above link however i have no clue on how to solve it.
My code is as below :
java –jar C:\Users\Ravi\Desktop\LIUM_SpkDiarization-8.4.1.jar \ --fInputMask= C:\Users\Ravi\Desktop\converted_f2.wav--sOutputMask= C:\Users\Ravi\Desktop\converted_converted_2.seg -–help --doCEClustering
Error :
10:52.037 SEVERE AudioFeatureSetFa FileNotFoundException
java.io.FileNotFoundException:
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at com.sun.media.codec.audio.mp3.JS_MP3FileReader.getAudioFileFormat(JS_MP3FileReader.java:82)
at javax.sound.sampled.AudioSystem.getAudioFileFormat(Unknown Source)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.getAudio(AudioFeatureSetFactory.java:162)
at fr.lium.spkDiarization.libFeature.AudioFeatureSetFactory.MakeFeature(AudioFeatureSetFactory.java:207)
</init>The input file is at https://drive.google.com/file/d/0B7Fqe9EX5JbgT09BcXpSREd4em8/view?usp=sharing
Input File Name:converted_f2.wav
I have put the command and the full output of the prompt in a word document at
https://drive.google.com/file/d/0B7Fqe9EX5JbgUUl6THNCZFgxRnM/view?usp=sharing
The inpiut file has correct sampling rate and other parameters and thus i am not able to understand the cause of the error.
Thanks a lot for the helpRegards,
Ravi -
FFMPEG : how to select audio stream without language metadata
2 décembre 2020, par rioflyI have some source Video files with one or more audio streams inside.

I would to encode each source file with Italian language. Then I can do it.

ffmpeg -i source-file.avi -c:v ... -c:a ... -map 0:a:m:language:ita ...



But some source file has audio stream without Language metadata.

I look that it is possible to set Language metadata with "und" special value. Then I try to select the audio stream with this command :

ffmpeg -i source-file.avi -c:v ... -c:a ... -map 0:a:m:language:ita? -map 0:a:m:language:und? ...



(the " ?" char say to ffmpeg that he do not fire exception if the audio stream do not exists).

Unfortunatelly this command do not works... It seems that ffmpeg search the "und" language instead of search a audio stream "without" language.

Video MetaData


This is the video MetaData where audio stream do not have language value :


Input #0, matroska,webm, from 'D:\My-Video.mkv':
 Metadata:
 title : My-Video
 encoder : libebml v1.3.3 + libmatroska v1.4.4
 creation_time : 2016-01-20T16:02:03.000000Z
 Duration: 01:15:28.93, start: 0.000000, bitrate: 2775 kb/s
 Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 1k tbn, 50 tbc (default)
 Metadata:
 BPS : 2387529
 BPS-eng : 2387529
 DURATION : 01:15:28.920000000
 DURATION-eng : 01:15:28.920000000
 NUMBER_OF_FRAMES: 113223
 NUMBER_OF_FRAMES-eng: 113223
 NUMBER_OF_BYTES : 1351616420
 NUMBER_OF_BYTES-eng: 1351616420
 _STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2016-01-20 16:02:03
 _STATISTICS_WRITING_DATE_UTC-eng: 2016-01-20 16:02:03
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:1: Audio: ac3, 48000 Hz, 5.1(side), fltp, 384 kb/s (default)
 Metadata:
 BPS : 384000
 BPS-eng : 384000
 DURATION : 01:15:28.928000000
 DURATION-eng : 01:15:28.928000000
 NUMBER_OF_FRAMES: 141529
 NUMBER_OF_FRAMES-eng: 141529
 NUMBER_OF_BYTES : 217388544
 NUMBER_OF_BYTES-eng: 217388544
 _STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2016-01-20 16:02:03
 _STATISTICS_WRITING_DATE_UTC-eng: 2016-01-20 16:02:03
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:2(ita): Subtitle: dvd_subtitle, 720x576 (default)
 Metadata:
 BPS : 2218
 BPS-eng : 2218
 DURATION : 01:09:57.232000000
 DURATION-eng : 01:09:57.232000000
 NUMBER_OF_FRAMES: 965
 NUMBER_OF_FRAMES-eng: 965
 NUMBER_OF_BYTES : 1163769
 NUMBER_OF_BYTES-eng: 1163769
 _STATISTICS_WRITING_APP: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_APP-eng: mkvmerge v8.7.0 ('All of the above') 64bit
 _STATISTICS_WRITING_DATE_UTC: 2016-01-20 16:02:03
 _STATISTICS_WRITING_DATE_UTC-eng: 2016-01-20 16:02:03
 _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES



Can someone help me ?

Thanks !