[FFmpeg-trac] #7509(undetermined:reopened): split/aplit: don't work with elementary streams

FFmpeg trac at avcodec.org
Tue Oct 23 13:54:39 EEST 2018

#7509: split/aplit: don't work with elementary streams
             Reporter:  msiders      |                    Owner:
                 Type:  defect       |                   Status:  reopened
             Priority:  normal       |                Component:
              Version:  git-master   |  undetermined
             Keywords:  split,       |               Resolution:
  mpegts, elementary                 |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by msiders):

 Hi Gyan,

 With your suggestion:

   ffmpeg \
  -f mpegts -i file.ts \
  -filter_complex "[i:100]split[out0][out1]" \
  -map [out0] -map [out1] -map i:101 \
  -c:2 copy \
  -f mpegts file-out.ts

 you only put the audio without processing in the output. The other two
 video streams are re-encoded!

 Regarding the sentence: "A filtered stream cannot be streamcopied".
 I know that this is true at time. But it has sense in several scenarios.
 For example: If you like to do some processing but leave a copy of the
 original stream in the output.

 Please, don't mark this as "invalid". Almost put it as "enhancement".
 Thank you!

Ticket URL: <https://trac.ffmpeg.org/ticket/7509#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list