[FFmpeg-trac] #490(avformat:open): mpeg stream autodetected as psxstr (was: Invalid pixel format '-1' for mdec video)
FFmpeg
trac at avcodec.org
Tue Sep 20 11:04:58 CEST 2011
#490: mpeg stream autodetected as psxstr
------------------------------------+------------------------------------
Reporter: Alex__ | Owner:
Type: defect | Status: open
Priority: important | Component: avformat
Version: git-master | Resolution:
Keywords: regression | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Changes (by cehoyos):
* status: new => open
* reproduced: 0 => 1
* component: undetermined => avformat
* priority: normal => important
* version: unspecified => git-master
* keywords: => regression
Comment:
(Workaround is to use ffmpeg -f mpeg -i sample-issue-490.mpg)
Works fine with 0.5
{{{
$ ffmpeg -v 9 -loglevel 99 -i sample-issue-490.mpg
ffmpeg version N-32709-gf5899f0, Copyright (c) 2000-2011 the FFmpeg
developers
built on Sep 19 2011 18:13:19 with icc 9999
configuration: --cc=/opt/intel/composer_xe_2011_sp1.6.233/bin/ia32/icc
libavutil 51. 16. 0 / 51. 16. 0
libavcodec 53. 16. 0 / 53. 16. 0
libavformat 53. 12. 0 / 53. 12. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 2 / 2. 43. 2
libswscale 2. 1. 0 / 2. 1. 0
[psxstr @ 0x9016aa0] Format psxstr probed with size=4096 and score=50
[psxstr @ 0x9016aa0] Invalid parameters 68 4 63627
[psxstr @ 0x9016aa0] missmatching sector_count
Last message repeated 3 times
st:1 removing common factor 8 from timebase
st:2 removing common factor 8 from timebase
[psxstr @ 0x9016aa0] missmatching sector_count
Last message repeated 131 times
[psxstr @ 0x9016aa0] Could not find codec parameters (Video: mdec,
57345x9, 0/1)
[psxstr @ 0x9016aa0] Estimating duration from bitrate, this may be
inaccurate
Seems stream 0 codec frame rate differs from container frame rate: inf
(1/0) -> 15.00 (15/1)
Input #0, psxstr, from 'sample-issue-490.mpg':
Duration: N/A, bitrate: N/A
Stream #0:0, 0, 1/15: Video: mdec, 57345x9, 0/1, 15 tbr, 15 tbn
Stream #0:1, 18, 16/4725: Audio: adpcm_xa, 37800 Hz, 1 channels, s16
Stream #0:2, 18, 16/4725: Audio: adpcm_xa, 37800 Hz, 1 channels, s16
At least one output file must be specified
}}}
With psxstr autodetection disabled:
{{{
$ ffmpeg -v 9 -loglevel 99 -i sample-issue-490.mpg
ffmpeg version N-32709-gf5899f0, Copyright (c) 2000-2011 the FFmpeg
developers
built on Sep 19 2011 18:13:19 with icc 9999
configuration: --cc=/opt/intel/composer_xe_2011_sp1.6.233/bin/ia32/icc
libavutil 51. 16. 0 / 51. 16. 0
libavcodec 53. 16. 0 / 53. 16. 0
libavformat 53. 12. 0 / 53. 12. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 43. 2 / 2. 43. 2
libswscale 2. 1. 0 / 2. 1. 0
[mpeg @ 0x9016aa0] Format mpeg probed with size=8192 and score=52
[mpeg @ 0x9016aa0] probing stream 0 pp:2500
[mpeg @ 0x9016aa0] Probe with size=2288, packets=1 detected mpegvideo with
score=25
[mpeg @ 0x9016aa0] probing stream 0 pp:2499
[mpeg @ 0x9016aa0] Probe with size=4576, packets=2 detected mpegvideo with
score=25
[mpeg @ 0x9016aa0] probing stream 0 pp:2498
[mpeg @ 0x9016aa0] probing stream 0 pp:2497
[mpeg @ 0x9016aa0] Probe with size=9152, packets=4 detected mpegvideo with
score=51
[mpeg @ 0x9016aa0] probed stream 0
[mpeg2video @ 0x901cde0] Unsupported bit depth: 0
Input #0, mpeg, from 'sample-issue-490.mpg':
Duration: 00:00:02.11, start: 0.221622, bitrate: 1546 kb/s
Stream #0:0[0x1e0], 53, 1/90000: Video: mpeg2video (Main), yuv420p,
480x576 [SAR 8:5 DAR 4:3], 1/50, 2350 kb/s, 25 fps, 25 tbr, 90k tbn, 50
tbc
Stream #0:1[0x1c1], 66, 1/90000: Audio: mp2, 44100 Hz, stereo, s16,
192 kb/s
Stream #0:2[0x1c0], 66, 1/90000: Audio: mp2, 44100 Hz, stereo, s16,
192 kb/s
At least one output file must be specified
}}}
--
Ticket URL: <https://avcodec.org/trac/ffmpeg/ticket/490#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list