Advanced search

Medias (1)

Tag: - Tags -/framasoft

Other articles (106)

  • Keeping control of your media in your hands

    13 April 2011, by

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • Les images

    15 May 2013
  • Taille des images et des logos définissables

    9 February 2011, by

    Dans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
    Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...)

On other websites (7676)

  • merge video of images(without audio) to another video(with audio) through ffmpeg in android

    28 February 2018, by Raghav Sharma

    I am using the below qwery for creating video from image

    String imageToVideo[]={"-loop","1","-i",picturePath,"-pix_fmt","yuv420p","-t","6",VideoSavePath};

    successfully created video and then i merge created video to another video but getting issue

    below is the command for merging two videos

    VideoSavePath — created video from image

    secondVideoPath — path of some random video

    String VidCommand[]={"-y","-i",VideoSavePath ,"-i", secondVideoPath, "-filter_complex","[0:0][1:0]concat=n=2:v=1:a=0", bothMerge}

    But now i am stuck with this error:

    Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.829 9364-9364/com.demovideomerge D/MainActivity: progress : libavutil 55. 17.103 / 55. 17.103
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.830 9364-9364/com.demovideomerge D/MainActivity: progress : libavcodec 57. 24.102 / 57. 24.102
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity: progress : libavformat 57. 25.100 / 57. 25.100
    02-27 21:14:57.831 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.832 9364-9364/com.demovideomerge D/MainActivity: progress : libavdevice 57. 0.101 / 57. 0.101
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity: progress : libavfilter 6. 31.100 / 6. 31.100
    02-27 21:14:57.833 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity: progress : libswscale 4. 0.100 / 4. 0.100
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.834 9364-9364/com.demovideomerge D/MainActivity: progress : libswresample 2. 0.101 / 2. 0.101
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.835 9364-9364/com.demovideomerge D/MainActivity: progress : libpostproc 54. 0.100 / 54. 0.100
    02-27 21:14:57.857 9364-9389/com.demovideomerge V/RenderScript: Application requested CPU execution
    02-27 21:14:57.900 9364-9389/com.demovideomerge V/RenderScript: 0xb772e190 Launching thread(s), CPUs 4
    02-27 21:14:57.945 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.947 9364-9364/com.demovideomerge D/MainActivity: progress : Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Movies/Merge_Video5.mp4’:
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity: progress : Metadata:
    02-27 21:14:57.948 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity: progress : major_brand : isom
    02-27 21:14:57.951 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity: progress : minor_version : 512
    02-27 21:14:57.954 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity: progress : compatible_brands: isomiso2avc1mp41
    02-27 21:14:57.956 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity: progress : encoder : Lavf57.25.100
    02-27 21:14:57.957 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity: progress : Duration: 00:00:06.00, start: 0.000000, bitrate: 80 kb/s
    02-27 21:14:57.959 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity: progress : Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity: progress : Metadata:
    02-27 21:14:57.961 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:57.962 9364-9364/com.demovideomerge D/MainActivity: progress : handler_name : VideoHandler
    02-27 21:14:58.318 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.321 9364-9364/com.demovideomerge D/MainActivity: progress : Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’:
    02-27 21:14:58.322 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity: progress : Metadata:
    02-27 21:14:58.323 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity: progress : major_brand : mp42
    02-27 21:14:58.324 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.325 9364-9364/com.demovideomerge D/MainActivity: progress : minor_version : 0
    02-27 21:14:58.326 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity: progress : compatible_brands: isommp42
    02-27 21:14:58.327 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.329 9364-9364/com.demovideomerge D/MainActivity: progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.331 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.333 9364-9364/com.demovideomerge D/MainActivity: progress : Duration: 00:00:05.59, start: 0.000000, bitrate: 8748 kb/s
    02-27 21:14:58.334 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.338 9364-9364/com.demovideomerge D/MainActivity: progress : Stream #1:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    02-27 21:14:58.339 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity: progress : Metadata:
    02-27 21:14:58.340 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity: progress : rotate : 90
    02-27 21:14:58.341 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.342 9364-9364/com.demovideomerge D/MainActivity: progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.343 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.344 9364-9364/com.demovideomerge D/MainActivity: progress : handler_name : VideoHandle
    02-27 21:14:58.345 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity: progress : encoder : MOTO
    02-27 21:14:58.346 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity: progress : Side data:
    02-27 21:14:58.348 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.350 9364-9364/com.demovideomerge D/MainActivity: progress : displaymatrix: rotation of -90.00 degrees
    02-27 21:14:58.351 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity: progress : Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.355 9364-9364/com.demovideomerge D/MainActivity: progress : Metadata:
    02-27 21:14:58.362 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.363 9364-9364/com.demovideomerge D/MainActivity: progress : creation_time : 2018-02-09 14:34:30
    02-27 21:14:58.365 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity: progress : handler_name : SoundHandle
    02-27 21:14:58.366 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity: progress : [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    02-27 21:14:58.370 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity: progress : [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    02-27 21:14:58.372 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity: progress : Error configuring complex filters.
    02-27 21:14:58.376 9364-9364/com.demovideomerge D/MainActivity: Started command : ffmpeg [Ljava.lang.String;@8061ebb
    02-27 21:14:58.377 9364-9364/com.demovideomerge D/MainActivity: progress : Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity: FAILED with output : ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers
    built with gcc 4.8 (GCC)
    configuration: —target-os=linux —cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- —arch=arm —cpu=cortex-a8 —enable-runtime-cpudetect —sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot —enable-pic —enable-libx264 —enable-libass —enable-libfreetype —enable-libfribidi —enable-libmp3lame —enable-fontconfig —enable-pthreads —disable-debug —disable-ffserver —enable-version3 —enable-hardcoded-tables —disable-ffplay —disable-ffprobe —enable-gpl —enable-yasm —disable-doc —disable-shared —enable-static —pkg-config=/home/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config —prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a —extra-cflags=’-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all’ —extra-ldflags=’-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie’ —extra-libs=’-lpng -lexpat -lm’ —extra-cxxflags=
    libavutil 55. 17.103 / 55. 17.103
    libavcodec 57. 24.102 / 57. 24.102
    libavformat 57. 25.100 / 57. 25.100
    libavdevice 57. 0.101 / 57. 0.101
    libavfilter 6. 31.100 / 6. 31.100
    libswscale 4. 0.100 / 4. 0.100
    libswresample 2. 0.101 / 2. 0.101
    libpostproc 54. 0.100 / 54. 0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/Movies/Merge_Video5.mp4’:
    Metadata:
    major_brand : isom
    minor_version : 512
    compatible_brands: isomiso2avc1mp41
    encoder : Lavf57.25.100
    Duration: 00:00:06.00, start: 0.000000, bitrate: 80 kb/s
    Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 540x960, 76 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
    handler_name : VideoHandler
    Input #1, mov,mp4,m4a,3gp,3g2,mj2, from ’/storage/emulated/0/DCIM/Camera/VID_20180209_200422444.mp4’:
    Metadata:
    major_brand : mp42
    minor_version : 0
    compatible_brands: isommp42
    creation_time : 2018-02-09 14:34:30
    Duration: 00:00:05.59, start: 0.000000, bitrate: 8748 kb/s
    Stream #1:0(eng): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 864x480, 8283 kb/s, SAR 1:1 DAR 9:5, 29.13 fps, 29.92 tbr, 90k tbn, 180k tbc (default)
    Metadata:
    rotate : 90
    creation_time : 2018-02-09 14:34:30
    handler_name : VideoHandle
    encoder : MOTO
    Side data:
    displaymatrix: rotation of -90.00 degrees
    Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
    creation_time : 2018-02-09 14:34:30
    handler_name : SoundHandle
    [Parsed_concat_0 @ 0xb819c8b0] Input link in1:v0 parameters (size 480x864, SAR 1:1) do not match the corresponding output link in0:v0 parameters (540x960, SAR 1:1)
    [Parsed_concat_0 @ 0xb819c8b0] Failed to configure output pad on Parsed_concat_0
    Error configuring complex filters.
    Invalid argument
    02-27 21:14:58.378 9364-9364/com.demovideomerge D/MainActivity: Finished command : ffmpeg [Ljava.lang.String;@8061ebb

    Any help would be appreciated. I am badly stuck in this. Thanks in Advance.

  • ffmpeg concat and preserve metadata streams

    16 December 2024, by Andrew

    I'm trying to concat multiple files that are the result of a GoPro Hero6 splitting movies to avoid the FAT 4GB limit. ffmpeg works great for this purpose but I need the telemetry data that is encoded in the metadata streams, and ffmpeg by default doesn't seem to preserve this. Using the ffprobe command you can see that the source videos have:

    



    Stream #0:3(eng): Data: none (gpmd / 0x646D7067), 36 kb/s (default)
Metadata:
  creation_time   : 2018-07-15T16:16:26.000000Z
  handler_name    : GoPro MET


    



    I know from research that this is the stream I need (although I'd like to be able to copy all streams). However when using ffmpeg -f concat the output is:

    



    [concat @ 0x7febb9800000] Could not find codec parameters for stream 2 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[concat @ 0x7febb9800000] Could not find codec parameters for stream 3 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[concat @ 0x7febb9800000] Could not find codec parameters for stream 4 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
Input #0, concat, from 'tmp.txt':
  Duration: N/A, start: 0.000000, bitrate: 66194 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 66005 kb/s, 59.94 fps, 59.94 tbr, 60k tbn, 119.88 tbc
    Metadata:
      creation_time   : 2018-07-15T16:08:22.000000Z
      handler_name    : GoPro AVC
      encoder         : GoPro AVC encoder
      timecode        : 16:23:48:21
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s
    Metadata:
      creation_time   : 2018-07-15T16:08:22.000000Z
      handler_name    : GoPro AAC
      timecode        : 16:23:48:21
    Stream #0:2: Unknown: none
    Stream #0:3: Unknown: none
    Stream #0:4: Unknown: none
Output #0, mp4, to 'GH0089.MP4':
  Metadata:
    encoder         : Lavf58.12.100
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], q=2-31, 66005 kb/s, 0.02 fps, 59.94 tbr, 60k tbn, 60k tbc
    Metadata:
      creation_time   : 2018-07-15T16:08:22.000000Z
      handler_name    : GoPro AVC
      encoder         : GoPro AVC encoder
      timecode        : 16:23:48:21
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s
    Metadata:
      creation_time   : 2018-07-15T16:08:22.000000Z
      handler_name    : GoPro AAC
      timecode        : 16:23:48:21
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help


    



    The warnings Could not find codec parameters are especially interesting and Stream mapping shows that only the video and audio streams are mapped. I've played around with map_metadata to no avail. I may not have the format right but it seems more likely that the issue is related to the warning as the codecs are not recognized and I would expect all streams to be mapped by default.

    



    I would expect or hope for an answer that ignore the warnings and map the unrecognized streams without attempting to understand them.

    



    Any help is appreciated.

    


  • Converting bat to bash script [on hold]

    15 July 2019, by dezxela

    Please help me with coversion this script from here to bash:
    https://stackoverflow.com/a/38291960/11786146

    This part of the code seems to be reconciled in me, but I’m not sure that it’s correct:

    #  path to ffmpeg
    export  ffmpeg='/home/user/bin'
    #  source movies from
    export  movieSource='/mnt/dev1/radio/Masha'
    #  tmp dir
    export  tmpDir='/mnt/dev1/radio/Masha'


    #  setup positon, color, background, font for the text overlays
    #  filterComplex, quotes have to be escaped! -> \"
    #  BITC - Burned In Time Code
    export  filterComplexTimecode='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': timecode='10\:00\:00\:00': timecode_rate=24: x=(w-tw)/2: y=h-(1*lh)-3: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4'
    #  Date
    export  filterComplexDate='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': text='%{localtime\:%X}': x=(w-tw-3): y=h-(1*lh)-3: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4'
    #  Shotname
    export  filterComplexShotname='drawtext=fontfile='/usr/share/fonts/truetype/freefont/FreeSerif.ttf': x=0: y=h-(1*lh)+1: fontsize=20: fontcolor=white@0.4: box=1: boxcolor=0x00000000@0.4: boxborderw=4:'

    #  create a list of all files
    find "$movieSource" -name "*.mp4" -type f | sort -R | while read j; do echo "file '$j'" >> $tmpDir/filelist.txt; done

    echo filename, durationInSeconds > $tmpDir/fileNameDuration.txt
    for file in $movieSource/*.mp4; do
     #  Reset current duration to 0 (zero) for each loop
     export  curDuration=0
     #  get the filename without file extenion
     export  fileName=${file##*/}
     #  get the duration of a single clip
     #  and write it to a tmp textfile
     $ffmpeg/ffprobe -v error -show_entries format=duration -of default=noprint_wrappers=1:nokey=1 "$file" > $tmpDir/fileTempDuration.txt
     #  read the textfile again into a variable
    read -p  < $tmpDir/fileTempDuration.txt last curDuration

     #  write the filename and the duration to a new list of all files
    echo $fileName,$curDuration >> $tmpDir/fileNameDuration.txt ;done

    #  concate a filter complex string for ffmpeg with all clipnames as textlayer with a inpoint and outpoint
    export  filterComplexShotnameCombined=
    #  floating numbers are not supported by batch, so we need to work-around that
    source  :IntAsFP b=0.000000
    for i in $tmpDir/fileNameDuration.txt; do
     source  :IntAsFP a=$j
     source  :IntToFP inPoint=$b 6
     export  c=$(expr a + b)
     export   b=c
     source  :IntToFP outPoint=$c 6
     #  just to check whats going on...
     echo name: $i   duration: $j   inPoint: $inPoint   outPoint: $outPoint
     export  filterComplexShotnameCombined='$filterComplexShotnameCombined, $filterComplexShotname text=$i: enable=between(t\,$inPoint\,$outPoint^^^)';done