
Recherche avancée
Médias (2)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (66)
-
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 -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (9861)
-
cbs_h266 : fix inference for xh_deblocking_filter_disabled_flag
8 août 2023, par Nuo Micbs_h266 : fix inference for xh_deblocking_filter_disabled_flag
if !ph_deblocking_params_present_flag is true, ph_deblocking_filter_disabled_flag infered from pps
if !sh_deblocking_params_present_flag is true, sh_deblocking_filter_disabled_flag infered from phFailed clips :
ENT444MAINTIER_C_Sony_3.bit
ENT444HIGHTIER_D_Sony_3.bitSigned-off-by : James Almer <jamrial@gmail.com>
-
FFMPEG Process not ending when encoding libx264
17 janvier 2015, par Jamie HartnollWell, I’m very new and inexperienced with using
Process
and usingFFMPEG
, and command line processes in ASP.NET in general... but, have something working, nearly !I’m trying to convert AVI files to MP4 files which can be streamed to an HTML5 player.
After a lot of messing around, I have found that for this to work it has to be encoded with X264, but, for some reason, when I do this the FFMPEG process does not close/end.
The code I am using is below and works perfectly if I use
-vcodec mpeg4
, but when I use-vcodec libx264
, whilst it works and produces the file I need toProcess
never ends.To get round this, I am temporarily adding 5 second time out to
WaitForExit
in theProcess
, but this is definitely a hack and whilst is OK with what I am doing at the moment is not a robust solution.Can anyone point me in the direction of why this is happening ?!
Public Shared Sub AviToMP4(VideoFileName As String, Optional DeleteSource As Boolean = True)
Dim SourceFile As String = VideoFileName.Replace(".avi", "")
Dim DestinationFile As String = SourceFile
Dim FFMPEG_EXE_PATH As String = """" & System.AppDomain.CurrentDomain.BaseDirectory() & "ffMPEG.exe"""
Dim Codec = "libx264" ' libx264 || mpeg4
Dim cdml = " -i """ & SourceFile & ".avi"" -acodec aac -strict -2 -b:a 128k -vcodec " & Codec & " -b:v 1200k -flags +aic+mv4 """ & DestinationFile & ".mp4"""
Dim ProcessorLocation As String = FFMPEG_EXE_PATH
Dim CommandLines As String = cdml
Try
Dim ProcessingResponse As String = ""
Using myProcess As New Process()
myProcess.StartInfo.UseShellExecute = False
myProcess.StartInfo.RedirectStandardInput = True
myProcess.StartInfo.RedirectStandardOutput = True
myProcess.StartInfo.RedirectStandardError = True
myProcess.StartInfo.CreateNoWindow = True
myProcess.StartInfo.WindowStyle = ProcessWindowStyle.Hidden
myProcess.StartInfo.FileName = ProcessorLocation
myProcess.StartInfo.Arguments = CommandLines
myProcess.Start()
ProcessingResponse = myProcess.StandardError.ReadToEnd()
myProcess.WaitForExit(5000) ' <<< Have to put a timeout here for libx264 or it will never end!!
End Using
HttpContext.Current.Response.Write("<pre>" & ProcessingResponse & "</pre><hr />")
If File.Exists(SourceFile) AndAlso DeleteSource Then
File.Delete(SourceFile)
End If
Catch ex As Exception
HttpContext.Current.Response.Write(ex.ToString & "<p>")
End Try
End Sub
</p> -
How to get live stream media from URI with RTMPS protocal
19 mai 2021, par user974335My app want to playback video from an URI live stream with RTMPS protocal. I used FFmpegInteropX (https://github.com/ffmpeginteropx/FFmpegInteropX) to get media source.


var uri = "rtmps ://xx.xx.xx.xx:443/live/dbjl" ;
FFmpegInteropMSS MediaSource = FFmpegInteropMSS.CreateFFmpegInteropMSSFromUri(uri, true, true, new PropertySet()) ;


But MediaSource return null.
How can I get it without null object.
Important : Must use RTMPS protocal, with RTMP then can get ok