0

ffmpeg 4.2.3 error, Could not find codec parameters for stream 4 (Unknown: none): unknown codec: This error is for gopro videofiles, where they can processed very fine with different ffmpeg command...

Videofiles_short .txt content:

file '/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1/GOPR0003.MP4'
file '/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1/GOPR0004.MP4'
file '/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1/GOPR0005.MP4'
file '/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1/GOPR0006.MP4'
file '/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1/GOPR0007.MP4'

ffmpeg command:

ffmpeg -f concat -safe 0 -i VIDEOFILES_short.txt -filter_complex  "[0:v]setpts=PTS-STARTPTS[v1];  \
  [v1]setpts=0.30*PTS[v1pts]; \
  [v1pts]fps=32[v1fps]; \
  [v1fps]scale=1920:1080[v1scale]; \
[0:v]setpts=PTS-STARTPTS[v2];  \
  [v2]setpts=0.30*PTS[v2pts]; \
  [v2pts]fps=32[v2fps]; \
  [v2fps]scale=1920:1080[v2scale]; \
[0:v]setpts=PTS-STARTPTS[v3];  \
  [v3]setpts=0.30*PTS[v3pts]; \
  [v3pts]fps=32[v3fps]; \
  [v3fps]scale=1920:1080[v3scale]; \  
 [v1scale][v2scale][v3scale]concat=n=2:v=1[out]" -map "[out]" -crf 14  -vcodec libx264  -vb 20M   video_out_FF.avi

ffmpeg 4.2.3 error message:

ffmpeg version 4.2.3 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --enable-gpl --enable-libx264 --enable-libvpx --enable-libmp3lame --enable-libopus
  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
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b17cb414c0] Invalid mdhd time scale 0, defaulting to 1
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x55b17cb414c0] Auto-inserting h264_mp4toannexb bitstream filter
[concat @ 0x55b17cb36c40] Could not find codec parameters for stream 2 (Unknown: none): unknown codec
Consider increasing the value for the 'analyzeduration' and 'probesize' options
[concat @ 0x55b17cb36c40] 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 'VIDEOFILES_short.txt':
  Duration: N/A, start: 0.000000, bitrate: 60138 kb/s
    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuvj420p(pc, bt709), 2704x1520 [SAR 1:1 DAR 169:95], 60010 kb/s, 50 fps, 50 tbr, 90k tbn, 100 tbc
    Metadata:
      creation_time   : 2020-06-12T17:51:41.000000Z
      handler_name    :     GoPro AVC
      encoder         : GoPro AVC encoder
      timecode        : 17:51:42:25
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      creation_time   : 2020-06-12T17:51:41.000000Z
      handler_name    :     GoPro AAC
      timecode        : 17:51:42:25
    Stream #0:2: Unknown: none
    Stream #0:3(eng): Data: bin_data (gpmd / 0x646D7067), 0 kb/s
    Metadata:
      creation_time   : 2020-06-12T17:51:41.000000Z
      handler_name    :     GoPro MET
    Stream #0:4: Unknown: none
[AVFilterGraph @ 0x55b17cb556c0] No such filter: ' '
Error initializing complex filters.
Invalid argument
elias@eliasc:/media/elias/MyPassport/prx/Podilato_Poreia_Kamatero_12Jun2020/1$ 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.