Thanks!
I moved the buffer to the mic, and now it works better.
Regards,
Per Gunnarsson
On 11/20/2016 02:59 AM, Alfrex wrote:
> It is not due the buffer set in the cam?
>
>
> El 19/11/16 a las 09:37, Per Gunnarsson escribió:
>> Hello!
>>
>> I tried this script just to see and hear myself. When I play it, the
>> audio is about 4 second ahead of the video. Is there any way I can delay
>> the audio a couple of seconds by changing the script?
>>
>> Regards,
>>
>> Per Gunnarsson
>>
>>
>> #!/usr/bin/liquidsoap
>>
>> # Lines starting with # are comments, they are ignored.
>>
>> # Put the log file in some directory where
>> # you have permission to write.
>>
>>
>>
>> set("log.file.path","/tmp/radio.log")
>>
>>
>>
>> mic = input.pulseaudio()
>>
>>
>> cam = input.v4l2()
>>
>>
>> cam = buffer(mksafe(cam))
>>
>> cam = mux_audio(cam,audio=mic)
>>
>> cam = mksafe(cam)
>>
>>
>>
>> # Output the full stream in theora and vorbis
>> output.icecast(%ogg(%theora(quality=63),%vorbis),
>> host="mustafejen.se",
>> port=8000,
>> password="********",
>> mount="hello.ogv",
>> description="Stream from Ersboda",
>> genre="Eclectic",
>> url="https://mustafejen.se/~per",
>> name="mustafejen",
>> cam)
>>
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Savonet-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/savonet-users
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Savonet-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/savonet-users
------------------------------------------------------------------------------
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users