#10629: ffmpeg concat destroys metadata tracks when combining TS (Transport 
Stream)
files
-------------------------------------+-------------------------------------
             Reporter:  superbonaci  |                    Owner:  (none)
                 Type:  defect       |                   Status:  closed
             Priority:  minor        |                Component:
                                     |  undetermined
              Version:  6.0          |               Resolution:  invalid
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by superbonaci):

 Cat can't be used to concatenate Transport Stream files because must not
 be binary concatenated, streams will break.
 This is wrong:
 {{{
 % cat index-*.ts > output_bad.ts
 }}}

 The command you specified does not produce any output:
 {{{
 % ffmpeg -i
 
"concat:tsfiles/index-0000000000.ts|tsfiles/index-0000000001.ts|tsfiles/index-0000000002.ts|tsfiles/index-0000000003.ts|tsfiles/index-0000000004.ts"
 -f data -c copy tsfiles/output_concat_protocol.ts
 ffmpeg version 6.0 Copyright (c) 2000-2023 the FFmpeg developers
   built with Apple clang version 14.0.3 (clang-1403.0.22.14.1)
   configuration: --prefix=/opt/homebrew/Cellar/ffmpeg/6.0_1 --enable-
 shared --enable-pthreads --enable-version3 --cc=clang --host-cflags=
 --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-
 libaom --enable-libaribb24 --enable-libbluray --enable-libdav1d --enable-
 libmp3lame --enable-libopus --enable-librav1e --enable-librist --enable-
 librubberband --enable-libsnappy --enable-libsrt --enable-libsvtav1
 --enable-libtesseract --enable-libtheora --enable-libvidstab --enable-
 libvmaf --enable-libvorbis --enable-libvpx --enable-libwebp --enable-
 libx264 --enable-libx265 --enable-libxml2 --enable-libxvid --enable-lzma
 --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-
 libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libopenjpeg --enable-libspeex --enable-libsoxr --enable-libzmq --enable-
 libzimg --disable-libjack --disable-indev=jack --enable-videotoolbox
 --enable-audiotoolbox --enable-neon
   libavutil      58.  2.100 / 58.  2.100
   libavcodec     60.  3.100 / 60.  3.100
   libavformat    60.  3.100 / 60.  3.100
   libavdevice    60.  1.100 / 60.  1.100
   libavfilter     9.  3.100 /  9.  3.100
   libswscale      7.  1.100 /  7.  1.100
   libswresample   4. 10.100 /  4. 10.100
   libpostproc    57.  1.100 / 57.  1.100
 Input #0, mpegts, from
 
'concat:tsfiles/index-0000000000.ts|tsfiles/index-0000000001.ts|tsfiles/index-0000000002.ts|tsfiles/index-0000000003.ts|tsfiles/index-0000000004.ts':
   Duration: 00:00:18.43, start: 60.000000, bitrate: 2694 kb/s
   Program 1
   Stream #0:0[0x100]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz,
 stereo, fltp, 131 kb/s
   Stream #0:1[0x101]: Video: h264 (Main) ([27][0][0][0] / 0x001B),
 yuv420p(progressive), 1280x720, 30 fps, 30 tbr, 90k tbn
   Stream #0:2[0x102]: Data: timed_id3 (ID3  / 0x20334449)
 Output #0, data, to 'tsfiles/output_concat_protocol.ts':
 [out#0/data @ 0x6000015503c0] Output file does not contain any stream
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10629#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to