[FFmpeg-trac] #4204(undetermined:new): Stream specifier

FFmpeg trac at avcodec.org
Tue Dec 23 17:29:47 CET 2014


#4204: Stream specifier
-------------------------------------+-------------------------------------
             Reporter:  byelik       |                     Type:  task
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 I'm trying to join the video files with different streams count

 Here is my code:

 target_width=720
 target_height=480
 target_aspect_ratio=$target_width/$target_height

 ./ffmpeg -y -i mp4.mp4 -i ogv.ogv -i ogv2.ogv -vcodec ppm -filter_complex
 "[0:0] [0:1] [1:0] [1:1] [2:0] [2:1] concat=n=3:v=1:a=1:unsafe=1 [v] [a]"
 -s '1280x1080' -b:v '512K' -b:a '128K' -strict -2 -c:v libx264 -preset
 ultrafast -map [v] -map [a] -r 30 outtmp.mp4
 ./ffmpeg -i outtmp.mp4 -s $target_width'x'$target_height -vf
 "scale=iw*sar:ih ,
 pad=max(iw\,ih*($target_aspect_ratio)):ow/($target_aspect_ratio):(ow-iw)/2
 :(oh-ih)/2" -aspect $target_width':'$target_height -strict -2 777.mp4
 rm -f outtmp.mp4

 In console i get the following error:

 Stream specifier ':1' in filtergraph description [0:0] [0:1] [1:0] [1:1]
 [2:0] [2:1] concat=n=3:v=1:a=1:unsafe=1 [v] [a] matches no streams.

 How can I detect that video file does not have stream?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4204>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list