[01:39] Hi.. need some help [02:50] you still here, virtu? [02:50] yes FunkyStickman [02:50] what do you need help with? [02:50] sync an audio file to a video file [02:50] playing it back with something like Mplayer? [02:51] yes... I have 2 files: a video with no sound that I recorded when I was playing the piano [02:51] and the audio from piano [02:51] now I want to sync the audio with the video [02:51] ah, I see. Do you just want to play them back synced, or combine them? [02:52] combine them [02:52] because the video starts earlier then the sound [02:52] so I have to check the exact moment to start the audio [02:53] you could use a program like Kino to combine them and put them together, Kino lets you overdub a separate audio track, and has a value you can offset it by [02:53] hmm [02:54] perfect [02:54] I already have it [02:54] let's try... tks FunkyStickman [02:54] Kino has a lot of other neat features too, like making titles. It's a linear editor, though, so works best when making simple videos or credits [02:54] I use it mostly for making title credits, but use it however you see fit [02:55] =) [02:55] this is my first video record and also my first video editing [02:55] so... I recored using my cell phone... video is a crap, but the audio is good enough [02:57] hmm kino imported the video with wrong settings I think... the video is in fast mode [02:57] interesting... [02:57] what format is it? Mpeg? [02:57] .avi [02:58] 3mb file [02:59] does it play back correctly in mplayer? [03:00] in totem, yes [03:00] ugh. [03:00] also in vlc [03:00] how much faster is it? [03:00] 2x? [03:00] 1.5? [03:00] very fast [03:01] maybe 5x [03:01] kino imports to .dv format [03:01] correct, it is supposed to auto resample it, check the project's default settings [03:02] click "edit -> preferences" and make sure it's set to the same general format, if it's 4:3 or whatever [03:02] right now i am doing that [03:02] let's see [03:02] if the project is set to 4:3 and NTSC it will try to reformat everything to fit that [03:02] just a stab in the dark [03:03] ok... [03:04] but I'm thinking it's miscalculating the audio/video bitrate [03:06] NTSC, 44,1khz and 4:3 [03:06] let's try this seetings [03:07] still fast [03:11] hmmm [03:12] with avidemux is there away to sync them up? [03:12] might try using mencoder to resample it... but the mencoder manual is like 200 pages [03:12] mencoder could do it [03:12] yeah.. mencoder is not so user friendly =( [03:12] not even remotely [03:12] but it is the most powerful resampling tool there is [03:17] with avidemux I can open the video, but I cant sync the audio =/ [03:25] FunkyStickman, I am back to kino again... and now it seems to be 2 or 3x fast [03:25] I change some seetings into display tab [03:25] so I almost done with it [03:25] =) [03:28] ok got it right [03:29] change some settings into display and sound tab [03:57] fantastic [03:57] Kino takes about 10 minutes to figure out, but once you've got it, it's pretty simple [03:58] how can I add a mp3 file into it? [03:58] I try some options and didnt work [03:59] so I am back to zero... =( [03:59] to import the video I had to uncheck the sound module on Kino =/ [03:59] problem with pulseaudio [04:00] grrrr. I hate pulseaudio [04:00] so does everyone else, apparently [04:01] cause they haven't fixed it yet [04:01] aham [04:01] wait a second... will record all video and sound again [04:04] I always made a mistake when recording =/ [04:07] hmmm [04:12] ok... everything recored again (better now) [04:15] Hello, is anyone there? [04:16] Ubuntustudio is hanging on me after trying to install audacious 2.4... [04:16] Won't start up, just displays the splash screen forever. [04:16] I have a screenshot: http://i198.photobucket.com/albums/aa290/keantoken/DCP00894.jpg [04:20] I used the code on this page: http://www.webupd8.org/2010/08/install-audacious2-24-beta-1-in-ubuntu.html [04:20] keantoken: hey [04:20] i'll be a minute... [04:21] if you can ahng [04:21] hang* [04:21] It's aliiiiiiive! I'll be here while I can. [04:27] keantoken: does an ubuntu live CD run? [04:28] I've lost mine, otherwise I would have tried. [04:28] i think that would be a good troubleshooting step [04:28] Maybe I could burn one quickly. [04:28] i think its a graphics card issue [04:29] card driver issue * [04:29] I've never had a graphics issue, except after kernel updates which were easily fixed. [04:29] keantoken: with ubuntu? [04:30] ubuntustudio [04:30] keantoken: SO, this is an install that used to work? [04:31] is it 10.10 ? [04:31] 10.04 [04:31] 23:16 < keantoken> Ubuntustudio is hanging on me after trying to install audacious 2.4... [04:31] I've been using it for several months. [04:31]  what doest that mean? [04:32] [04:32] keantoken: OK [04:32] i see [04:32] you added the audacious testing PPA [04:33] keantoken: did you install it? [04:33] i cant imagine what in that PPA would break X [04:34] I installed using the code at the bottom of the linked page. Then I saw the link below it to the newer stable versions. [04:34] sudo add-apt-repository ppa:webupd8team/unstable [04:34] sudo apt-get update [04:34] sudo apt-get install audacious audacious-plugins [04:34] ^ that [04:34] you did that right? [04:35] yes [04:35] did you get any errors? [04:35] I saw many warnings, but no errors. [04:36] But afterwards Synaptic would not open when I wanted to add the PPA audacious repositories. [04:37] So I rebooted to see if that would fix things and this happened. [04:37] apt-add adds the repos [04:37] keantoken: i would look at [04:38] http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [04:38] ^^ hehe, at the same website even :) [04:38] keantoken: assumming you can get to the command line [04:38] recovery terminal or whatever its called [04:39] I can get to the command line via Grub and recovery mode kernel [04:41] keantoken: COOL [04:41] try ppa purge [04:41] maybe [04:41] sudo apt-get update [04:41] sudo apt-get upgrade [04:41] after that [04:41] IF it does not 'give up the funk' [04:43] I just wrote down the commands, and will get back [04:44] keantoken: good luck [04:46] It says "ppa: command not found" [04:47] still with problems to sync =( [04:49] keantoken: with the ppa purge? [04:49] yes. [04:49] I'm logged in as root. Should I login as my normal user? [04:50] should be [04:50] sudo ppa-purge ppa:webupd8team/unstable [04:51] keantoken: you'll need root [04:51] or sudo [04:51] might need to install ppapurge [04:51] i havent used it other than inside ubuntutweak [04:51] it=ppa-purge [04:53] Also also keep seeing the error "sub-process /usr/bin/dpkg returned error (1)" [04:53] I tried ppa purg and ppa-purge [04:53] keantoken: try [04:54] do I use "sudo apt-get install ppapurge"? [04:54] keantoken: yeah [04:54] try it [04:54] also [04:54] you can try [04:54] sudo apt-get -f install [04:54] http://www.linuxquestions.org/questions/debian-26/sub-process-usr-bin-dpkg-returned-an-error-code-1-a-171107/ [04:54] also, about the PPA purge http://bigbrovar.aoizora.org/index.php/2010/01/10/how-to-safely-remove-ppa-repository-from-ubuntu/ [04:56] it sucks to try add audio and video to a new file =/ [04:57] It says "can't find package ppapurge" [04:58] right [04:58] you'll probably need to install it [04:58] thats probably [04:58] sudo apt-get install ppa-purge [04:58] or ppapurge [04:58] which ever it is [04:58] I tried that too. [04:58] i think its ppa-purge [04:59] keantoken: tried what? [05:00] I tried both ppapurge and ppa-purge [05:00] installing them? [05:00] * holstein looking [05:01] yeah [05:01] ppa-purge [05:01] ppa-purge - disables a PPA and reverts to official packages [05:01] so you'll need to install it [05:01] with [05:01] sudo apt-get install ppa-purge [05:01] if apt is complaining [05:01] try running that fix [05:01] sudo apt-get -f install [05:02] almost seems like the computer shutdown in the middle of installing packages [05:03] I've tried all this and nothing works [05:03] you've tried both of those [05:03] yes [05:03] and these are not working yet [05:04] any more errors from apt? [05:06] http://ubuntuforums.org/showthread.php?t=541998 [05:06] suggests http://ubuntuforums.org/showthread.php?t=541998 [05:06] opps [05:06] sudo dpkg --configure -a [05:06]  [05:09] keantoken: good news is [05:09] you can look more places for help [05:09] this would not be studio specific [05:09] if you drop that error in a more active channel [05:09] you might get better suggestions :) [05:11] I see "gconftool-2: symbol lookup error: gconftool2: undefined symbol: g_option_content_new [05:11] where? [05:12] that could be an update that got borked [05:13] running that last command [05:13] I get many lines saying libglib2.0 has not been configured yet. [05:13] i would expect to see this if an update or upgrade was going on [05:14] and the power was cut to the machine [05:14] anyways [05:14] your going to need to figure out what happened to you packages [05:14] and how to straigten it out [05:14] keantoken: does apt work now? [05:14] sudo apt-get update [05:15] Before I founde the audacious repository I was trying to install the audacious dependencies and I'll bet I screwed up installing the esoteric libglib [05:15] along with the esoteric libglib+2.5 [05:15] which was worth a good rant... [05:16] Actually that's gtk+2.5, not libglib... [05:16] keantoken: still should be able to straigten in out though [05:16] it* [05:17] im the kind of guy that would probably fuss with it for a day or so [05:17] then reinstall ;) [05:22] How much of my system will remain as it was if I reinstall? [05:24] depends [05:24] you mean your entire system? [05:24] if your dual booting something else [05:25] the other OS should be fine [05:25] IF you have a separate home partition [05:25] and dont format it [05:25] you would have most config files and personal files in place [05:26] you can backup your home directory though [05:26] i think ubuntu one does that :) [05:27] What if I ran ./configure from the libglib folder? [05:27] * holstein shrugs [05:27] i would try googling each error you get from a package manager [05:27] and try fixing you packages [05:31] Thanks for your help. How can I copy my home directory to a safe place? [05:32] Upgrading to 10.10 sounds appealing anyways. [05:32] yeah [05:32] might as well [05:32] im staying with 10.04 [05:32] keantoken: i would probaly just use a USB stick [05:32] almosto done [05:33] you can use a live CD to copy it over if needed [05:37] How do I put it in the new install without causing strange things to happen? [05:38] carefully ;) [05:38] permissions is really the only issue you should have [05:38] keantoken: just grab the stuff you need [05:38] maybe .mozilla [05:38] just move that into your home [05:39] before you open FF [05:39] OR overwrite whatever .mozilla is already there [05:39] same for the others in theory [05:41] Alright, I will try that. [05:41] keantoken: you should try asking around though [05:41] maybe in your local ubuntu channel [05:41] IF you feel like troubleshooting a bit more [05:46] Nah, I think I feel like dealing with upgrade caveats. Though I wish upgrades really meant smoother running linux... [05:54] Thanks again. Bye. [06:32] finally [06:32] http://www.youtube.com/watch?v=DqzjYf1lmQY [06:32] sync in windows =( [06:33] virtu: nice [06:33] is that your tune? [06:34] yes [06:34] recorded the video with a smartphone [06:34] and the audio with built in recorder [06:51] time to go... [06:51] c ya [06:52] tks [12:10] Hi, I'm running lucid on amd64, alsa-base and source 1.0.22.1+dfsg-0ubuntu3 and linux-backports-modules-alsa-2.6.32-26-generic 2.6.32-26.25 [12:12] I got no sound at all, but the levelmeter for pulseaudio shows a moving graph if I paplay a wav file [12:13] But, When booting into windows I will have sound in winxp [12:13] $ uname -a [12:13] Linux ubuntu 2.6.32-26-preempt #48-Ubuntu SMP PREEMPT Wed Nov 24 10:43:13 UTC 2010 x86_64 GNU/Linux [12:15] pulseaudio -vv gives this: [12:15] D: module-rtp-recv.c: wi=1862304822 ri=1794430839 [12:15] D: module-rtp-recv.c: Write index deviates by 67873,98 ms, expected 500,00 ms [12:15] D: module-rtp-recv.c: Hmmm, rate fix is too large (594238 Hz), not applying. [12:15] D: module-rtp-recv.c: Updated sampling rate to 44100 Hz. [12:15] D: module-rtp-recv.c: Updating sample rate [12:17] What happened to the alsa driver? [12:19] http://www.alsa-project.org/db/?f=866e92f95489a8aea93f45916fa35b85b05b366b [12:22] http://paste.pocoo.org/show/300801/ [12:24] I guess it's an issue with the alsa driver itself. [12:24] Does anyone knoe how to debug this? [12:24] knoe/know [14:37] hi [14:37] good morning [14:38] * holstein waves to virtu [14:40] slept only 4 hours.... spend all night trying to sync the audio on that video that I post at youtube [14:40] can be challenging [14:41] i thought it looked fine [14:41] in sync [14:41] i remember using virtualdub in windows [14:41] because i was having sync issues with some project [14:42] Yeah... I use Windows Movie Maker and it was very easy [14:42] it was one of my first experiences with open source software [14:42] worked great [14:42] at the time, movie maker was way off [14:42] so... in linux ambient I got a lot of difficulties... =( [14:42] well, the vid would start fine [14:42] and then the audio trailed off [14:42] after 20 minutes or so [14:42] til it got WAY off [14:43] aham... [14:43] like 5+ seconds or so [14:43] after an hour [14:44] im not familiar with linux ambient [14:44] virtu: should have been in sync from the source [14:44] the phone [14:44] and that matters make me mad... because it seems very simple to sync, but you need a nice software... and WMM has a simple function that allow to delay the sound [14:44] if not, i would look there [14:44] maybe use something like ustream [14:44] with a PC [14:44] then, its uploaded [14:45] and in sync [14:45] and share-able [14:45] all in one go [14:45] sure, it could be, but I recorded the video in mute because the poor quality of video camera [14:46] you should be able to add [14:46] and edit the audio [14:46] in whatever editor [14:46] pitivi or avidmeux [14:46] ohh sure... [14:46] or whatever you want [14:46] but it was very hard to sync them up into pitivi and avidemux [14:47] well, the piece is mostly rubato [14:47] in pitivi I didnt find an option to adjust when the sound begins in seconds [14:47] that would add to the challenge [14:48] i think if i had a project like that [14:48] i would try and have a click track going [14:48] and sync up to it [14:48] on both ends [14:48] vid and audio [14:48] and have some kind of clap on the same beat in the lead in [14:49] go to where the clap is in the vid and line that up with the clap on the audio [14:50] even if its going to be rubato [14:50] and i wanted to record the video and the audio at the same time [14:50] just on different devices [14:50] sure... [14:50] i would still try and clap i think [14:50] or something visual and audible [14:50] to sync to [14:51] visual will be easier [14:51] like they used to do in the movies [14:51] you see your finger and listen the audio.. when they are matching... you will note that all audio and video must be synced [14:51] with that clacker board [14:52] virtu: probably just bothers you [14:52] what i saw looked fine [14:53] i didnt notice any sync issues [14:53] yeahh... that was the better that I did that time [14:53] you could also do a slide show or something [14:53] and play the audio along to that [14:53] then the sync wouldnt be that important [14:53] check this out: [14:54] http://www.youtube.com/watch?v=l1xqO5Ycses [14:55] yeah, you just need a good reference point [14:55] a clap or something short and stacato from the piano [14:56] http://www.youtube.com/watch?v=7ZDyKlf8bdE [14:56] when we did these [14:56] the guy had the pianist play a loud short staccato 'bang' [14:56] on the piano [14:57] that he could see clearly on the video [14:58] a challenge to sync that... [14:58] but with that signs (visible) it seems to make easier [14:59] http://www.youtube.com/watch?v=_RnThpo0Atk [14:59] we did it each time [14:59] he recorded a concert [14:59] not sure how that got synced up [14:59] but it did [15:00] i like these better though [15:00] like the piano melody from the last one [15:00] smotth [15:01] smooth [15:01] thats one of his tunes [15:01] keith davis [15:01] both of these are his originals [15:02] very nice... [15:03] holstein: now I´ll go launch time... [15:03] have a good one :) [15:03] and after have o work a little... tomorrow I´ll go to Sao Paulo [15:03] nice [15:03] o = to [15:03] c ya === virtu is now known as virtu_OFF [15:57] Hi, I got this if I want to connect to the server: W: socket-server.c: TCP connection refused by tcpwrap. [15:57] If i uncomment ALL:ALL in /etc/hosts.deny paplay works. But that's insane [15:57] So, what should I put into /etc/hosts.allow ? [15:57] According to this http://www.pulseaudio.org/wiki/FAQ#Igetthiserrormessage:Connectionrefused [15:57] This should be ok? http://paste.pocoo.org/show/300883/ [15:58] But it doesn't work at all. [15:58] So, what's wrong? [16:09] hey floogy [16:09] * holstein reading [16:09] hi holstein [16:11] i see your in #pulseaudio :) [16:12] i will suggest asking in #opensourcemusicians [16:12] and maybe i could help come up with an alternative solution to the overall need [16:12] but, my favorite pulse audio feature is that when i start JACK, it gets disabled ;) [16:21] pulse audio also is my problem when it is enable =/ === virtu_OFF is now known as virtu [16:22] yes, but I'm rarely using jack, so I combined both setups. This might be not the best setup, but it worked once. [16:22] what are you trying to do? [16:22] im not suggesting a JACK solution yet [16:23] and the tcpwrap issue isn't affected by jackd I guess. [16:23] I want to be able to connect to pulseaudio [16:23] W: socket-server.c: TCP connection refused by tcpwrap [16:24] right [16:24] but, what is the overall goal? [16:24] a remote audio player? [16:24] play networked audio in general? [16:24] To get the whole pulse thing to work, as it does once. [16:25] floogy: locally? [16:25] yes locally [16:25] interesting [16:25] so pulse is just not working on your box? [16:25] yes, but I can't connect to it [16:26] So, it's not working [16:26] im not sure i understand what you mean by 'connect to it' [16:26] in what capacity are you trying to connect to it? [16:26] i have a VIA chip [16:26] in a mininote [16:27] anytime i open the pulse audio prefereces [16:27] $ LANG=EN paplay ~/ged_steffie.wav [16:27] Connection failure: Connection refused [16:27] the device crashes [16:27] W: socket-server.c: TCP connection refused by tcpwrap. [16:27] i have a shortcut to 'revive' it [16:27] but sometimes i have to restart [16:28] floogy: how about the test app? [16:28] Oh wow, pulseaudio crashed. And now it works, hm. So it may not realised my hosts.allow edited version? [16:29] yeah [16:29] probably have to restart it [16:29] to get it to use that config file [16:29] or crash it ;) [16:30] I read one have to restart inetd to use the new hosts.allow settings, but I got no inetd process running. So I guess I have to restart pulseaudio itself instead [16:31] I'll test if everything is ok now. [16:31] i cant imagine why you would need to get that envolved [16:31] pulse almost always 'just works' for me [16:31] and i never do any recording with it [16:33] Hmm, I edited hosts.allow and changed ALL to LOCAL, then restarted pulseaudio and now I get again refused [16:33] floogy: so it was working? [16:33] and you did what? [16:33] why? [16:34] i would say, next time you hear something [16:34] just stop tweaking ;) [16:38] Hm, ok with ALL it works, but not with LOCAL, I can't understand that, and I guess thats not secure at all. [16:38] shouldnt be a problem [16:39] whats the worst that could happen [16:39] you got you firewall down [16:39] because it only affects pulseaudio? [16:39] and somebody plays sound on your box somehow [16:39] a random hacker [16:39] thats running linux [16:39] and looking for a linux user [16:39] to play audio at ;) [16:40] Hm,ok pulseaudio is not vulnerable to gain root access? [16:40] i guess if there is a pulse user [16:40] or group [16:40] that has su access [16:40] but still [16:40] a long shot i say [16:41] floogy: maybe you have some strange hardware [16:41] and would do better removing pulse [16:41] if your worried about it [16:42] Hm, but it always (maybe <10.04) worked that way. I found this here: http://mpd.wikia.com/wiki/PulseAudio [16:42] and it worked until a couple of weeks ago. [16:43] or month, I don't know. Often I don't use sound at all. [16:43] floogy: this is 10.04? [16:43] yes [16:43] did you update alsa? [16:43] i think there is a script somewhere [16:43] It's a backported version [16:44] http://ubuntuforums.org/showthread.php?p=6589810#post6589810 [16:46] $ apt-cache policy linux-backports-modules-alsa-lucid-generic [16:46] linux-backports-modules-alsa-lucid-generic: [16:46] Installiert: 2.6.32.26.28 [16:46] *** 2.6.32.26.28 0 [16:46] 500 ftp://ftp.hosteurope.de/mirror/archive.ubuntu.com/ lucid-updates/main Packages [16:47] floogy: hey [16:47] did you try an older kernel? [16:47] you could boot into an earlier kernel [16:47] No, I use this one Linux ubuntu 2.6.32-26-preempt #48-Ubuntu SMP PREEMPT Wed Nov 24 10:43:13 UTC 2010 x86_64 GNU/Linux [16:47] right [16:48] maybe there is an older one? [16:48] or you could install the generic one [16:48] and see how it works [16:48] But I think thats not related to tcpwrapper behavior of pulseaudio? [16:49] i have no idea what that is [16:49] its never been an issue for me [16:49] these are just some common trouble-shooting steps i go through [16:49] trying to reduce variables [16:49] holstein, What do you have in /etc/hosts.allow regarding pulseaudio? [16:50] * holstein looking [16:51] i got nothing in there [16:51] holstein, what os are you running? [16:52] 10.04 [16:52] same with /etc/hosts.deny [16:53] just the commented out stuff that come in there [16:53] ive never needed to mess with it [16:53] holstein, nothing in /etc/hosts.deny ? Does it exist at all?+ [16:53] yeah [16:54] http://paste.ubuntu.com/540018/ [16:54] ^^ thats /etc/hosts.deny [16:54] Ok, maybe I discard these files also, because they are for controlling inetd, and thats not running I guess. [16:55] floogy: where did you read that you should mess with them? [16:55] http://paste.ubuntu.com/540019/ [16:55] ^^ /etc/hosts.allow [16:55] I wanted once to get mpd working: http://mpd.wikia.com/wiki/PulseAudio [16:56] right [16:56] http://www.pulseaudio.org/wiki/FAQ#Igetthiserrormessage:Connectionrefused [16:56] for networked audio playback? [16:56] what is the goal of that [16:57] Yes, but to use it locally, because of it's features and I wanted to use it in a script. [16:57] floogy: i would ask in #opensourcemusicians [16:57] when you get a minute [16:57] with more the overall goal [16:57] lots of smart folk over there [16:57] problem solvers :) [16:58] holsteinm, thank you a lot. I'll try that. ;) [16:58] good luck [16:58] wish i could be more helpful, ive just never needed to hack pulse that much [17:02] I upgraded my computer since hoary, so there is still some old stuff in the configs [17:05] i bet [17:05] might be due for a fresh install [17:06] floogy: i would think you could test what you need to with a live CD [17:07] Yes, I already thought on starting a live-cd to compare things [17:09] thanks, I'm now afk === virtu is now known as virtu_AFK