Recherche avancée

Médias (1)

Mot : - Tags -/copyleft

Autres articles (111)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (17948)

  • Failed to find two consecutive MPEG audio frames [closed]

    3 décembre 2024, par matrixebiz

    I'm receiving this error trying to download/convert an m3u8

    


    [mp3 @ 000001c8f5112200] Format mp3 detected only with low score of 1, misdetection possible!
[mp3 @ 000001c8f5112200] Failed to find two consecutive MPEG audio frames.
[in#0 @ 000001c8f5111f40] Error opening input: Invalid data found when processing input


    


    Any way to fix this in my ffmpeg command line ? Also, playing the stream in VLC and other apps shows this in the path /%EF%BB%BF for some reason.
VLC is unable to open the MRL 'file :///C :/Temp/%EF%BB%BF'. Check the log for details. Then it will play the actual video.

    


    Do i need to change the beginning of the m3u8 ?
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1000,RESOLUTION=640x360,

    


    Even if I remove it and just leave the URL that is inside the m3u8, will still display the %EF%BB%BF which I need to stop from happening

    


    EDIT : Adding the PowerShell script I'm using to output my file :

    


    function Replace-FileText
{
    [CmdletBinding()]
    Param
    (
        $File1,
        $File2,
        $File1StartAnchor,
        $File1EndAnchor = "$",
        $File2StartAnchor,
        $File2EndAnchor = "$"
    )
    
    #Escape the regex meta characters, this assumes literals are used in the input
    $File1StartAnchorEscaped = [System.Text.RegularExpressions.Regex]::Escape($File1StartAnchor)
    $File2StartAnchorEscaped = [System.Text.RegularExpressions.Regex]::Escape($File2StartAnchor)

    if ($PSBoundParameters.ContainsKey('File1EndAnchor'))
    {
        $File1EndAnchorEscaped = [System.Text.RegularExpressions.Regex]::Escape($File1EndAnchor)
    }
    else
    {
        $File1EndAnchorEscaped = $File1EndAnchor
    }

    if ($PSBoundParameters.ContainsKey('File2EndAnchor'))
    {
        $File2EndAnchorEscaped = [System.Text.RegularExpressions.Regex]::Escape($File2EndAnchor)
    }
    else
    {
        $File2EndAnchorEscaped = $File2EndAnchor
    }


    if ((Get-Content $File1 -Raw) -match "$File1StartAnchorEscaped(.*?)$File1EndAnchorEscaped")
    {
        Write-Host "Found the following string in between the anchors in $File1 :$($Matches[1])"
        $TextToInject = $Matches[1]
    }
    else
    {
        Write-Host "Could not find the Start and end Anchors in $File1"
        return
    }
 
    if ((Get-Content $File2 -Raw) -match "$File2StartAnchorEscaped(.*?)$File2EndAnchorEscaped")
    {
        Write-Host "Found the following string in between the anchors in $File2 :$($Matches[1])"
        $TextToReplace = $Matches[1]
    }
    else
    {
        Write-Host "Could not find the Start Anchor in $File2"
        return
    }
 
    (Get-Content $File2 -Raw) -replace $TextToReplace,$TextToInject | Out-File $File2 -NoNewline
}
 
 
Replace-FileText -File1 'C:\EQDA\File1.txt' -File2 'C:\EQDA\File2.txt' -File1StartAnchor 'two' -File1EndAnchor '"' -File2StartAnchor 'four'
Replace-FileText -File1 'C:\EQDA\File1.txt' -File2 'C:\EQDA\File2.txt' -File1StartAnchor 'server-' -File1EndAnchor '-name' -File2StartAnchor 'server-' -File2EndAnchor '-name'


    


  • Automatic encoder selection failed for output stream #0:0 [duplicate]

    2 octobre 2016, par mgt1234

    This question already has an answer here :

    I use this command on ffmpeg :

    /usr/local/bin/ffmpeg -ss 40 -t 40 -i mymusic.mp3 -ab 15 voice.mp3 2>&1

    but I see this error :

    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually. Error selecting an encoder for stream 0:0

    Also lamemp3 installed and enabled, how can I fix it ?

    this is complete output :

    ffmpeg version N-81842-g0fbd423 Copyright (c) 2000-2016 the FFmpeg developers
     built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-17)
     configuration: --enable-decoder=png --enable-encoder=png
     libavutil      55. 32.100 / 55. 32.100
     libavcodec     57. 60.101 / 57. 60.101
     libavformat    57. 51.102 / 57. 51.102
     libavdevice    57.  0.102 / 57.  0.102
     libavfilter     6. 63.100 /  6. 63.100
     libswscale      4.  1.100 /  4.  1.100
     libswresample   2.  2.100 /  2.  2.100
    [mp3 @ 0x3ccd3c0] Estimating duration from bitrate, this may be inaccurate
    Input #0, mp3, from 'mymusic.mp3':
     Metadata:
       album_artist    : .:.:. WWW.NEWSONG3.COM .:.:.
       title           : Eshtebah .:.:. WWW.NEWSONG3.COM .:.:.
       artist          : Abolfazl Fallah .:.:. WWW.NEWSONG3.COM .:.:.
       album           : .:.:. WWW.NEWSONG3.COM .:.:.
       comment         : .:.:. WWW.NEWSONG3.COM .:.:.
       genre           : .:.:. WWW.NEWSONG3.COM .:.:.
       track           : .:.:. WWW.NEWSONG3.COM .:.:.
       copyright       : .:.:. WWW.NEWSONG3.COM .:.:.
       TOPE            : .:.:. WWW.NEWSONG3.COM .:.:.
       composer        : .:.:. WWW.NEWSONG3.COM .:.:.
       TBPM            : .:.:. WWW.NEWSONG3.COM .:.:.
       TIT3            : .:.:. WWW.NEWSONG3.COM .:.:.
       encoded_by      : .:.:. WWW.NEWSONG3.COM .:.:.
       disc            : .:.:. WWW.NEWSONG3.COM .:.:.
       MusicMatch_Mood : .:.:. WWW.NEWSONG3.COM .:.:.
       date            : 2013
     Duration: 00:04:08.77, start: 0.000000, bitrate: 129 kb/s
       Stream #0:0: Audio: mp3, 48000 Hz, stereo, s16p, 128 kb/s
       Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 300x300 [SAR 96:96 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
       Metadata:
         comment         : Cover (front)
    Automatic encoder selection failed for output stream #0:0. Default encoder for format mp3 (codec png) is probably disabled. Please choose an encoder manually.
    Error selecting an encoder for stream 0:0
  • ffmpeg capture raw/orignal stream from timeleak HD 72 with audio

    30 septembre 2013, par Max

    Timeleak card claim that they support Audio.
    I got the second hd75a card. (I had hd82a)

    I can't start capturing audio.

    It captures video :-

    ffmpeg -f dshow -i video="7160 HD Capture" out.mp4

    Here are options :-

    ffmpeg -f dshow -list_options true -i video="7160 HD Capture"


    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=720x480 fps=59.9402 max s=720x480 fps=59.9402
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=720x480 fps=29.97 max s=720x480 fps=29.97
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=720x576 fps=50 max s=720x576 fps=50
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=720x576 fps=25 max s=720x576 fps=25
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=640x480 fps=59.9402 max s=640x480 fps=59.9402
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=1920x1080 fps=29.97 max s=1920x1080 fps=29.97
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=1920x1080 fps=25 max s=1920x1080 fps=25
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=1920x1080 fps=24 max s=1920x1080 fps=24
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=1280x720 fps=59.9402 max s=1280x720 fps=59.9402
    [dshow @ 000000000253ba60]   pixel_format=yuyv422  min s=1280x720 fps=50 max s=1280x720 fps=50
    [dshow @ 000000000253ba60]  Pin "Audio"

    This card should encode MPEG2

    1. Does that capture command write to file original MPEG2 stream from hardware or it is re-encoded ?

    2. How do I get original MPEG2 stream ? (If first command is re-encoding it OR may be there is no way to get original encoded frames at all)

    3. Does "Video Stream" includes audio track ? (Pin "Audio")
      There is no extra audio device and it seems audio stream is in video stream.

    I wish to get raw (not re-encoded, original MPEG2 encoded by hardware) and audio. It is Ok If I will get original not encoded stream without loosing frames.

    Offtopic : If you have such card : Do you have horizontal artifact lines when picture moves ?