[FFmpeg-trac] #4005(avformat:open): Support transport streams with changing pid (was: TS file partially decoded)
FFmpeg
trac at avcodec.org
Sun Oct 5 01:22:36 CEST 2014
#4005: Support transport streams with changing pid
-------------------------------------+-------------------------------------
Reporter: | Owner:
Underground78 | Status: open
Type: enhancement | Component: avformat
Priority: wish | Resolution:
Version: git-master | Blocked By:
Keywords: mpegts | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avformat
* priority: normal => wish
* keywords: => mpegts
* type: defect => enhancement
Comment:
One way of showing the issue is the following command line:
{{{
$ ffmpeg -skip_initial_bytes 10919300 -i 00000002_4_0.ts -qscale 2 out.avi
ffmpeg version N-66608-g550f3e9 Copyright (c) 2000-2014 the FFmpeg
developers
built on Oct 5 2014 01:11:33 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 54. 9.100 / 54. 9.100
libavcodec 56. 2.101 / 56. 2.101
libavformat 56. 7.104 / 56. 7.104
libavdevice 56. 1.100 / 56. 1.100
libavfilter 5. 1.102 / 5. 1.102
libswscale 3. 1.100 / 3. 1.100
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 1.100 / 53. 1.100
[mpeg2video @ 0x1a55620] Invalid frame dimensions 0x0.
Last message repeated 10 times
[mpegts @ 0x1a50d60] decoding for stream 1 failed
[mpegts @ 0x1a50d60] PES packet size mismatch
Last message repeated 1 times
[mpegts @ 0x1a50d60] Could not find codec parameters for stream 1 (Video:
mpeg2video ([2][0][0][0] / 0x0002)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize'
options
Input #0, mpegts, from '00000002_4_0.ts':
Duration: 00:02:23.47, start: 57965.971300, bitrate: 2923 kb/s
Program 1
Stream #0:2[0x48](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
Stream #0:3[0x49]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002),
yuv420p(tv), 704x576 [SAR 16:11 DAR 16:9], max. 15000 kb/s, 25 fps, 25
tbr, 90k tbn, 50 tbc
No Program
Stream #0:0[0x46](eng): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz,
stereo, s16p, 192 kb/s
Stream #0:1[0x47]: Video: mpeg2video ([2][0][0][0] / 0x0002), 25 fps,
25 tbr, 90k tbn, 90k tbc
Please use -q:a or -q:v, -qscale is ambiguous
Output #0, avi, to 'out.avi':
Metadata:
ISFT : Lavf56.7.104
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 704x576 [SAR
16:11 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc
Metadata:
encoder : Lavc56.2.101 mpeg4
Stream #0:1(eng): Audio: ac3 ([0] [0][0] / 0x2000), 48000 Hz, stereo,
fltp, 192 kb/s
Metadata:
encoder : Lavc56.2.101 ac3
Stream mapping:
Stream #0:3 -> #0:0 (mpeg2video (native) -> mpeg4 (native))
Stream #0:0 -> #0:1 (mp2 (native) -> ac3 (native))
Press [q] to stop, [?] for help
[mpegts @ 0x1a50d60] PES packet size mismatchme=00:02:07.40
bitrate=2456.3kbits/s
Last message repeated 1 times
[mp2 @ 0x1ab6340] incomplete frame
Error while decoding stream #0:0: Invalid data found when processing input
[mpeg2video @ 0x1ad9100] ac-tex damaged at 16 12
[mpeg2video @ 0x1ad9100] Warning MVs not available
[mpeg2video @ 0x1ad9100] concealing 1056 DC, 1056 AC, 1056 MV errors in B
frame
frame= 3500 fps=1030 q=2.0 Lsize= 46222kB time=00:02:24.76
bitrate=2615.7kbits/s
video:46114kB audio:11kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.209484%
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4005#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list