
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 (61)
-
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 (...) -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (4825)
-
ffmpeg how mkv to mp4 with attachment in subtitle [closed]
17 juillet 2022, par SoonHirui have trouble,,
how re-encode MKV to MP4 with attachment font in substitles, before im muxing font using mkvmerge



Stream #0:0 : Video : h264 (High), yuv420p(tv, bt709, progressive), 848x480 [SAR 160:159 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)
 Metadata :
 ENCODER : Lavc58.134.100 libx264
 BPS : 266289
 DURATION : 00:23:40.044000000
 NUMBER_OF_FRAMES : 34047
 NUMBER_OF_BYTES : 47267933
 _STATISTICS_WRITING_APP : mkvmerge v68.0.0 ('The Curtain') 64-bit
 _STATISTICS_WRITING_DATE_UTC : 2022-07-15 20:06:26
 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:1(jpn) : Audio : aac (LC), 44100 Hz, stereo, fltp (default)
 Metadata :
 BPS : 128000
 DURATION : 00:23:40.108000000
 NUMBER_OF_FRAMES : 61159
 NUMBER_OF_BYTES : 22721748
 _STATISTICS_WRITING_APP : mkvmerge v68.0.0 ('The Curtain') 64-bit
 _STATISTICS_WRITING_DATE_UTC : 2022-07-15 20:06:26
 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:2(ind) : Subtitle : ass (default) (forced)
 Metadata :
 BPS : 1126
 DURATION : 00:23:30.250000000
 NUMBER_OF_FRAMES : 1596
 NUMBER_OF_BYTES : 198591
 _STATISTICS_WRITING_APP : mkvmerge v68.0.0 ('The Curtain') 64-bit
 _STATISTICS_WRITING_DATE_UTC : 2022-07-15 20:06:26
 _STATISTICS_TAGS : BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 Stream #0:3 : Attachment : none
 Metadata :
 filename : ABELBECKER-LIGHT_0.TTF
 mimetype : font/ttf
 title : Imported font from sha202.ass
 Stream #0:4 : Attachment : none
 Metadata :
 filename : Leander_0.ttf
 mimetype : font/ttf
 title : Imported font from sha202.ass
 Stream #0:5 : Attachment : none
 Metadata :
 filename : OvertheRainbowFlipped_0.ttf
 mimetype : font/ttf
 title : Imported font from sha202.ass
 Stream #0:6 : Attachment : none
 Metadata :
 filename : QlassikBold_TB - Copy_0_0.ttf
 mimetype : font/otf
 title : Imported font from sha202.ass
Unsupported codec with id 0 for input stream 3
Unsupported codec with id 0 for input stream 4
Unsupported codec with id 0 for input stream 5
Unsupported codec with id 0 for input stream 6



I try using script


ffmpeg -i input.mkv -vf subtitles=input.mkv output.mp4



when finished, only the subtitles, not with attachments fonts


-
Process in c# freezes up
12 juillet 2022, par Quicksoapyenvironment : Rider 2022.1.2, .NET 6.0, Windows 10


The following piece of code should copy the musicFile that is given and add a cover to the copy, then place it as name :
title - artist.extension
in the same directory, for examplenever gonna give you up - rick astley.mp3


When debugging, if i copy-paste what is saved in the variable
p.StartInfo.Arguments
in a CMD terminal, it works perfectly, but in my c# code the program freezes up atp.WaitForExit();
.

What could i be doing wrong ?


using (Process p = new Process())
 {
 p.StartInfo.UseShellExecute = false;
 p.StartInfo.CreateNoWindow = true;
 p.StartInfo.RedirectStandardOutput = true;
 p.StartInfo.FileName = "CMD.exe";
 p.StartInfo.Arguments = "ffmpeg -i \""+ musicFile +"\" -i \""+ albumInfo.Image.Uri.ToString() +"\" -map 0:a -map 1 -codec copy -metadata:s:v title=\"Album cover\" -metadata:s:v comment=\"Cover (front)\" -disposition:v attached_pic \"" + directoryFile + "\\" + title + " - " + artist + "." + formatName + "\"";
 p.Start();
 p.WaitForExit();
 }



-
FFMPEG : How to get video encoded with transparency ? [duplicate]
23 juin 2022, par mnse_soI've an issue on ffmpeg usage. Guess it's my fault, but I don't understand why. I tried to study the documentation and the mass of google stuff regarding ffmpeg, but I did not find any hints for it which would help.


The issue is following.


I'm using ffmpeg with a pipe input as rawvideo (ARGB 8x8x8x8 pixel data). In general, it works and produces a correct video like a charm.

But now I'm stuck to get video with transparency, so I've changed to webm which supports transparency.

As I can see on the log it uses rawvideo ARGB input as expected and do the export as vp9/yuva420p which should provide alpha support also as expected.


ffmpeg.exe -y -use_wallclock_as_timestamps 1 -f rawvideo -pix_fmt argb -r 60.0 -s 600x600 -i - -q:v 0 video.webm

ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
...
Input #0, rawvideo, from 'pipe:':
 Duration: N/A, start: 1655899073.916667, bitrate: 691200 kb/s
 Stream #0:0: Video: rawvideo (ARGB / 0x42475241), argb, 600x600, 691200 kb/s, 60 tbr, 60 tbn
Stream mapping:
 Stream #0:0 -> #0:0 (rawvideo (native) -> vp9 (libvpx-vp9))
[libvpx-vp9 @ 0000027775a49f80] v1.11.0-133-ga3afed22a
[libvpx-vp9 @ 0000027775a49f80] Neither bitrate nor constrained quality specified, using default CRF of 32
Output #0, webm, to 'video.webm':
 Metadata:
 encoder : Lavf59.16.100
 Stream #0:0: Video: vp9, yuva420p(tv, progressive), 600x600, q=2-31, 60 fps, 1k tbn
 Metadata:
 encoder : Lavc59.18.100 libvpx-vp9
...
frame= ...



But if I view the video it has no alpha.


So, then I checked the video with ffprobe and to my surprise it now tells me that the stream is encoded by yuv420p which not providing alpha support !


ffprobe.exe -i video.webm
ffprobe version 5.0.1-full_build-www.gyan.dev Copyright (c) 2007-2022 the FFmpeg developers
...
Input #0, matroska,webm, from 'video.webm':
 Metadata:
 ENCODER : Lavf59.16.100
 Duration: N/A, start: 0.000000, bitrate: N/A
 Stream #0:0: Video: vp9 (Profile 0), yuv420p(tv, progressive), 600x600, SAR 1:1 DAR 1:1, 60 fps, 60 tbr, 1k tbn
 Metadata:
 alpha_mode : 1
 ENCODER : Lavc59.18.100 libvpx-vp9
 



I've also tried many this and that options from several google research but non of them leads to the goal.


Any hints are welcome to get the video encoded with transparency.


PS : I also checked that the input pixels used for pipe input are containing correct alpha information.