as reported upstream media-video/mplayer-1.0_rc4_p20101114 breaks media-video/smplayer-0.6.9 because -subcc behavior have changed "After upgrading git mplayer to git-32615, I noticed that there is error when starting any file: The subcc option must be an integer: -subpos Error parsing option on the command line: -subcc MPlayer 32615-4.5.0-alpha20101007 (C) 2000-2010 MPlayer Team ID_EXIT=NONE The "subcc" option passed from smplayer now takes mandatory argument-channel number. http://git.mplayerhq.hu/?p=mplayer;a=commit;h=853d2fef39ecc348b0ee186d806728471f646639" Reproducible: Always Steps to Reproduce: 1.update mplayer to 1.0_rc4_p20101114 2. install smplayer if you dont have it installed 3.watch it fail (enable the log to see reason) reported it so other peoples dont have to search in vain, and so the devs can handle the issue(if they pleases) otherwise they are atleast aware of the issue.
I have also a problem with mplayer + smplayer, but a bit different. Since it falls under general summary I do not open a separate bug report. Namely, smplayer often passes -vid 0 to mplayer, and it causes the crash: MPlayer SVN-r32624-4.5.1 (C) 2000-2010 MPlayer Team Loading extension-related profile 'extension.mkv' Playing XXXX.mkv. [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0 [mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und [mkv] No video track found/wanted. Matroska file format detected. VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) Too many audio packets in the buffer: (4097 in 7341824 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Too many audio packets in the buffer: (4101 in 7348992 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. (this message repeats itself several times) A: 0.0 V: 0.0 A-V: 0.001 ct: 0.000 0/ 0 ??% ??% ??,?% 0 0 Exiting... (End of file) Without -vid 0 it goes ok: [mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0 [mkv] Track ID 2: audio (A_AC3), -aid 0, -alang und [mkv] Will play video track 1. (and then as usual) BTW. The problem with -subcc has easy workaround - disable "closed caption subtitles" for the time being.
(In reply to comment #1) > BTW. The problem with -subcc has easy workaround - disable "closed caption > subtitles" for the time being. > This one works. Thanks very much. And to prevent you looking for this option in the preference dialog like me, just go to the main menu "Subtitles" and take care that the entry "Enable closed caption" is unchecked.
The problem with -vid is still present in mplayer-1.0_rc4_p20101219. Too bad that while bumping, maintainer dropped last working version, namely mplayer-1.0_rc4_p20100612, so now only solution is to go back to stable 1 year old ebuild :/
The general consensus is that the -vid issue is fixed: http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1814 So you'll have to provide more info if you still have issues.
Sorry, you are right. -vid issue is resolved. I may have had two bugs overlapping so I got confused. Right now, my mkv files don't play in smplayer, but they do when I copy mplayer command manually (minus -wid option) - no need to change -vid. It may be related to http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1288 (I get the error also with the command given there). However switching off "Correct PTS" does not help. Here's the log: /usr/bin/mplayer -noquiet -nofs -nomouseinput -afm hwac3 -lavdopts threads=3 -sub-fuzziness 1 -identify -slave -vo xv -ao alsa -nokeepaspect -framedrop -dr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 54525988 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -ass-styles /home/tomaszg/.config/smplayer/styles.ass -fontconfig -font Antykwa Torunska -subfont-autoscale 0 -subfont-osd-scale 25 -subfont-text-scale 25 -subcp enca:pl:CP1250 -vid 0 -aid 0 -subpos 100 -volume 35 -cache 10000 -osdlevel 0 -vf-add kerndeint=5 -vf-add pp -autoq 6 -vf-add screenshot -noslices -channels 2 /xxxx/xxxx.mkv Warning unknown option dvd_device at line 7 MPlayer SVN-r32719-4.5.1 (C) 2000-2010 MPlayer Team Loading extension-related profile 'extension.mkv' Playing /xxxx.mkv. Cache fill: 0.00% (0 bytes) ID_AUDIO_ID=0 [mkv] Track ID 1: audio (A_AC3), -aid 0, -alang und ID_VIDEO_ID=0 [mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0 [mkv] No video track found/wanted. Matroska file format detected. VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) ENCA detection failed: fallback to CP1250 [ass] ENCA detection failed: fallback to CP1250 [ass] ENCA detected charset: ASCII ID_FILE_SUB_ID=0 ID_FILE_SUB_FILENAME=/xxxxxxxxxx.txt SUB: Added subtitle file (1): /xxxxxxxxxxxxxn.en.txt ENCA detected charset: CP1250 [ass] ENCA detected charset: CP1250 [ass] ENCA detected charset: ASCII ID_FILE_SUB_ID=1 ID_FILE_SUB_FILENAME=/xxxxxxxxxxxx.txt SUB: Added subtitle file (2): /xxxxxxxxxxxxxxxl.txt ID_FILENAME=/xxxxxxxxxxxxxx.mkv ID_DEMUXER=mkv ID_VIDEO_FORMAT=avc1 ID_VIDEO_BITRATE=0 ID_VIDEO_WIDTH=1280 ID_VIDEO_HEIGHT=720 ID_VIDEO_FPS=23.976 ID_VIDEO_ASPECT=1.7778 Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. ID_AUDIO_FORMAT=8192 ID_AUDIO_BITRATE=0 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=6 ID_START_TIME=0.00 ID_LENGTH=5253.25 ID_SEEKABLE=1 ID_CHAPTERS=0 Opening video filter: [ass auto=1] [ass] auto-open Opening video filter: [screenshot] Opening video filter: [pp] Opening video filter: [kerndeint=5] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264) ========================================================================== ID_VIDEO_CODEC=ffh264 [PP] Using external postprocessing filter, max q = 6. ========================================================================== Trying to force audio codec driver family hwac3... Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF hwac3: switched to AC3, 448000 bps, 48000 Hz AUDIO: 48000 Hz, 2 ch, ac3be, 448.0 kbit/29.17% (ratio: 56000->192000) ID_AUDIO_BITRATE=448000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF) ========================================================================== [AO_ALSA] Format ac3be is not supported by hardware, trying default. AO: [alsa] 48000Hz 2ch ac3le (2 bytes per sample) ID_AUDIO_CODEC=hwac3 Starting playback... Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Too many audio packets in the buffer: (4100 in 7347200 bytes). Maybe you are playing a non-interleaved stream/file or the codec failed? For AVI files, try to force non-interleaved mode with the -ni option. Exiting... (End of file) ID_EXIT=EOF
Created attachment 258949 [details, diff] Add 1 to subcc option Close Caption exists only in region 1 (see mplayer man page), so not needs more coplex solution
Fixed in 0.7.0 which is now in gentoo-multimedia overlay. We could apply upstream's patch to 0.6.{9,10} or mark 0.7.0 for speedy stabilization.
Thanks for reporting. Fixed in 0.7.0. +*smplayer-0.7.0 (04 Feb 2012) + + 04 Feb 2012; Johannes Huber <johu@gentoo.org> +smplayer-0.7.0.ebuild: + Version bump by Ben de Groot <yngwin@gmail.com>. This version fixes bug + #345653. Drop quit.patch, now applied upstream. Add mplayer[X], bug #377343.