Opened 15 years ago

Last modified 14 years ago

#1681 new defect

mplayer '-demuxer lavf' crashes on mpegts file

Reported by: mennucc1@… Owned by: reimar
Priority: normal Component: demuxer
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

hi,

I put in http://mennucc1.debian.net/tmp/forma.mpegts a sample file that was obtained from DVB-T (using 'dvbstreamer')

mplayer, SVN 31050, when invoked with '-demuxer lavf' , crashes on that sample , by segmentation fault, the backtrace is in http://mennucc1.debian.net/tmp/forma_gdb.txt

mplayer SVN 31050 does not crash when '-demuxer lavf' is not specified

a.

Change History (5)

comment:1 by compn, 14 years ago

Cc: patriotact@… added
Owner: changed from r_togni@… to reimar

sample is 403 for me. also cant access gdb report.

comment:2 by mennucc1@…, 14 years ago

sorry. I now opened access. The links should be 200 now.

comment:3 by compn, 14 years ago

your bt looks like it crashes in the sse optimized parts of -ac mp3
workaround : -ac ffmp3

i could not reproduce (i dont have sse enabled in my builds):

F:\mplayer-test>mplayerx -ac mp3 forma.mpegts -demuxer lavf
MPlayer SVN-r32659-4.5.1 (C) 2000-2010 MPlayer Team
161 audio & 353 video codecs

Playing forma.mpegts.
libavformat file format detected.
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mp3 @ 02460700] Header missing
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpeg2video @ 02464010] mpeg_decode_postinit() failure
[mpegts @ 023cf010] max_analyze_duration reached
[NULL @ 02500010] start time is not set in av_estimate_timings_from_pts
[NULL @ 025005e0] start time is not set in av_estimate_timings_from_pts
[NULL @ 024e93e0] start time is not set in av_estimate_timings_from_pts
[NULL @ 024e99b0] start time is not set in av_estimate_timings_from_pts
[NULL @ 020c2700] start time is not set in av_estimate_timings_from_pts
[NULL @ 020c4530] start time is not set in av_estimate_timings_from_pts
[NULL @ 021f9010] start time is not set in av_estimate_timings_from_pts
[NULL @ 021f9760] start time is not set in av_estimate_timings_from_pts
[NULL @ 020dd380] start time is not set in av_estimate_timings_from_pts
[NULL @ 020ca810] start time is not set in av_estimate_timings_from_pts
[NULL @ 020cc4d0] start time is not set in av_estimate_timings_from_pts
[NULL @ 020ce300] start time is not set in av_estimate_timings_from_pts
[NULL @ 022d1010] start time is not set in av_estimate_timings_from_pts
[NULL @ 022d1760] start time is not set in av_estimate_timings_from_pts
[NULL @ 021df210] start time is not set in av_estimate_timings_from_pts
[NULL @ 021df950] start time is not set in av_estimate_timings_from_pts
[lavf] stream 0: video (mpeg2video), -vid 0
[lavf] stream 1: audio (mp2), -aid 0, -alang ita
[lavf] stream 18: subtitle (unknown), -sid 0, -slang ita
LAVF: Program 3401
VIDEO: [MPG2] 720x576 0bpp 25.000 fps 10000.0 kbps (1220.7 kbyte/s)
Opening video filter: [scale]
Opening video filter: [eq]
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
Unsupported format Mpeg PES
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Forced audio codec: mp3
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 00ff1074]using unscaled yuv420p -> yuv420p special converter
VO: [directx] 720x576 => 768x576 Planar YV12
[mpeg2video @ 00ee4934]warning: first frame is no keyframe
A:76840.7 V:76840.7 A-V: -0.000 ct: -0.299 0/ 0 14% 23% 2.1% 0 0
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [directx] 720x576 => 1024x576 Planar YV12
A:76854.2 V:76854.2 A-V: 0.003 ct: -0.299 0/ 0 15% 23% 2.2% 0 0
Broken frame at 0xA2690
A:76854.5 V:76855.4 A-V: -0.977 ct: -0.270 0/ 0 15% 23% 2.1% 0 0
[mpeg2video @ 00ee4934]ac-tex damaged at 10 13
[mpeg2video @ 00ee4934]Warning MVs not available
[mpeg2video @ 00ee4934]concealing 1035 DC, 1035 AC, 1035 MV errors
A:76854.5 V:76855.5 A-V: -0.977 ct: -0.278 0/ 0 15% 23% 2.1% 0 0

Exiting... (End of file)

comment:4 by reimar, 14 years ago

Cannot reproduce on AMD64 either.
However bug #1834 sounds somewhat similar (though I have not analyzed it closely).
Things that would help
1) gdb backtrace with disassembly and register contents
2) valgrind log
3) test with a different compiler (both bug-reports use a 4.4.x compiler)

Possibly we should make one more attempt to get rid of our internal mp3lib copy (since MPlayer can now use libmpg123 which is supposed to replace it - despite my concerns that its asm code is worse despite based on mp3lib and thus almost identical).

comment:5 by reimar, 14 years ago

And it's -ac ffmp2 you have to use to get the FFmpeg audio decoder.

Note: See TracTickets for help on using tickets.