Recherche avancée

Médias (2)

Mot : - Tags -/documentation

Autres articles (98)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (9452)

  • how to download m3u8 with ffmpeg ? [hls prompts : Unable to open key file skd:xxxxxxx] [closed]

    18 octobre 2024, par Mam Ghagh

    There is a m3u8 manifest like :

    


    #EXTM3U
#EXT-X-VERSION:5
#EXT-X-TARGETDURATION:7
#EXT-X-PLAYLIST-TYPE:VOD
#EXT-X-KEY:METHOD=SAMPLE-AES,URI="skd://xxxxxx",IV=0xXXXXXX,KEYFORMAT="com.apple.streamingkeydelivery",KEYFORMATVERSIONS="1"
#EXTINF:6,
https://someurl.com/index_1_0.ts
#EXTINF:6,
https://someurl.com/index_2_0.ts
...


    


    which is available on https://someurl.com/my.m3u8
    
So, When I executed ffmpeg command
    
ffmpeg -i "https://someurl.com/my.m3u8" -c copy out.mp4
    
the following message appeared
    
[hls @ 000002de75f89bc0] Unable to open key file skd://xxxxxx
    
Now the question is, What is the key and How should I address it ?

    


  • Getting very high latencies while syncing live folder data to cloud storage [closed]

    28 juillet 2024, par baloda

    I am working on custom HLS Live transcoding implementation in GCP with k8s pods. I have tried s3fs, rclone, GCS-FUSE with sidecar solutions to sync data into s3/GCS. But getter very high latency to sync data to respective storage origin. Can someone suggest how i can reduce this latency ?

    


    System info : K8s Pod in GCP
Transcoding Tools : FFmpeg
Storage Origin : GCS, S3
Feed Type : live rtmp
Output : HLS with .m3u8 manifest & 4 sec .ts chunks

    


      

    1. GCS-Fuse sidecar :
with this transcoding pipeline is not able to use full cpu and it limit ffmpeg cpu used to 0.4 core
    2. 


    3. Temp output directory for ffmpeg output & rclone ffmpeg output with GCS-Fuse sidecar mounted folder :
This implantation allowed ffmpeg to consume cpu till 10 core but rclone does not work as intended. It syncs data randomly. Tried a couple rsync optimisation and checksum options. but did not got expected result.
    4. 


    5. s3fs :
This takes admin privileges. did not able to excute it for now. But i am assuming it will give similar result to GCS-Fuse
    6. 


    


  • Error decoding stream invalid data found

    10 avril 2018, par bluemoon odd

    I have a software that first extract a video to jpg photo
    than we can insert any text or image auto in all jpg files
    extracted before than i try to rebuild the video with that images but
    its seems my frames extracted after to insert the text on it and re save the each file again with string option so i will have the output 0 , 1, 2 , 3 , etc.
    But wen i try to rebuild the video its look like the photo are not well encoded, how can i solve this error
    And Here is the image of the ffmpeg error
    ffmpeg error
    this is the code i use to rebuild the video with ffmpeg

    Public Class Form3
    Dim frame As Long 'individual frames
    Dim tempdir As String = "C:\mediapubisert\" ' images temp directory

    Private Sub SaveFileDialog1_FileOk(sender As Object, e As System.ComponentModel.CancelEventArgs) Handles SaveFileDialog1.FileOk
       Dim args As String 'declare args
       args = "-r 1/.1 -i " & tempdir & "\%01d.jpg -c:v libx264 -r 30 -pix_fmt yuv420p " & Chr(34) & SaveFileDialog1.FileName & Chr(34) 'set ffmpeg arguments
       Dim proc As New Process
       Dim proci As New ProcessStartInfo
       proci.FileName = My.Application.Info.DirectoryPath & "\ffmpeg.exe"
       proci.Arguments = args
       proci.WindowStyle = ProcessWindowStyle.Hidden
       proci.CreateNoWindow = True
       proci.UseShellExecute = False
       proc.StartInfo = proci
       proc.Start()
       Do Until proc.HasExited = True
           Me.Text = "Saving"
       Loop
       Me.Text = "Media Pub Insert"

       MsgBox("Done")

       'IO.Directory.Delete(tempdir, True)
    End Sub

    Private Sub renameFilesInFolder()
       Dim sourcePath As String = "C:\mediapubisert\"
       Dim searchPattern As String = "*.jpg"
       Dim i As Integer = 0
       For Each fileName As String In Directory.GetFiles(sourcePath, searchPattern, SearchOption.AllDirectories)
           File.Move(Path.Combine(sourcePath, fileName), Path.Combine(sourcePath, "" & i & ".JPG"))
           i += 1
       Next
    End Sub

    Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load
       If (Not System.IO.Directory.Exists(tempdir)) Then
           System.IO.Directory.CreateDirectory(tempdir)
       End If
       renameFilesInFolder()
    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick

    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
       SaveFileDialog1.ShowDialog()
    End Sub


    Private Sub Button2_Click(sender As Object, e As EventArgs) Handles Button2.Click
       renameFilesInFolder()
    End Sub

    End Class