[FFmpeg-user] audio is out of sync and "ALSA buffer xrun"
YuGiOhJCJ Mailing-List
yugiohjcj-mailinglist at laposte.net
Fri Feb 21 14:35:43 CET 2014
I have recompiled my kernel.
Now, I have this:
$ cat /proc/asound/card0/pcm0c/sub0/hw_params
closed
What it means, please?
On Tue, 18 Feb 2014 17:02:37 +0000
LANGLOIS Olivier PIS -EXT <olivier.pis.langlois at transport.alstom.com> wrote:
> If you want to have them, you need to recompile the kernel with this setting:
>
> lano1106 at hpmini ~/dev/linux-ck/src/linux-3.12 $ zgrep SND_VERBOSE /proc/config.gz
> CONFIG_SND_VERBOSE_PROCFS=y
> # CONFIG_SND_VERBOSE_PRINTK is not set
>
> You can use my numbers, it should give you some idea:
>
> lano1106 at hpmini /proc/asound/card0/pcm0c/sub0 $ cat hw_params
> access: RW_INTERLEAVED
> format: S16_LE
> subformat: STD
> channels: 2
> rate: 44100 (44100/1)
> period_size: 11025
> buffer_size: 22050
>
> 22050/44100 = 0.5 (yours could be smaller)
>
> http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/rtmp/pdf/rtmp_specification_1.0.pdf
>
> The rtmp handshake has 3 messages exchanges.
>
> take the rtt from 'ping live-fra.twitch.tv', multiply by 3 and this value must be smaller than 0.5 or whatever you buffer_time is.
>
> this server doesn't seem to reply to ICMP echo request so you can get some timing insight by recording your rtmp exchange with wireshark something like that.
>
>
> > -----Original Message-----
> > From: ffmpeg-user-bounces at ffmpeg.org [mailto:ffmpeg-user-
> > bounces at ffmpeg.org] On Behalf Of YuGiOhJCJ Mailing-List
> > Sent: Tuesday, February 18, 2014 11:44 AM
> > To: FFmpeg user questions
> > Subject: Re: [FFmpeg-user] audio is out of sync and "ALSA buffer xrun"
> >
> > It seems I have not the same file hierarchy than you in this folder:
> > $ ls -l /proc/asound/card0/
> > total 0
> > -r--r--r-- 1 root root 0 Feb 18 17:42 codec#0
> > -r--r--r-- 1 root root 0 Feb 18 17:42 id
> >
>
>
> ________________________________
> CONFIDENTIALITY : This e-mail and any attachments are confidential and may be privileged. If you are not a named recipient, please notify the sender immediately and do not disclose the contents to another person, use it for any purpose or store or copy the information in any medium.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list