Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kmplayer, video and audio not syncing.
Date: Sun, 01 Nov 2009 22:56:26
Message-Id: 4AEE1213.20606@gmail.com
In Reply to: Re: [gentoo-user] Kmplayer, video and audio not syncing. by "Jesús Guerrero"
1 Jesús Guerrero wrote:
2 > On Sun, 01 Nov 2009 12:21:32 -0600, Dale <rdalek1967@×××××.com> wrote:
3 >
4 >> Jesús Guerrero wrote:
5 >>
6 >>> On Fri, 30 Oct 2009 22:34:57 -0500, Dale <rdalek1967@×××××.com> wrote:
7 >>>
8 >>>
9 >>>> Jesús Guerrero wrote:
10 >>>>
11 >>>>
12 >>>>> kmplayer can get in the middle, can you -please- test regular mplayer
13 >>>>> from
14 >>>>> command line?
15 >>>>>
16 >>>>> I've had a similar issue a couple of weeks ago, and we were able to
17 >>>>>
18 >>>>>
19 >>> track
20 >>>
21 >>>
22 >>>>> it down on the mplayer mailing lists. If it's the same bug, I was
23 >>>>>
24 > able
25 >
26 >>>>>
27 >>>>>
28 >>> to
29 >>>
30 >>>
31 >>>>> consistently reproduce it in streams with ac3 (5.1) audio (stereo
32 >>>>>
33 >>>>>
34 >>> worked
35 >>>
36 >>>
37 >>>>> fine), and only when using ALSA. So, check that and see if you can
38 >>>>>
39 > see
40 >
41 >>>>>
42 >>>>>
43 >>> a
44 >>>
45 >>>
46 >>>>> pattern there. If you see that same pattern, then it might be the
47 >>>>>
48 > same
49 >
50 >>>>> bug,
51 >>>>> it's been fixed in the development branch, and the following ebuilds
52 >>>>> should
53 >>>>> work fine:
54 >>>>>
55 >>>>> 1.0_rc4_p20091026, 1.0_rc4_p20091026-r1, 9999
56 >>>>>
57 >>>>> If not, then it's probably something else. But try with mplayer alone
58 >>>>> when
59 >>>>> debugging, since kmplayer just adds another level to worry about. For
60 >>>>> your
61 >>>>> reference, here's the bug I opened, there you can also find links to
62 >>>>>
63 >>>>>
64 >>> the
65 >>>
66 >>>
67 >>>>> relevant mails in the mplayer ML.
68 >>>>>
69 >>>>> http://bugs.gentoo.org/show_bug.cgi?id=286020
70 >>>>>
71 >>>>>
72 >>>>>
73 >>>>>
74 >>>> I can give it a shot at least. Do I just run mplayer path/to/file or
75 >>>>
76 > do
77 >
78 >>>> I need to add some options so that it will provide more info?
79 >>>>
80 >>>>
81 >>> Sorry for the delay, it's been a busy weekend ;)
82 >>>
83 >>> You can just run "mplayer <file>", if you need to force ALSA (so you
84 >>>
85 > can
86 >
87 >>> check if it's a problem with ALSA as it was my case) you can add -ao
88 >>> alsa,
89 >>> so it would be:
90 >>>
91 >>> mplayer -ao alsa <filename>
92 >>>
93 >>> Mplayer is usually smart enough to decide what to do without any
94 >>>
95 > further
96 >
97 >>> action on the user's side, however as someone said it's a very complex
98 >>> program that can do almost anything in which regards playing media
99 >>>
100 > files,
101 >
102 >>> that's why the man page is such a huge beast. If we manage to identify
103 >>> the
104 >>> bug and reproduce it consistently then that's a huge step towards
105 >>> finding a
106 >>> solution.
107 >>>
108 >>> By the way, what mplayer version are you using?
109 >>>
110 >>>
111 >> This is the emerge info for mplayer and ffmpeg since that is what it is
112 >> using:
113 >>
114 >> root@smoker / # emerge -pv mplayer ffmpeg
115 >>
116 >> These are the packages that would be merged, in order:
117 >>
118 >> Calculating dependencies... done!
119 >> [ebuild R ] media-video/ffmpeg-0.5-r1 USE="3dnow 3dnowext X alsa
120 >> encode hardcoded-tables ipv6 jpeg2k mmx mmxext mp3 sdl ssse3 vorbis x264
121 >> xvid zlib (-altivec) -amr -bindist -custom-cflags -debug -dirac -doc
122 >> -faac -faad -gsm -ieee1394 -network -oss -schroedinger -speex -test
123 >> -theora -threads -v4l -v4l2 -vdpau -vhook" VIDEO_CARDS="nvidia" 0 kB
124 >> [ebuild R ] media-video/mplayer-1.0_rc2_p20090731 USE="3dnow X aac
125 >> alsa ass cddb cdio dirac dv dvd dvdnav enca encode esd faac faad gif
126 >> iconv ipv6 jpeg live mad mmx mng mp2 mp3 network opengl osdmenu png
127 >> quicktime rar real rtc schroedinger sdl shm speex sse tremor truetype
128 >> unicode vorbis win32codecs x264 xscreensaver xv xvid -3dnowext -a52
129 >> -aalib (-altivec) -bidi -bindist -bl -cdparanoia -cpudetection
130 >> -custom-cflags -custom-cpuopts -debug -dga -directfb -doc -dts -dvb
131 >> -dxr3 -fbcon -ftp -ggi -gmplayer -jack -joystick -ladspa -libcaca -lirc
132 >> -lzo -md5sum -mmxext -nas -openal -oss -pnm -pulseaudio -pvr -radio
133 >> -samba -sse2 -ssse3 -svga -teletext -tga -theora -v4l -v4l2 -vdpau
134 >> -vidix -xanim -xinerama -xvmc -zoran" VIDEO_CARDS="nvidia -mga -s3virge
135 >> -tdfx -vesa" 0 kB
136 >>
137 >> Total: 2 packages (2 reinstalls), Size of downloads: 0 kB
138 >> root@smoker / #
139 >>
140 >> Those version OK? I am also still using KDE 3.5. KDE4 is just not
141 >> there yet for me.
142 >>
143 >
144 > As far as I know that version of mplayer is bugged. I can't guarantee that
145 > your problem is the same one I had, but if I am not mistaken the bug is
146 > present in that release. Please, try 1.0_rc4_p20091026-r1 and see if the
147 > bug goes away. I will open an STABLEREQ bug to speed up the stabilization
148 > of this version, and the masking of older ones. After all, they should be
149 > hard masked or at least patched to fix the bug.
150 >
151 >
152
153 I'll unmask and keyword if needed to get the latest version. I have
154 noticed that if my CPU is not to busy, it does a lot better but appears
155 to be a half second off or so even if fairly idle. It still varies by
156 the file type tho. I use Firefox and the download helper extension to
157 both download and convert the files to mpg4. I set it to "same quality"
158 and that seems to help a LOT and the files are larger. It uses ffmpeg
159 to convert the files. I convert them in case I send a video to a
160 windoze user. My brother can't get a .flv to play except through a
161 website. I dunno. Its windoze. LOL
162
163 Dale
164
165 :-) :-)