agarciadom / ipwebcam-gst

Simple shell script for using IP Webcam as a V4L2 webcam / sound source
http://xmleye.wordpress.com
621 stars 155 forks source link

timestamping problem during script execution #18

Closed testardo closed 9 years ago

testardo commented 9 years ago

Hola, I'm using IP Webcamera and the software where I run the script is Linux Mint 17.1 Rebecca. During the execution of the script the terminal gives back this following error:

Informazioni di debug aggiuntive: gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: There may be a timestamping problem, or this computer is too slow.

How to resolve it?

agarciadom commented 9 years ago

Are you using a wifi connection, or a USB cable? Wifi connections can be very slow.

On 27 May 2015 at 11:25, testardo notifications@github.com wrote:

Hola, I'm using IP Webcamera and the software where I run the script is Linux Mint 17.1 Rebecca. During the execution of the script the terminal gives back this following error:

Informazioni di debug aggiuntive: gstbasesink.c(2875): gst_base_sink_is_too_late (): /GstPipeline:pipeline0/GstV4l2Sink:v4l2sink0: There may be a timestamping problem, or this computer is too slow.

How to resolve it?

— Reply to this email directly or view it on GitHub https://github.com/bluezio/ipwebcam-gst/issues/18.

testardo commented 9 years ago

Hi bluezio, thanks for the reply. I did this operation without installing the android sdk. So this morning I installed it using this documentation: http://androidforums.com/threads/how-to-install-android-sdk-on-ubuntu.608406/. I followed all the guide until to this line:

Watch your phone's screen at this time. If it's not on, turn it on and look for an RSA popup which authorizes your device to your PC. When you see the popup, check the box to "always allow", then hit ok.

I plugged my phone with the usb cable, gave the ./adb devices command and finally I see my device in attachment, but when I restart your script the window gives to me this sentence:

adb is not available: you'll have to use Wi-Fi, which will be slower. Next time, please install the Android SDK from developer.android.com/sdk.

and after the pavucontrol window etc. the terminal showes me again the timestamp problem.

agarciadom commented 9 years ago

If you're using ./adb to start ADB, it won't be part of your $PATH. It's not really a problem, but in that case you'll need to customize ADB_PATH on line 99 with the full absolute path to your adb binary.

On 27 May 2015 at 17:17, testardo notifications@github.com wrote:

Hi bluezio, thanks for the reply. I did this operation without installing the android sdk. So this morning I installed it using this documentation: http://androidforums.com/threads/how-to-install-android-sdk-on-ubuntu.608406/ . I followed all the guide until to this line:

Watch your phone's screen at this time. If it's not on, turn it on and look for an RSA popup which authorizes your device to your PC. When you see the popup, check the box to "always allow", then hit ok.

I plugged my phone with the usb cable, gave the ./adb devices command and finally I see my device in attachment, but when I restart your script the window gives to me this sentence:

adb is not available: you'll have to use Wi-Fi, which will be slower. Next time, please install the Android SDK from developer.android.com/sdk.

and after the pavucontrol window etc. the terminal showes me again the timestamp problem.

— Reply to this email directly or view it on GitHub https://github.com/bluezio/ipwebcam-gst/issues/18#issuecomment-105952996 .

testardo commented 9 years ago

Hi bluezio, thanks for the reply. I configured the adb tool using this guide: https://androidonlinux.wordpress.com/2013/05/12/setting-up-adb-on-linux/ and when I type the ./adb start-server the terminal says that the daemon's starting on the port 5037. So on line 114 of your script I changed the number of the port then at on line 99, the default path with this line:

/programmi/android-sdk-linux/platform-tools/adb

because the path where's the adb tool is found, it's in this path:

/home/angelo/programmi/android-sdk-linux/platform-tools/

Then, I saved it and I restarted the script.

But after the ./prepare-videochat.sh command, the script showes me this:

angelo@EGOTRON ~/programmi/ipwebcam-gst-master $ ./prepare-videochat.sh error: internal error

agarciadom commented 9 years ago

I'm afraid that doesn't give me enough information to debug the problem. Could you try adding a few "echo X" lines to the script, to find out where it's crashing?

testardo commented 9 years ago

Hi bluezio, thanks for the reply. Actually we are changing the Internet Service Provider, so I don't have my internet connection. I'll try it as soon as possible.

agarciadom commented 9 years ago

Closed due to inactivity. Please feel free to reopen when you get the time to try this again :-).