[FFmpeg-trac] #6661(undetermined:closed): Missing streams when cutting M2TS file
FFmpeg
trac at avcodec.org
Thu Sep 14 22:03:27 EEST 2017
#6661: Missing streams when cutting M2TS file
-------------------------------------+-------------------------------------
Reporter: xamarin | Owner:
Type: defect | Status: closed
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution: invalid
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by xamarin):
Ok did it and now the process finishes, but the resulting file has
unreadable subtitles, at least they are not shown on either VLC or
SMPlayer.
Original file:
{{{
.\ffmpeg.exe : ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the
FFmpeg developers
At line:1 char:1
+ .\ffmpeg.exe -i .\00001.m2ts
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ffmpeg version ...mpeg
developers:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
built with gcc 7.1.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-
cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenh264 --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-zlib
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[mpegts @ 00000000007267c0]
start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 00000000007267c0] start time for stream 8 is not set in
estimate_timings_from_pts
[mpegts @ 00000000007267c0] start time for stream 9 is not set in
estimate_timings_from_pts
[mpegts @ 00000000007267c0] start time for stream 10 is not set in
estimate_timings_from_pts
[mpegts @ 00000000007267c0] start time for stream 11 is not set in
estimate_timings_from_pts
[mpegts @ 00000000007267c0]
Could not find codec parameters for stream 7 (Subtitle: hdmv_pgs_subtitle
([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 00000000007267c0] Could not find codec parameters for stream 8
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 00000000007267c0] Could not find codec parameters for stream 9
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 00000000007267c0] Could not find codec parameters for stream 10
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
[mpegts @ 00000000007267c0] Could not find codec parameters for stream 11
(Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from '.\00001.m2ts':
Duration: 01:44:54.31, start: 11.642667, bitrate: 72514 kb/s
Program 1
Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448),
yuv420p10le(tv, bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9],
23.98 fps, 23.98 tbr, 90k tbn, 23.98 tbc
Stream #0:1[0x1100]: Audio: truehd (AC-3 / 0x332D4341), 48000 Hz, 7.1,
s32 (24 bit)
Stream #0:2[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 640 kb/s
Stream #0:3[0x1101]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 640 kb/s
Stream #0:4[0x1102]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086),
48000 Hz, 5.1(side), s16p
Stream #0:5[0x1103]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo,
fltp, 192 kb/s
Stream #0:6[0x1104]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz,
5.1(side), fltp, 640 kb/s
Stream #0:7[0x12a0]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Stream #0:8[0x12a1]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Stream #0:9[0x12a2]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Stream #0:10[0x12a3]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
Stream #0:11[0x12a4]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] /
0x0090)
At least one output file must be specified
}}}
----
Cut file:
{{{
.\ffmpeg.exe : ffmpeg version N-87257-g8e17cd2 Copyright (c) 2000-2017 the
FFmpeg developers
At line:1 char:1
+ .\ffmpeg.exe -i .\outputFile.m2ts
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (ffmpeg version ...mpeg
developers:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
built with gcc 7.1.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-
cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc
--enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r
--enable-gnutls --enable-iconv --enable-libass
--enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype
--enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
--enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
--enable-libopenh264 --enable-libopenjpeg
--enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr
--enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264
--enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg
--enable-lzma --enable-zlib
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 82.100 / 57. 82.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.105.100 / 6.105.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
[mpegts @ 0000000000ff67c0]
start time for stream 7 is not set in estimate_timings_from_pts
[mpegts @ 0000000000ff67c0] start time for stream 8 is not set in
estimate_timings_from_pts
[mpegts @ 0000000000ff67c0] start time for stream 9 is not set in
estimate_timings_from_pts
[mpegts @ 0000000000ff67c0] start time for stream 10 is not set in
estimate_timings_from_pts
[mpegts @ 0000000000ff67c0] start time for stream 11 is not set in
estimate_timings_from_pts
Input #0, mpegts, from '.\outputFile.m2ts':
Duration: 00:00:50.02, start: 1.400000, bitrate: 42499 kb/s
Program 1
Metadata:
service_name : Service01
service_provider: FFmpeg
Stream #0:
0[0x100]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv,
bt2020nc/bt2020/smpte2084), 3840x2160 [SAR 1:1 DAR 16:9]
,
23.98 fps,
23.98 tbr,
90k tbn,
23.98 tbc
Stream #0:
1[0x101]
: Audio: truehd ([131][0][0][0] / 0x0083), 48000 Hz, 7.1, s32 (24 bit)
Stream #0:
2[0x102]
: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp, 640 kb/
s
Stream #0:
3[0x103]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp,
640 kb/s
Stream #0:
4[0x104]: Audio: dts (DTS-HD MA) ([130][0][0][0] / 0x0082), 48000 Hz,
5.1(side), s16p
Stream #0:
5[0x105]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp,
192 kb/s
Stream #0:
6[0x106]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, 5.1(side), fltp,
640 kb/s
Stream #0:
7[0x107]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream #0:
8[0x108]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream #0:
9[0x109]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream #0:10
[0x10a]: Data: bin_data ([6][0][0][0] / 0x0006)
Stream #0:11
[0x10b]: Data: bin_data ([6][0][0][0] / 0x0006)
At least one output file must be specified
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6661#comment:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list