Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (67)

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

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

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

  • Concat video files using ffmpeg in individual subfolders with shell script [closed]

    18 août 2022, par Weatherdark

    I had a Windows script that would do what I want, but I switched my server to Unraid so now I need a new script. Anyway, enough backstory.

    


    I regularly have media that is named in a style like "Videoname CD(Number).ext". They get stored in subfolders called Videoname with a different folder for each video.

    


    What I need is a script that goes through each subfolder and creates a concat.txt file with the names of each video file ending in CD(number) in it, in numerical order, that will then call ffmpeg to concat the files using the concat.txt in each subfolder, placing the video file (named after the subfolder) into a folder like /mnt/User/Pool/Finished/Videofile. Then, hopefully it will delete the concat.txt file so I know which folders are finished with a quick look.

    


    I know the ffmpeg concat options for that part, I just have no idea what to use to make sure the resulting video file is named after the subfolder it came from.

    


    I could do this in Windows (albeit in a hacky, not very pretty way), but I have no idea how to accomplish this in Linux.

    


    As an example...

    


    


    /mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD1.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD2.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD3.mp4
/mnt/User/Pool/Concat/10.10.2022.0034.Recording/10.10.2022.0034.Recording
CD4.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD1.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD2.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD3.mp4
/mnt/User/Pool/Concat/10.11.2022.0254.Recording/10.11.2022.0254.Recording
CD4.mp4

    


    Put through ffmpeg to concat, results in files

    


    /mnt/User/Pool/Finished/10.10.2022.0034.Recording.mp4

    


    /mnt/User/Pool/Finished/10.11.2022.0254.Recording.mp4

    


    


    Hopefully that makes sense.

    


    Someone closed this because it wasn't "focused enough" and didn't focus on one thing... but there is ONLY one thing that it needs to do.

    


    I have no idea what they would want me to change to fix what isn't broken, so I fundamentally am at a loss. The script just needs to search through subfolders, create a concat.txt file and send that file to ffmpeg creating the new file, named after the folder, in a new location. That is literally as focused as I can make it.

    


  • SetInodeAttributes error when creating a file inside bucket

    19 août 2022, par Turgut

    I've made a C++ program that lives in gke and takes some videos as input using ffmpeg, then does something with that input using opengl,finally it encodes those edited videos as a single output. Normally the program works perfectly fine on my local machine, it encodes just as I want it to with no warnings whatsoever. But I want it to encode that video directly to the cloud using a gcsfuse bucket. I've succesfully mounted the bucket and it seems to create the file at the start of my programs run. But when the run is over it's suppose to finish the encoding and finilize the video file. However when it reaches the end it gives off this error on the terminal where I run the gcsfuse command :

    


    2022/08/19 21:38:15.477586 SetInodeAttributes: input/output error, SetMtime: UpdateObject: not retrying UpdateObject("c36c2633-d4ee-4d37-825f-88ae54b86100.mp4"): gcs.NotFoundError: googleapi: Error 404: No such object: development-videoo-storage1/c36c2633-d4ee-4d37-825f-88ae54b86100.mp4, notFound
fuse: 2022/08/19 21:38:15.477660 *fuseops.SetInodeAttributesOp error: input/output error
2022/08/19 21:38:15.637346 SetInodeAttributes: input/output error, SetMtime: UpdateObject: not retrying UpdateObject("c36c2633-d4ee-4d37-825f-88ae54b86100"): gcs.NotFoundError: googleapi: Error 404: No such object: development-videoo-storage1/c36c2633-d4ee-4d37-825f-88ae54b86100, notFound
fuse: 2022/08/19 21:38:15.637452 *fuseops.SetInodeAttributesOp error: input/output error
2022/08/19 21:38:15.769569 GetInodeAttributes: input/output error, clobbered: StatObject: not retrying StatObject("c36c2633-d4ee-4d37-825f-88ae54b86100.mp4"): gcs.NotFoundError: googleapi: Error 404: No such object: development-videoo-storage1/c36c2633-d4ee-4d37-825f-88ae54b86100.mp4, notFound
fuse: 2022/08/19 21:38:15.769659 *fuseops.GetInodeAttributesOp error: input/output error


    


    At the end I end up with a file with the same size as my desired output but with an invalid video with no frames in it.

    


    I'm using a service account to activate my bucket, I can read files just fine and my service account has every permission it needs, here is how I mount my bucket :

    


    GOOGLE_APPLICATION_CREDENTIALS=./service-account.json gcsfuse -o nonempty --foreground cloud-storage-name /media


    


    I'm using ubuntu 22.04

    


  • 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