[Bug 686248] [NEW] Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
Public bug reported: Binary package hint: vlc The audio-sync function does not appear to work correctly in VLC 1.1.4 Ubuntu 10.10 Maverick. Symptom After initial audio/video sync up using audio-desync, the audio/video sync drifts out noticably within a few minutes and significantly in an hour or so. The standard Ubuntu Lucid 10.04 VLC 1.0.6 version performs correctly The MS windows (XP) version 1.1.4 performs correctly Test case Same Hardware and software setup in both Ubuntu test cases Video in: PCI analog capture card (bt878video pci capture card, Hauppauge VCB Impact) Audio in: Soundcard line-in Std desktop install Ubuntu versions using Std default repos +VLC, +ffmpeg libavdevice-extra52, +x264 Broadcast TV analog out used as test input source. Video into capture card, audio into sound card ( I would usually be using analogue camera and mic/line in) Procedure 1 Open GUI, test video/audio capture, by "Open Capture device" - Play 2 Select Streaming from menu, select Capture device tab, all input settings left at default 3 select Stream, Next, Next , Paste output string into textbox, as follows --sout-keep --audio-desync=-40 :sout=#transcode{vcodec=h264,vb=600,deinterlace,ab=64,fps=25,width=160,height=120,acodec=mp3,samplerate=44100 ,audio-sync}:duplicate{dst=std{access=http {mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8082/stream.flv},dst=display} Audio-desync value adjusted to initial optimum value (predetermined before test) Width and height set to low values to minimise cpu load Same procedure in all cases including Win XP. Win test using similar hardware, bt878 pci capture card. Appendix Suspected that pulseaudio may be the cause: Removed pulseaudio and installed alsa mixer. Problem persisted. Also tried VLC 1.1.5 from Maverick Bleed PPA. Problem persisted Also tried VLC 1.1.4 from Lucid Bleed PPA with Lucid. Problem here as well. Reported problem to Videolan Trac Response as follows. Changes (by courmisch): * status: new => closed* resolution: => incomplete* component: I don't know => Access Comment: And I bet you get the same effect if you just render the inputs locally,no? Then I would tend to blame the V4L2 and ALSA input plugins for not timestamping correctly. Or it might even be a driver bug. Ticket URL: http://trac.videolan.org/vlc/ticket/4315#comment:2 I did not see the problem when playing capture device, only when streaming. ProblemType: Bug DistroRelease: Ubuntu 10.10 Package: vlc 1.1.4-1ubuntu1.1 ProcVersionSignature: Ubuntu 2.6.35-23.41-generic 2.6.35.7 Uname: Linux 2.6.35-23-generic i686 NonfreeKernelModules: nvidia Architecture: i386 Date: Mon Dec 6 23:18:34 2010 InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007) ProcEnviron: LANG=en_GB.utf8 SHELL=/bin/bash SourcePackage: vlc ** Affects: vlc (Ubuntu) Importance: Undecided Status: New ** Tags: apport-bug i386 maverick -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
Hello Fenix-TX Can you confirm that your solution "Stays" synchronised? Eg after 6Hrs or more Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
Thank you for taking the time and trouble to check. You have also confirmed the bug on different hardware which is helpfull. Perhaps add yourself to the affected list if appropriate? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
I only have the problem when streaming to somewhere else, not when playing back. I am not and have not been using a DVB device. Analogue capture cards only (bt878 type for video input) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 To manage notifications about this bug go to: https://bugs.launchpad.net/vlc/+bug/686248/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
Update#2 Fresh clean install Ubuntu 10.10 & VLC 1.1.7 (maverick-bleed as above) Tried several capture and transcode runs, same bt878 + soundcard + settings as previous update. Results similar, if variable in that the amount of audio desync and the time it became significantly noticable was not consistant. Sometimes within a couple of hours, sometimes could hold well for circa 4 hrs. So problem still present. Reference check Installed Ubuntu 10.04 & VLC 1.0.6 on same hardware, 3Ghz P4 dual boot. Again same results as previously seen. Held sync for 12+ hrs with minor fluctuations. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 686248] Re: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4
Update/further info If package x264 is removed leaving only libx264-98, the audio-desync=xx necessary for initial sync reduces to zero or one frame or so. The audio-sync drift also is much less, but still quite apparent. Noticable in an hour or two and significant beyond 3 hrs plus, getting worse over time. The Lucid test case had both x264 and libx264-95 installed. The Lucid test case was over a 6.5hr period with some minor flucuations in sync (est a frame or two at random test times) but was still well syncronised at the end of the test period. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/686248 Title: Audio sync problem streaming ubuntu 10.10 VLC 1.1.4 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs