Recherche avancée

Médias (91)

Autres articles (32)

  • Modifier la date de publication

    21 juin 2013, par

    Comment changer la date de publication d’un média ?
    Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
    Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
    Dans la rubrique "Champs à ajouter, cocher "Date de publication "
    Cliquer en bas de la page sur Enregistrer

  • 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

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

Sur d’autres sites (7321)

  • Concatenating on Windows throws "Invalid data found when processing input" while it works on Mac and Linux

    15 février 2020, par miguelmorin

    I need to run a command with a nightly build of FFMPEG to report a bug on the concat protocol. I found it difficult to compile from source with libx264 support on Linux, and I want to spare my Mac computer, so I use the nightly build on Windows from Zeranoe.

    I call this command to concatenate the files :

    ffmpeg -safe 0 concat -i files_to_combine -vcodec libx264 show.mp4

    where files_to_combine is :

    file ./short_DSC_0013.MOV
    file ./short_DSC_0014.MOV
    file ./short_DSC_0015.MOV
    file ./short_DSC_0016.MOV
    file ./short_DSC_0017.MOV
    file ./short_DSC_0018.MOV
    file ./short_DSC_0019.MOV

    I call this command from the directory containing the video files and files_to_combine.

    On Windows with a nightly build, I get the error :

    files_to_combine : Invalid data found when processing input
    

    I changed file ./DSC_0013.MOV to these options, all with the same error :

    file 'short_DSC_0013.MOV'
    file '.\short_DSC_0013.MOV'
    file 'F:\short_DSC_0013.MOV'

    How can I debug this error, or what is the syntax for concatenating on Windows with a nightly build ?

    Update with log-level 48

    I ran the same command with -v 48 and got :

    F :\brain squids>C :\Users\migue\Desktop\ffmpeg-20200211-f15007a-win64-static\bin\ffmpeg.exe -v 48 -i files_to_combine -vcodec libx264 show.mp4
    ffmpeg version git-2020-02-11-f15007a Copyright (c) 2000-2020 the FFmpeg developers
      built with gcc 9.2.1 (GCC) 20200122
      configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt —enable-amf
      libavutil      56. 39.100 / 56. 39.100
      libavcodec     58. 68.102 / 58. 68.102
      libavformat    58. 38.100 / 58. 38.100
      libavdevice    58.  9.103 / 58.  9.103
      libavfilter     7. 75.100 /  7. 75.100
      libswscale      5.  6.100 /  5.  6.100
      libswresample   3.  6.100 /  3.  6.100
      libpostproc    55.  6.100 / 55.  6.100
    Splitting the commandline.
    Reading option ’-v’ ... matched as option ’v’ (set logging level) with argument ’48’.
    Reading option ’-i’ ... matched as input url with argument ’files_to_combine’.
    Reading option ’-vcodec’ ... matched as option ’vcodec’ (force video codec (’copy’ to copy stream)) with argument ’libx264’.
    Reading option ’show.mp4’ ... matched as output url.
    Finished splitting the commandline.
    Parsing a group of options : global .
    Applying option v (set logging level) with argument 48.
    Successfully parsed a group of options.
    Parsing a group of options : input url files_to_combine.
    Successfully parsed a group of options.
    Opening an input file : files_to_combine.
    [NULL @ 0000021c781784c0] Opening ’files_to_combine’ for reading
    [file @ 0000021c78179580] Setting default whitelist ’file,crypto,data’
    [AVIOContext @ 0000021c781817c0] Statistics : 182 bytes read, 0 seeks
    files_to_combine : Invalid data found when processing input
    

    The contents of files_to_combine is :

    file ’short_DSC_0013.MOV’
    file ’short_DSC_0014.MOV’
    file ’short_DSC_0015.MOV’
    file ’short_DSC_0016.MOV’
    file ’short_DSC_0017.MOV’
    file ’short_DSC_0018.MOV’
    file ’short_DSC_0019.MOV’
    

    Update because of wrong command

    I had mistyped the command. The right command has a -f in front of concat, which I found because the accepted answer was able to make the command work in a similar environment :

    ffmpeg -safe 0 -f concat -i files_to_combine -vcodec libx264 show.mp4
  • FFMPEG - Invalid argument - When giving effects to multiple videos

    21 mai 2021, par D.B.

    I am trying to give transition effects to multiple videos together in one command using FFMPEG.
I am not able to find the issue. I have tried the command as advised at url :
Merging multiple video files with ffmpeg and xfade filter

    


    I am getting error : Invalid arguments. Please advise me the solution.

    


    Many Thanks

    


    Command :

    


        ffmpeg -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4 
 -i D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4

 [0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];
 [V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02]; [V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03]; [V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];
 [V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];
 [V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];
 [V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];
 [V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];
 [V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];
 [V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];
 [V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];
 [V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];
 [V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];
 [V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video]; 
 [0:a][1:a]acrossfade=d=0.5:c1=tri:c2=tri[A01];
 [A01][2:a]acrossfade=d=0.5:c1=tri:c2=tri[A02];
 [A02][3:a]acrossfade=d=0.5:c1=tri:c2=tri[A03];
 [A03][4:a]acrossfade=d=0.5:c1=tri:c2=tri[A04];
 [A04][5:a]acrossfade=d=0.5:c1=tri:c2=tri[A05];
 [A05][6:a]acrossfade=d=0.5:c1=tri:c2=tri[A06];
 [A06][7:a]acrossfade=d=0.5:c1=tri:c2=tri[A07];
 [A07][8:a]acrossfade=d=0.5:c1=tri:c2=tri[A08];
 [A08][9:a]acrossfade=d=0.5:c1=tri:c2=tri[A09];
 [A09][10:a]acrossfade=d=0.5:c1=tri:c2=tri[A010];
 [A010][11:a]acrossfade=d=0.5:c1=tri:c2=tri[A011];
 [A011][12:a]acrossfade=d=0.5:c1=tri:c2=tri[A012];
 [A012][13:a]acrossfade=d=0.5:c1=tri:c2=tri[A013];
 [A013][14:a]acrossfade=d=0.5:c1=tri:c2=tri[audio] -map "[video]" -map "[audio]" -movflags +faststart D:/ffmpeg_output/Library/2020/11/21/SSLK006998_FinalMergedFile_NotFromAction_9415.mp4
 
 
 


    


    Command and output showing error code below :
Please advise.

    


        C:\Users\dinesh>ffmpeg  -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4 -i D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4 -i D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4 [0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video]; [0:a][1:a]acrossfade=d=0.5:c1=tri:c2=tri[A01];[A01][2:a]acrossfade=d=0.5:c1=tri:c2=tri[A02];[A02][3:a]acrossfade=d=0.5:c1=tri:c2=tri[A03];[A03][4:a]acrossfade=d=0.5:c1=tri:c2=tri[A04];[A04][5:a]acrossfade=d=0.5:c1=tri:c2=tri[A05];[A05][6:a]acrossfade=d=0.5:c1=tri:c2=tri[A06];[A06][7:a]acrossfade=d=0.5:c1=tri:c2=tri[A07];[A07][8:a]acrossfade=d=0.5:c1=tri:c2=tri[A08];[A08][9:a]acrossfade=d=0.5:c1=tri:c2=tri[A09];[A09][10:a]acrossfade=d=0.5:c1=tri:c2=tri[A010];[A010][11:a]acrossfade=d=0.5:c1=tri:c2=tri[A011];[A011][12:a]acrossfade=d=0.5:c1=tri:c2=tri[A012];[A012][13:a]acrossfade=d=0.5:c1=tri:c2=tri[A013];[A013][14:a]acrossfade=d=0.5:c1=tri:c2=tri[audio] -map "[video]" -map "[audio]" -movflags +faststart D:/ffmpeg_output/Library/2020/11/21/SSLK006998_FinalMergedFile_NotFromAction_9415.mp4
ffmpeg version 2021-05-09-git-8649f5dca6-essentials_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-zlib --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-sdl2 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libgme --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libtheora --enable-libvo-amrwbenc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-librubberband
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  1.100 / 59.  1.100
  libavformat    59.  0.101 / 59.  0.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_1_5157.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
  Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_2_8955.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:02:16.56, start: 0.000000, bitrate: 3545 kb/s
  Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3348 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 190 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_3_7749.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:07:19.80, start: 0.000000, bitrate: 3416 kb/s
  Stream #2:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3220 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_3_1137.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
  Stream #3:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #3:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Input #4, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_4_7035.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:03:32.33, start: 0.000000, bitrate: 3750 kb/s
  Stream #4:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3554 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #4:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #5, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_5_1560.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:10:21.74, start: 0.000000, bitrate: 3547 kb/s
  Stream #5:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3351 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #5:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #6, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_5_3387.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:01:09.01, start: 0.000000, bitrate: 2873 kb/s
  Stream #6:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 2679 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #6:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Input #7, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_6_5929.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:07:56.90, start: 0.000000, bitrate: 3899 kb/s
  Stream #7:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3703 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #7:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #8, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtSameVideo_7_3635.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:10:51.96, start: 0.000000, bitrate: 3816 kb/s
  Stream #8:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3620 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #8:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #9, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeSameMediaAudioVideo_7_2726.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:06:26.64, start: 0.000000, bitrate: 3251 kb/s
  Stream #9:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3056 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #9:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Input #10, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_RmvAdVi_UntilLastSplit_8_6239.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:02:54.44, start: 0.000000, bitrate: 3809 kb/s
  Stream #10:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3613 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #10:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #11, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_VideoAudioUntilMarked_InsrtExternalVideo_9_9862.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:10:44.43, start: 0.000000, bitrate: 3472 kb/s
  Stream #11:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3276 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #11:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
Input #12, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21/SSLK006998_mergeExternalMediaAudioVideo_9_9464.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:01:09.01, start: 0.000000, bitrate: 2873 kb/s
  Stream #12:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 720x576 [SAR 16:15 DAR 4:3], 2679 kb/s, 25 fps, 25 tbr, 12800 tbn (default)
    Metadata:
      handler_name    : VideoHandler
      vendor_id       : [0][0][0][0]
  Stream #12:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
      vendor_id       : [0][0][0][0]
Input #13, mov,mp4,m4a,3gp,3g2,mj2, from 'D:/ffmpeg_output/Library/2020/11/21//SSLK006998_1535.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf59.0.101
  Duration: 00:06:48.53, start: 0.000000, bitrate: 3783 kb/s
  Stream #13:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p(tv, bt709), 1920x1080, 3588 kb/s, 25 fps, 25 tbr, 25k tbn (default)
    Metadata:
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
  Stream #13:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 189 kb/s (default)
    Metadata:
      handler_name    : #Mainconcept MP4 Sound Media Handler
      vendor_id       : [0][0][0][0]
[NULL @ 0000020134bf8080] Unable to find a suitable output format for '[0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video];'
[0][1]xfade=transition=circleclose:duration=0.5:offset=386.1[V01];[V01][2]xfade=transition=distance:duration=0.5:offset=522.05[V02];[V02][3]xfade=transition=circlecrop:duration=0.5:offset=961.22[V03];[V03][4]xfade=transition=circlecrop:duration=0.5:offset=1347.32[V04];[V04][5]xfade=transition=fadegrays:duration=0.5:offset=1559.07[V05];[V05][6]xfade=transition=diagbl:duration=0.5:offset=2180.17[V06];[V06][7]xfade=transition=diagbl:duration=0.5:offset=2248.67[V07];[V07][8]xfade=transition=hlslice:duration=0.5:offset=2724.96[V08];[V08][9]xfade=transition=diagbr:duration=0.5:offset=3376.38[V09];[V09][10]xfade=transition=diagbr:duration=0.5:offset=3762.48[V010];[V010][11]xfade=transition=fadewhite:duration=0.5:offset=3936.33[V011];[V011][12]xfade=transition=horzopen:duration=0.5:offset=4580.17[V012];[V012][13]xfade=transition=horzopen:duration=0.5:offset=4648.67[V013];[V013][14]xfade=transition=:duration=0.5:offset=5056.74,format=yuv420p[video];: Invalid argument

C:\Users\dinesh>


    


    Many Thanks

    


  • ffmpeg - Error [tcp @ 0x5a25700] Port missing in uri - SU privileges required

    11 mai 2021, par ger

    For further development I tried to download a livestream under Ubuntu 20.04

    


    uname -a
Linux 5.9.16-050916-generic #202012211331 SMP Mon Dec 21 14:11:13 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux`

ffmpeg -v debug -i 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
ffmpeg version 4.2.4-1ubuntu0.1 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=1ubuntu0.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opencl --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-nvenc --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libaribb24 --enable-liblensfun --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-timeout' ... matched as AVOption 'timeout' with argument '5000'.
Reading option '-i' ... matched as input url with argument 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd'.
Reading option 'testErsterKanal.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.
Successfully parsed a group of options.
Opening an input file: https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd.
[NULL @ 0x55f8e8ee6740] Opening 'https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd' for reading
[https @ 0x55f8e8ee7100] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x55f8e8ee9580] Original list of addresses:
[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Interleaved list of addresses:
[tcp @ 0x55f8e8ee9580] Address 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Starting connection attempt to 81.211.33.67 port 443
[tcp @ 0x55f8e8ee9580] Successfully connected to 81.211.33.67 port 443
[https @ 0x55f8e8ee7100] request: GET /dash-live11/streams/1tv/1tvdash.mpd HTTP/1.1


    


    worked well

    


    Under Debian 10

    


    Linux 4.19.0-16-amd64 #1 SMP Debian 4.19.181-1 (2021-03-19) x86_64 GNU/Linux


    


    it is not working

    


        ffmpeg -v debug -i 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
ffmpeg version 4.1.6 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --disable-decoder=amrnb --disable-decoder=libopenjpeg --disable-libopencv --disable-outdev=sdl2 --disable-podpages --disable-sndio --disable-stripping --enable-libaom --enable-avfilter --enable-avresample --enable-gcrypt --disable-gnutls --enable-openssl --enable-gpl --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libfdk-aac --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libilbc --enable-libkvazaar --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx265 --enable-libzimg --enable-libxvid --enable-libzvbi --enable-nonfree --enable-opencl --enable-opengl --enable-postproc --enable-pthreads --enable-shared --enable-version3 --enable-libwebp --incdir=/usr/include/x86_64-linux-gnu --libdir=/usr/lib/x86_64-linux-gnu --prefix=/usr --toolchain=hardened --enable-frei0r --enable-chromaprint --enable-libx264 --enable-libiec61883 --enable-libdc1394 --enable-vaapi --enable-libmfx --enable-libvmaf --disable-altivec --shlibdir=/usr/lib/x86_64-linux-gnu
  libavutil      56. 22.100 / 56. 22.100
  libavcodec     58. 35.100 / 58. 35.100
  libavformat    58. 20.100 / 58. 20.100
  libavdevice    58.  5.100 / 58.  5.100
  libavfilter     7. 40.101 /  7. 40.101
  libavresample   4.  0.  0 /  4.  0.  0
  libswscale      5.  3.100 /  5.  3.100
  libswresample   3.  3.100 /  3.  3.100
  libpostproc    55.  3.100 / 55.  3.100
Splitting the commandline.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd'.
Reading option 'testErsterKanal.mp4' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.
Successfully parsed a group of options.
Opening an input file: https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd.
[NULL @ 0x55ce69421280] Opening 'https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd' for reading
[https @ 0x55ce69421e40] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tcp @ 0x55ce69425e00] Port missing in uri
https://81.211.33.67/dash-live11/streams/1tv/1tvdash.mpd: Invalid argument


    


    I tried with ports 80 and 443, IP and an actual ffmpeg-Version in all combinations

    


        nmap edge2.1internet.tv
Starting Nmap 7.70 ( https://nmap.org ) at 2021-05-06 21:46 CEST
Nmap scan report for edge2.1internet.tv (81.211.33.67)
Host is up (0.078s latency).
Not shown: 998 filtered ports
PORT    STATE SERVICE
80/tcp  open  http
443/tcp open  https

ffmpeg -v debug -i 'https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
    ffmpeg -v debug -i 'https://81.211.33.67:80/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4
    ./ffmpeg-git-20210501-amd64-static/ffmpeg -v debug -i 'https://81.211.33.67:443/dash-live11/streams/1tv/1tvdash.mpd' testErsterKanal.mp4


    


    What is the error : [tcp @ 0x55ce69425e00] Port missing in uri and where it comes from ?
May be an global configuration error and not ffmpeg ?
Thanks

    


    EDIT

    


    I found out, that it is working only with sudo and the actual ffmpeg version (static build) from the home directory of the user, which is owend by the user.
All privileges of the directory's are at the user.

    


    sudo ./ffmpeg-git-20210501-amd64-static/ffmpeg -re -i https://edge2.1internet.tv/dash-live11/streams/1tv/1tvdash.mpd testErsterKanal.mp4
ffmpeg version N-57204-gc7c138e411-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2021 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-debug --disable-ffplay --disable-indev=sndio --disable-outdev=sndio --cc=gcc --enable-fontconfig --enable-frei0r --enable-gnutls --enable-gmp --enable-libgme --enable-gray --enable-libaom --enable-libfribidi --enable-libass --enable-libvmaf --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librubberband --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libvorbis --enable-libopus --enable-libtheora --enable-libvidstab --enable-libvo-amrwbenc --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libdav1d --enable-libxvid --enable-libzvbi --enable-libzimg
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  0.100 / 59.  0.100
  libavformat    59.  0.100 / 59.  0.100
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100


    


    With the standard Debian distribution version from /usr/bin/ffmpeg is still not working, too with su-privileges.

    


    I want to use it for tvheadend/TVH and can not work with su-privileges.

    


    I tried to at Ubuntu

    


    nc -z -v -u 81.211.33.67 443
Connection to 81.211.33.67 443 port [udp/*] succeeded!


    


    at Debian

    


    nc -z -v -u 81.211.33.67 443
81.211.33.67: inverse host lookup failed: Unknown host
(UNKNOWN) [81.211.33.67] 443 (?) open


    


    and with sudo the same.