[FFmpeg-user] Concat error - No such filter '[0,0]'

Mike Kavanagh mike.kavanagh at odx.uk.com
Fri Nov 16 14:44:42 CET 2012


Hi Nicholas,

Some success! 

I've simplified the filter_complex command and managed to produce a single
combined video from the three separate input videos. 

Here is the command I used (note double quotes):

ffmpeg -i HV_movieAV10000.mp4 -i HV_movieAV10001.mp4 -i HV_movieAV10002.mp4
-filter_complex "concat=n=3:v=1:a=0 [a] [v]" -map [a] -map [v] -report -y
testfull.mp4

This avoids the problem I am having when I explicitly try mapping each AV
stream separately.

But, the problem is the output video and audio streams transition at
different times. Is it possible to ensure the audio and video streams from
each separate input file transition at the same time?
  
Perhaps I will have to try and use the stream commands I have just discarded
- or is there a simple setting to do this?

In order to help with any suggestions below are the reports of a ffprobe for
all three input files:

- 1 -

ffprobe started on 2012-11-16 at 13:23:12
Report written to "ffprobe-20121116-132312.log"
Command line:
ffprobe -report HV_movieAV10001.mp4
ffprobe version N-44123-g5d55830 Copyright (c) 2007-2012 the FFmpeg
developers
  built on Sep  2 2012 20:23:29 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass --enable-libcelt --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 003bcf40] Format mov,mp4,m4a,3gp,3g2,mj2 probed
with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 003bcf40] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 003bcf40] File position before
avformat_find_stream_info() is 234308
[h264 @ 033b6320] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 003bcf40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 003bcf40] File position after
avformat_find_stream_info() is 76930
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HV_movieAV10001.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.25.104
  Duration: 00:00:27.36, start: 0.000000, bitrate: 68 kb/s
    Stream #0:0(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz,
mono, s16, 44 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:1(und), 2, 1/1: Video: h264 (High) (avc1 / 0x31637661),
yuvj420p, 1340x886 [SAR 1339:1340 DAR 1339:886], 123 kb/s, 1 fps, 1 tbr, 1
tbn, 2 tbc
    Metadata:
      handler_name    : VideoHandler
[h264 @ 033b6320] detected 2 logical cores
[AVIOContext @ 003bd4c0] Statistics: 148337 bytes read, 2 seeks


- 2 -

ffprobe started on 2012-11-16 at 13:23:16
Report written to "ffprobe-20121116-132316.log"
Command line:
ffprobe -report HV_movieAV10002.mp4
ffprobe version N-44123-g5d55830 Copyright (c) 2007-2012 the FFmpeg
developers
  built on Sep  2 2012 20:23:29 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass --enable-libcelt --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0221cf40] Format mov,mp4,m4a,3gp,3g2,mj2 probed
with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0221cf40] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0221cf40] File position before
avformat_find_stream_info() is 91040
[h264 @ 02f37960] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0221cf40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0221cf40] File position after
avformat_find_stream_info() is 61242
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HV_movieAV10002.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.25.104
    comment         :                               
    genre           : Other
  Duration: 00:00:05.00, start: 0.000000, bitrate: 145 kb/s
    Stream #0:0(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz,
mono, s16, 44 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:1(und), 2, 1/1: Video: h264 (High) (avc1 / 0x31637661),
yuvj420p, 1340x886 [SAR 1339:1340 DAR 1339:886], 98 kb/s, 1 fps, 1 tbr, 1
tbn, 2 tbc
    Metadata:
      handler_name    : VideoHandler
[h264 @ 02f37960] detected 2 logical cores
[AVIOContext @ 0221d4c0] Statistics: 126112 bytes read, 2 seeks

- 3 -

ffprobe started on 2012-11-16 at 13:23:21
Report written to "ffprobe-20121116-132321.log"
Command line:
ffprobe -report HV_movieAV10003.mp4
ffprobe version N-44123-g5d55830 Copyright (c) 2007-2012 the FFmpeg
developers
  built on Sep  2 2012 20:23:29 with gcc 4.7.1 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-pthreads
--enable-runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r
--enable-libass --enable-libcelt --enable-libopencore-amrnb
--enable-libopencore-amrwb --enable-libfreetype --enable-libgsm
--enable-libmp3lame --enable-libnut --enable-libopenjpeg --enable-librtmp
--enable-libschroedinger --enable-libspeex --enable-libtheora
--enable-libutvideo --enable-libvo-aacenc --enable-libvo-amrwbenc
--enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs
--enable-libxvid --enable-zlib
  libavutil      51. 70.100 / 51. 70.100
  libavcodec     54. 55.100 / 54. 55.100
  libavformat    54. 25.104 / 54. 25.104
  libavdevice    54.  2.100 / 54.  2.100
  libavfilter     3. 15.102 /  3. 15.102
  libswscale      2.  1.101 /  2.  1.101
  libswresample   0. 15.100 /  0. 15.100
  libpostproc    52.  0.100 / 52.  0.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0026cf40] Format mov,mp4,m4a,3gp,3g2,mj2 probed
with size=2048 and score=100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0026cf40] ISO: File Type Major Brand: isom
[mov,mp4,m4a,3gp,3g2,mj2 @ 0026cf40] File position before
avformat_find_stream_info() is 142608
[h264 @ 03436320] no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0026cf40] All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0026cf40] File position after
avformat_find_stream_info() is 41010
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'HV_movieAV10003.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.25.104
  Duration: 00:00:17.53, start: 0.000000, bitrate: 65 kb/s
    Stream #0:0(und), 1, 1/44100: Audio: aac (mp4a / 0x6134706D), 44100 Hz,
mono, s16, 44 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:1(und), 2, 1/1: Video: h264 (High) (avc1 / 0x31637661),
yuvj420p, 1340x886 [SAR 1339:1340 DAR 1339:886], 66 kb/s, 1 fps, 1 tbr, 1
tbn, 2 tbc
    Metadata:
      handler_name    : VideoHandler
[h264 @ 03436320] detected 2 logical cores
[AVIOContext @ 0026d4c0] Statistics: 110654 bytes read, 2 seeks


Thanks for you help.




--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Concat-error-No-such-filter-0-0-tp4654771p4655036.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.


More information about the ffmpeg-user mailing list