Recherche avancée

Médias (1)

Mot : - Tags -/getid3

Autres articles (64)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (9399)

  • How to send ffmpeg AVPacket through WebRTC (using libdatachannel)

    14 novembre 2022, par mike

    I'm encoding a video frame with the ffmpeg libraries, generating an AVPacket with compressed data.

    


    Thanks to some recent advice here on S/O, I am trying to send that frame over a network using the WebRTC library libdatachannel, specifically by adapting the example here :

    


    https://github.com/paullouisageneau/libdatachannel/tree/master/examples/streamer

    


    I am seeing problems inside h264rtppacketizer.cpp (part of the library, not the example) which are almost certainly to do with how I'm providing the sample data.
(I don't think that this is anything to do with libdatachannel specifically, it will be an issue with what I'm sending)

    


    The example code reads each encoded frame from a file, and populates a sample by setting the content of the file to the contents of the file :

    


    sample = *reinterpret_cast *>(&fileContents);

    


    sample is just a std::vector<byte>;</byte>

    &#xA;

    I have naively copied the contents of an AVPacket->data pointer into the sample vector :

    &#xA;

    sample.resize(pkt->size);&#xA;memcpy(sample.data(), pkt->data, pkt->size * sizeof(std::byte));    &#xA;

    &#xA;

    but the packetizer is falling over when trying to get length values out of that data.&#xA;Specifically, in the following code, the first iteration gets a length of 1, but the second, looking up index 5, gives 1119887324. This is way too big for my data, which is only 3526 bytes (the whole frame is a single colour so likely to be small once encoded) :

    &#xA;

    while (index &lt; message->size()) {&#xA;assert(index &#x2B; 4 &lt; message->size());&#xA;auto lengthPtr = (uint32_t *)(message->data() &#x2B; index);&#xA;uint32_t length = ntohl(*lengthPtr);&#xA;auto naluStartIndex = index &#x2B; 4;&#xA;auto naluEndIndex = naluStartIndex &#x2B; length;&#xA;assert(naluEndIndex &lt;= message->size());    &#xA;        &#xA;auto begin = message->begin() &#x2B; naluStartIndex;&#xA;auto end = message->begin() &#x2B; naluEndIndex;&#xA;nalus->push_back(std::make_shared<nalunit>(begin, end));&#xA;index = naluEndIndex;&#xA;}&#xA;</nalunit>

    &#xA;

    Here is a dump of

    &#xA;

    uint32_t length = ntohl(*lengthPtr);&#xA;

    &#xA;

    for the first few elements of the message (*lengthPtr in parentheses) :

    &#xA;

    [2022-03-29 15:12:01.182] [info] index 0: 1  (16777216)&#xA;[2022-03-29 15:12:01.183] [info] index 1: 359  (1728118784)&#xA;[2022-03-29 15:12:01.184] [info] index 2: 91970  (1114046720)&#xA;[2022-03-29 15:12:01.186] [info] index 3: 23544512  (3225577217)&#xA;[2022-03-29 15:12:01.186] [info] index 4: 1732427807  (532693607)&#xA;[2022-03-29 15:12:01.187] [info] index 5: 1119887324  (3693068354)&#xA;[2022-03-29 15:12:01.188] [info] index 6: 3223313413  (98312128)&#xA;[2022-03-29 15:12:01.188] [info] index 7: 534512896  (384031)&#xA;[2022-03-29 15:12:01.188] [info] index 8: 3691315291  (1526728156)&#xA;[2022-03-29 15:12:01.189] [info] index 9: 83909537  (2707095557)&#xA;[2022-03-29 15:12:01.189] [info] index 10: 6004992  (10574592)&#xA;[2022-03-29 15:12:01.190] [info] index 11: 1537277952  (41307)&#xA;[2022-03-29 15:12:01.190] [info] index 12: 2701131779  (50331809)&#xA;[2022-03-29 15:12:01.192] [info] index 13: 768  (196608)&#xA;

    &#xA;

    (I know I should post a complete sample, I am working on it)

    &#xA;

      &#xA;
    • I am fairly sure I am just missing something basic. E.g. am I supposed to do something with the AVPacket side_data, does AVPacket have or miss some header info ?

      &#xA;

    • &#xA;

    • If I just fwrite the pkt->data for a single frame to disk, I can read the codec information with ffprobe :

      &#xA;

    • &#xA;

    &#xA;

    Input #0, h264, from &#x27;encodedOut.h264&#x27;:&#xA;Duration: N/A, bitrate: N/A&#xA;Stream #0:0: Video: h264 (Constrained Baseline), yuv420p(progressive), 1280x720, 30 tbr, 1200k tbn&#xA;

    &#xA;

    Update : This issue is solved by changing the H264RtpPacketizer separator setting from H264RtpPacketizer::Separator::Length to H264RtpPacketizer::Separator::LongStartSequence, many thanks to author of libdatachannel paullouisageneau (see answer below)

    &#xA;

    I have issues related to settings for the libx264 encoder, but can happily encode with h264_nvenc and h264_mf

    &#xA;

  • ffmpeg extracting frames from a 60 fps video

    15 juillet 2022, par ggt bnd

    I would like to extract frames from a 60 fps video, all of them I used the ffmpeg code&#xA;sevral times on lower fps videos&#xA;' ffmpeg -i test.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%08d.jpg "&#xA;and it works just fine, knowing that the default fps is 24&#xA;how can I change it so it extract at 60 fps&#xA;ffmpeg version " ffmpeg-2022-07-06-git-03d81a044a-full_build "

    &#xA;

  • Strange problem with inotifywait, while do and ffmpeg

    27 juillet 2022, par cluelessdev

    Linux Mint 20.3 up to date.&#xA;I'd like to convert and rename with ffmpeg some files which appear in a folder.&#xA;When not using the ffmpeg line everything works fine (note ffmpeg is commented out here)&#xA;`

    &#xA;

    #!/bin/bash&#xA;rm flist.txt&#xA;watchdir=/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/&#xA;startdate=54&#xA;starttime=32&#xA;while read -r fullpath &#xA;do&#xA;    echo "fullpath &#x27;$fullpath&#x27;" >> flist.txt&#xA;        lenght=${#fullpath}&#xA;    echo &#x27;lenght &#x27; $lenght >> flist.txt &#xA;    basedate=${fullpath:lenght-startdate:4}${fullpath:lenght-startdate&#x2B;5:2}${fullpath:lenght-startdate&#x2B;8:2}&#xA;    basetime=${fullpath:lenght-starttime:2}${fullpath:lenght-starttime&#x2B;3:2}${fullpath:lenght-starttime&#x2B;6:2} &#xA;    echo basedate "&#x27;$basedate&#x27;" >> flist.txt&#xA;    echo basetime "&#x27;$basetime&#x27;" >> flist.txt&#xA;    newfilename="/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/test2/recordings-convert/"$basedate"-"$basetime"-doorcam".mkv&#xA;    # ffmpeg -y -i $fullpath -c:v copy -movflags &#x2B;faststart $newfilename &amp;> /dev/null&#xA;done &lt; &lt;(inotifywait -m -r "$watchdir" --format &#x27;%w%f&#x27; -e create -e moved_to | grep &#x27;\.dav$&#x27; --line-buffered)&#xA;

    &#xA;

    This does produce the desired result without ffmeg conversion :

    &#xA;

    $cat flist.txt&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.01.33-00.01.55[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;000133&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.29.26-00.29.48[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;002926&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.33.09-00.33.32[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;003309&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/02/02.23.35-02.23.56[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;022335&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/02/02.27.19-02.27.40[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;022719&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/04/04.08.22-04.08.43[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;040822&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.50.14-06.50.40[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065014&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.50.43-06.51.28[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065043&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.56.56-06.58.02[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065656&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/09/09.18.31-09.19.09[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;091831&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/09/09.47.54-09.55.00[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;094754&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/09/09.55.00-09.55.50[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;095500&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/10/10.20.23-10.20.44[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;102023&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/10/10.24.24-10.24.44[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;102424&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/11/11.00.39-11.01.34[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;110039&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/13/13.26.22-13.26.53[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;132622&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.00.09-16.01.04[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;160009&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.38.46-16.39.15[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;163846&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.56.05-16.56.30[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;165605&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.56.30-16.57.05[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;165630&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.24.56-19.25.33[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;192456&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.51.13-19.52.00[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;195113&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.52.37-19.53.10[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;195237&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.05.29-20.06.02[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;200529&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.26.44-20.27.38[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;202644&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.35.20-20.35.41[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;203520&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.38.57-20.39.17[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;203857&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.40.49-20.41.11[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204049&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.44.27-20.44.47[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204427&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.49.09-20.49.46[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204909&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.51.09-20.51.58[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;205109&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.33.25-22.33.46[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;223325&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.38.48-22.39.10[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;223848&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.50.14-22.50.35[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;225014&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.04.43-23.05.03[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;230443&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.08.18-23.08.40[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;230818&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.19.51-23.20.11[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;231951&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.23.27-23.23.48[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;232327&#x27;&#xA;

    &#xA;

    `&#xA;If I remove the comment and do the ffmpeg thing it fails for some files because $fullpath is wrong :

    &#xA;

    $cat flist.txt&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.01.33-00.01.55[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;000133&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.29.26-00.29.48[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;002926&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/00/00.33.09-00.33.32[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;003309&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/02/02.23.35-02.23.56[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;022335&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/02/02.27.19-02.27.40[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;022719&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/04/04.08.22-04.08.43[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;040822&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.50.14-06.50.40[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065014&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.50.43-06.51.28[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065043&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/06/06.56.56-06.58.02[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;065656&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/09/09.18.31-09.19.09[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;091831&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/09/09.47.54-09.55.00[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;094754&#x27;&#xA;fullpath &#x27;1/dav/09/09.55.00-09.55.50[M][0@0][0].dav&#x27;&#xA;lenght  41&#xA;basedate &#x27;][0@][].&#x27;&#xA;basetime &#x27;095500&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/10/10.20.23-10.20.44[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;102023&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/10/10.24.24-10.24.44[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;102424&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/11/11.00.39-11.01.34[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;110039&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/13/13.26.22-13.26.53[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;132622&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.00.09-16.01.04[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;160009&#x27;&#xA;fullpath &#x27;dia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.38.46-16.39.15[M][0@0][0].dav&#x27;&#xA;lenght  116&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;163846&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.56.05-16.56.30[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;165605&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/16/16.56.30-16.57.05[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;165630&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.24.56-19.25.33[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;192456&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.51.13-19.52.00[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;195113&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/19/19.52.37-19.53.10[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;195237&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.05.29-20.06.02[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;200529&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.26.44-20.27.38[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;202644&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.35.20-20.35.41[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;203520&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.38.57-20.39.17[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;203857&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.40.49-20.41.11[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204049&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.44.27-20.44.47[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204427&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.49.09-20.49.46[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;204909&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/20/20.51.09-20.51.58[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;205109&#x27;&#xA;fullpath &#x27;edia/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.33.25-22.33.46[M][0@0][0].dav&#x27;&#xA;lenght  117&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;223325&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.38.48-22.39.10[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;223848&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/22/22.50.14-22.50.35[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;225014&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.04.43-23.05.03[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;230443&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.08.18-23.08.40[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;230818&#x27;&#xA;fullpath &#x27;/media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.19.51-23.20.11[M][0@0][0].dav&#x27;&#xA;lenght  119&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;231951&#x27;&#xA;fullpath &#x27;media/mark/d1d75ed6-f3a5-433b-9090-d95191275f6c/download/camera/2022-06-11/001/dav/23/23.23.27-23.23.48[M][0@0][0].dav&#x27;&#xA;lenght  118&#xA;basedate &#x27;20220611&#x27;&#xA;basetime &#x27;232327&#x27;&#xA;

    &#xA;

    So why does it fail when ffmpeg is not commented out ?

    &#xA;

    Follow-up : found this post

    &#xA;

    https://unix.stackexchange.com/questions/241535/problem-with-ffmpeg-in-bash-loop

    &#xA;

    I think this relates to my problem but I don't know how to change my code accordingly.

    &#xA;

    Edit2, I think I found the solution

    &#xA;

    ffmpeg -y -i $fullpath -c:v copy -movflags &#x2B;faststart $newfilename &lt; /dev/null &amp;> /dev/null;&#xA;

    &#xA;