Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (90)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • 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 (...)

Sur d’autres sites (7935)

  • "method DESCRIBE failed : 401 Unauthorized" in Ffmpeg, yet VLC accepts the exact same RTSP URL

    30 septembre 2021, par IpsRich

    I've an RTSP URL that includes the username and password (i.e. of the form rtsp://username:password@server:554/path) and this works in VLC, but using this as an input to Ffmpeg, I get back the above DESCRIBE error and it aborts.

    


    I wondered if it might be the version of Ffmpeg I've got, but I used a fresh one via Docker (alfg/ffmpeg:latest) and the result was the same.

    


    Is there something I have to do, perhaps some extra information/hint I have to provide to Ffmpeg, to get it to accept the credentials and get past the DESCRIBE ? Or if it's the DESCRIBE bit that's the problem, can I get it to skip that (perhaps by providing all the source stream details manually) so that it doesn't fail ?

    


    I'd hoped that this might be the same problem, but it's not - my URL is quoted and doesn't contain anything like ? or *.

    


    (In case it has any bearing, I'm trying to take an RTSP stream that requires credentials, resize it on the fly using Ffmpeg, and "pipe" the new RTSP to RTSP Simple Server. Most of this I can do : it's just the credentials that are tripping me up.)

    


    UPDATE : One thing I didn't mention previously (because it didn't seem relevant) is that the RTSP stream comes from Milestone's Open Network Bridge server. It seems that ONB does not now allow URLs containing credentials, although this does not explain why the same URL works in VLC. Perhaps VLC extracts the credentials and provides them another way ? I've a support case open on this to try to get to the bottom of it. I'll update here if I discover anything helpful...

    


  • ffmpeg crashes with "Internal bug", "Failed to inject frame into filter network" while trying to convert PNG files into an animated gif using filters

    12 août 2022, par EigentlichOracler

    ffmpeg version : ffmpeg version 4.2.7-0ubuntu0.1

    


    Kernel : 5.4.0-122-lowlatency #138-Ubuntu SMP PREEMPT x86_64 x86_64 x86_64 GNU/Linux

    


    PNG-Images : 996 pieces, all equal in size : 1000x50

    


    Then trying to build palette using palettegen :

    


    export filters="scale=1000:-1:flags=lanczos"
export palette=./stripes_palette.png
ffmpeg -v warning -i ./palette_source_stripes.png -vf "$filters,palettegen=stats_mode=diff" -y $palette
[Parsed_palettegen_1 @ 0x55f0eea30e00] Dupped color: FF63000D


    


    Palette file has been created, looks good so far. Then I tried to convert all 996 PNG files into one single (space optimized) animated GIF file using paletteuse :

    


    ffmpeg -v warning -framerate 5 -thread_queue_size 2048 -i ./tmp/temp.%04d.png -i $palette -lavfi "$filters,paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" -r 5 -loop -1 -y testanim.gif
Error while filtering: Internal bug, should not have happened
Failed to inject frame into filter network: Internal bug, should not have happened
Error while processing the decoded data for stream #0:0


    


    The reason for "-framerate 5" for the input and "-r 5" for the output is : I wanted the animated GIF to use a determined time for running through animation. It already had worked out without using complex filtering, but the results were huge GIF files which are hard to handle.
But even when I avoid both framerate parameters, still the same error message occurs.

    


    Should I look deeper into the "Dupped color" which has been mentioned ? Did anybody encounter a similar issue using ffmpeg ?
I'm not used to deal with filters (nor "complex filters") in ffmpeg, I'm very new at this, but I've found no tips regarding an ffmpeg crash like I've right here.

    


    ------------------------------- EDIT 2022-08-12/1 ---------------------

    


    Same error occurs with current stable version
ffmpeg version 4.4.2-0ubuntu0.22.04.1 Copyright (c) 2000-2021 the FFmpeg developers

    


    ------------------------------- EDIT 2022-08-12/2 ---------------------

    


    Found workaround, see answer below

    


  • how to remux/fix video file saved with testdisk that reports error "Invalid NAL unit size"

    18 août 2022, par Luka

    I have deleted a video file from an SD card and then 'undeleted' it with tool called testdisk for Linux. It saved complete file (6Gb), but video seems broken (can't be played by any video players) and ffprobe reports :

    


    [mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] st: 0 edit list: 1 Missing key frame while searching for timestamp: 1000
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] st: 0 edit list 1 Cannot find an index entry before timestamp: 1000.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] Found duplicated MOOV Atom. Skipped it
[aac @ 0x55c613bb6dc0] channel element 3.6 is not allocated
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2119335523 > 644375).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1846222201 > 61596).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-864346179 > 57764).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (822755552 > 161099).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (188456672 > 131075).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2009136561 > 113517).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-821906870 > 228207).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-516947408 > 120554).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (268246533 > 115897).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1483463928 > 238451).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1693450506 > 114421).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1048922816 > 114846).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-600883429 > 357422).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1612859848 > 93601).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-600474974 > 111975).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (321873764 > 211226).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-665491613 > 92183).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (258461639 > 95290).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (713914840 > 195792).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-556556768 > 93998).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1864278243 > 94783).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-333442404 > 203732).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1836887686 > 95706).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (125657193 > 96573).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-2049008956 > 342294).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (650110420 > 98067).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (694115932 > 100359).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (955742608 > 204098).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (1004021052 > 100944).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-885264782 > 100557).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[h264 @ 0x55c613bb0cc0] Invalid NAL unit size (-1074298568 > 209804).
[h264 @ 0x55c613bb0cc0] Error splitting the input into NAL units.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] decoding for stream 0 failed
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55c613baef00] Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none(pc, bt709), 1920x1080, 29593 kb/s): unspecified pixel format
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MVI_1399.MP4':
  Metadata:
    creation_time   : 2022-08-17T17:13:19.000000Z
    major_brand     : mp42
    minor_version   : 1
    make            : 
    make-eng        : 
    model           : 
    model-eng       : 
    compatible_brands: mp42avc1CAEP
  Duration: 00:29:59.08, start: 0.000000, bitrate: 29879 kb/s
    Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), none(pc, bt709), 1920x1080, 29593 kb/s, 25 fps, 25 tbr, 25k tbn, 50k tbc (default)
    Metadata:
      creation_time   : 2022-08-17T17:13:19.000000Z
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 253 kb/s (default)
    Metadata:
      creation_time   : 2022-08-17T17:13:19.000000Z


    


    I'm no programmer, but have used ffmpeg a lot. How can I remux (or even re-encode) such file to fix this and make the file usable for further work ?

    


    I have created a 10seconds snippet with ffmpeg -i MVI_1399.MP4 -t 00:00:10 -c copy MVI_1399_10sec.mp4 for anyone to check. I also created a ten second snippet from a functioning clip from the same camera (I presume same codec parameters etc) :

    


    https://cb.emanat.si/s/WzTCxHDkzGw3gM3