Recherche avancée

Médias (17)

Mot : - Tags -/wired

Autres articles (101)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Amélioration de la version de base

    13 septembre 2013

    Jolie sélection multiple
    Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
    Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)

Sur d’autres sites (9985)

  • ffmpeg : error reading header pipe:0 : Invalid argument

    25 février 2021, par Дмитрий Бондаренко

    I need microservice (converter audio using streams), but have problem with ffmpeg

    


    my test ffmpeg

    


    package codec

import (
    "bytes"
    "os"
    "os/exec"
    "testing"
)

func Test1(t *testing.T) {
    in, err := os.Open("/mp4-mp3/src.m4a")
    if err != nil {
        t.Fatal(err.Error())
    }
    out, err := os.OpenFile("/mp4-mp3/out.mp3", os.O_RDWR|os.O_CREATE, 0666)
    if err != nil {
        t.Fatal(err.Error())
    }
    cmd := exec.Command(
        "ffmpeg",
        "-f", "m4a",
        "-i", "pipe:0",
        "-f", "mp3",
        "pipe:1")

    cmd.Stdin = in
    cmd.Stdout = out
    stderr := &bytes.Buffer{}
    cmd.Stderr = stderr
    if err := cmd.Run(); err != nil {
        t.Logf(stderr.String())
        t.Fatal(err.Error())
    }

}



    


    At the exit, I have the error invalid argument
i tried different options but the problem didn't change

    


    === RUN   Test1
    codec_test.go:31: ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg developers
          built with gcc 10.2.1 (GCC) 20200805
          configuration: hide...
          libavutil      56. 58.100 / 56. 58.100
          libavcodec     58.101.101 / 58.101.101
          libavformat    58. 51.101 / 58. 51.101
          libavdevice    58. 11.101 / 58. 11.101
          libavfilter     7. 87.100 /  7. 87.100
          libswscale      5.  8.100 /  5.  8.100
          libswresample   3.  8.100 /  3.  8.100
          libpostproc    55.  8.100 / 55.  8.100
        [mov,mp4,m4a,3gp,3g2,mj2 @ 0000019ccc3acb40] error reading header
        pipe:0: Invalid argument
    codec_test.go:32: exit status 1
--- FAIL: Test1 (0.07s)
FAIL

Process finished with exit code 1


    


    i decided to use cmd, but i have new problem
pipe:0 : Invalid data found when processing input

    


    cat src.m4a | ffmpeg -f m4a -i pipe:0 out.mp3
ffmpeg version git-2020-08-31-4a11a6f Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 10.2.1 (GCC) 20200805
  configuration: hide...
  libavutil      56. 58.100 / 56. 58.100
  libavcodec     58.101.101 / 58.101.101
  libavformat    58. 51.101 / 58. 51.101
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019afa98d800] invalid STSD entries 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000019afa98d800] error reading header
pipe:0: Invalid data found when processing input



    


    How to properly set ffmpeg parameters to convert from stream to stream ?

    


  • FFMPEG How to insert short video and audio in longer video in specific time, size and position

    24 novembre 2020, par Milos Dimitrijevic

    FFMPEG How to insert short video (4sec) in longer video in specific time (from 15th to 19th second) and specific size. Long video is 1920x1080px and inserted video should be 1720x820px, positioned in the middle ?

    


    file info..
Duration : 00:00:22.07, start : 0.000000, bitrate : 3982 kb/s
Stream #0:0(und) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3900 kb/s, 29 fps, 29 tbr, 14848 tbn, 58 tbc (default)
Metadata :
handler_name : VideoHandler
Stream #0:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 128 kb/s (default)
Metadata :
handler_name : SoundHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'short.mp4' :
Metadata :
major_brand : mp42
minor_version : 19529854
compatible_brands : mp42isom
creation_time : 2020-10-25T11:01:10.000000Z
Duration : 00:00:03.02, start : 0.000000, bitrate : 14405 kb/s
Stream #1:0(eng) : Audio : aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 319 kb/s (default)
Metadata :
creation_time : 2020-10-25T11:01:10.000000Z
handler_name : Sound Media Handler
Stream #1:1(eng) : Video : h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 14078 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc (default)
Metadata :
creation_time : 2020-10-25T11:01:10.000000Z
handler_name : Video Media Handler
encoder : AVC Coding

    


  • The YouTube live stream encountered a failure

    12 février 2024, par kuldeep chopra

    We are currently utilizing the ffmpeg library for streaming on YouTube Live. However, we have faced issues in a recent live streaming session that initially functioned correctly but encountered errors around the 13 to 15-minute mark. The error logs from FFmpeg during this session are as follows :

    


    Live Stream 1 Error :(Attempt 1)

    


    


    ffmpeg [flv @ 0x555c4bdfe680] Failed to update header with correct
duration. 2023-09-07T23:06:38.490+05:30 [flv @ 0x555c4bdfe680] Failed
to update header with correct filesize. 2023-09-07T23:06:38.491+05:30
failed => rtmp ://a.rtmp.youtube.com/live2/key......
2023-09-07T23:06:38.491+05:30
ffmpeg [tee @ 0x555c48843700] Slave
muxer #1 failed : Broken pipe, continuing with 1/2 slaves.

    


    


    Live Stream 2 Error (Attempt 2) :

    


    


    Slave muxer #1 failed : Connection reset by peer, continuing with 1/2
slaves.

    


    


    It is crucial to note that we have conducted numerous live streams on YouTube without encountering this error previously ; this is the first instance of such an issue.

    


    We kindly request your assistance in investigating and providing insights into the underlying problem causing these error messages. Any guidance or support you can offer in resolving this issue would be greatly appreciated.