#6159 closed defect (duplicate)
MPEG-2 video stream not detected in TMF video file.
Reported by: | Samuel | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | unspecified | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
MPEG-2 video stream is not recognized in TMF file.
How to reproduce:
% ffmpeg -i scheduled.tmf
ffmpeg started on 2017-02-19 at 00:08:06 Report written to "ffmpeg-20170219-000806.log" Command line: ffmpeg -v 9 -loglevel 99 -i scheduled.tmf -report ffmpeg version N-80999-gf41e37b Copyright (c) 2000-2016 the FFmpeg developers built with gcc 5.4.0 (GCC) configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --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-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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-decklink --enable-zlib libavutil 55. 28.100 / 55. 28.100 libavcodec 57. 50.100 / 57. 50.100 libavformat 57. 41.100 / 57. 41.100 libavdevice 57. 0.102 / 57. 0.102 libavfilter 6. 47.100 / 6. 47.100 libswscale 4. 1.100 / 4. 1.100 libswresample 2. 1.100 / 2. 1.100 libpostproc 54. 0.100 / 54. 0.100 Opening an input file: scheduled.tmf. [file @ 033da2e0] Setting default whitelist 'file,crypto' [mpeg @ 033d9960] Format mpeg detected only with low score of 25, misdetection possible! [mpeg @ 033d9960] Before avformat_find_stream_info() pos: 0 bytes read:1048576 seeks:0 nb_streams:0 [mp2 @ 034cbe60] Header missing [mpeg @ 033d9960] max_analyze_duration 7000000 reached at 7008000 microseconds st:0 [mpeg @ 033d9960] decoding for stream 1 failed [mpeg @ 033d9960] stream 1 : no PTS found at end of file, duration not set [mpeg @ 033d9960] Could not find codec parameters for stream 1 (Audio: mp2, 0 channels, s16p): unspecified frame size Consider increasing the value for the 'analyzeduration' and 'probesize' options [mpeg @ 033d9960] After avformat_find_stream_info() pos: 0 bytes read:2355632 seeks:3 frames:295 Input #0, mpeg, from 'scheduled.tmf': Duration: 00:04:25.80, start: 216.212300, bitrate: 505 kb/s Stream #0:0[0x1c0], 294, 1/90000: Audio: mp2, 48000 Hz, stereo, s16p, 160 kb/s Stream #0:1[0x1d3], 1, 1/90000: Audio: mp2, 0 channels, s16p Successfully opened the file. At least one output file must be specified [AVIOContext @ 033da420] Statistics: 2355632 bytes read, 3 seeks
Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.
Change History (3)
comment:3 by , 8 years ago
Sorry, i missed that one. I only saw 2 others TMF issues already closed as fixed.
Thanks.
Note: The sample was taken from here:
https://samples.mplayerhq.hu/TiVo/scheduled.tmf
Note:
See TracTickets
for help on using tickets.
Here the link for the file (16MB):
https://we.tl/ibbNxpvUN0
Play with VLC.