Recent Changes - Search:

Video Sites

Thai

w0it

pmwiki.org

edit SideBar

ERrors

Main.ERrors History

Hide minor edits - Show changes to output

August 10, 2018, at 11:26 PM by 76.248.208.245 -
Changed lines 1-78 from:
[@
pi@ARS:~/runmyrobot $ python send_video.py 4208320 0
initializing socket io
server: runmyrobot.com
trying to connect to app server socket io letsrobot.tv 8022
finished initializing app server socket io
args on command line: Namespace(api_server='api.letsrobot.tv', app_server_socketio_host='letsrobot.tv', app_server_socketio_port=8022, audio_device_name=None, audio_device_number=1, audio_input_device='Microphone (HD Webcam C270)', brightness=None, camera_enabled=True, camera_id='4208320', contrast=None, dry_run=False, env='prod', info_server='runmyrobot.com', info_server_protocol='https', kbps=350, mic_channels=1, mic_enabled=True, rotate180=False, saturation=None, screen_capture=False, stream_key='hello', video_device_number=0, xres=768, yres=432)
GET https://runmyrobot.com/get_robot_id/4208320
robot id: 18809293
refreshing from online settings
GET https://api.letsrobot.tv/api/v1/robots/18809293
onlineSettings: {u'status': u'online', u'relay_node': {u'host': u'lrc1.letsrobot.tv', u'port': 40655}, u'current_video_websocket_port': 22604, u'ffmpeg_process_exists_timestamp': u'2018-08-11T01:32:36.090Z', u'websocket_relay_node': {}, u'current_audio_websocket_port': 22792, u'owner': u'luigi', u'public': True, u'robot_name': u'ARS', u'aggregator_node': {u'host': u'lrc1.letsrobot.tv', u'port': 43171}, u'mic_enabled': True, u'yres': 432, u'subscribers': [], u'xres': 768, u'robot_id': u'18809293', u'last_notified_subscribers': u'2018-08-10T23:12:57.274Z', u'panels': [], u'charging': False, u'room': u'global'}
onlineSettings['mic_enabled']: True
KILLING VIDEO DUE TO RESOLUTION CHANGE**********************
args after loading from server: Namespace(api_server='api.letsrobot.tv', app_server_socketio_host='letsrobot.tv', app_server_socketio_port=8022, audio_device_name=None, audio_device_number=1, audio_input_device='Microphone (HD Webcam C270)', brightness=None, camera_enabled=True, camera_id='4208320', contrast=None, dry_run=False, env='prod', info_server='runmyrobot.com', info_server_protocol='https', kbps=350, mic_channels=1, mic_enabled=True, rotate180=False, saturation=None, screen_capture=False, stream_key='hello', video_device_number=0, xres=768, yres=432)
GET https://runmyrobot.com/get_video_port/4208320
getting websocket relay host for video
GET https://runmyrobot.com/get_websocket_relay_host/4208320
websocket relay host for video: {u'host': u'letsrobot.tv'}
/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 768x432 -r 25 -i /dev/video0  -f mpegts -codec:v mpeg1video -b:v 350k -bf 0 -muxdelay 0.001 http://letsrobot.tv:17604/hello/768/432/
GET https://runmyrobot.com/get_audio_port/4208320
ffmpeg version N-91592-g87cc7e8d4e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
/dev/video0: Device or resource busy
GET https://runmyrobot.com/get_websocket_relay_host/4208320
/usr/local/bin/ffmpeg -f alsa -ar 44100 -ac 1 -i hw:1 -f mpegts -codec:a mp2 -b:a 32k -muxdelay 0.001 http://letsrobot.tv:17792/hello/640/480/
ffmpeg version N-91592-g87cc7e8d4e-----------------0-----------------
 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
[alsa @ 0x223a230] cannot open audio device hw:1 (No such file or directory)
hw:1: Input/output error
status file could not be written
Traceback (most recent call last):
  File "send_video.py", line 371, in main
    with os.fdopen(os.open('/tmp/send_video_summary.txt', os.O_WRONLY | os.O_CREAT, 0o777), 'w') as statusFile:
OSError: [Errno 13] Permission denied: '/tmp/send_video_summary.txt'
video process poll 1 pid 28214 restarts 0
sleeping 0.5
GET https://runmyrobot.com/get_video_port/4208320
getting websocket relay host for video
GET https://runmyrobot.com/get_websocket_relay_host/4208320
websocket relay host for video: {u'host': u'letsrobot.tv'}
/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 768x432 -r 25 -i /dev/video0  -f mpegts -codec:v mpeg1video -b:v 350k -bf 0 -muxdelay 0.001 http://letsrobot.tv:17604/hello/768/432/
audio process poll 1 pid 28215 restarts 0
sleeping 0.5
ffmpeg version N-91592-g87cc7e8d4e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
/dev/video0: Device or resource busy
@]

to:
robot is working Thanks.
-louis
August 10, 2018, at 09:48 PM by 76.248.208.245 -
Added line 1:
[@
Added lines 77-78:
@]
August 10, 2018, at 09:36 PM by 76.248.208.245 -
Added lines 1-75:
pi@ARS:~/runmyrobot $ python send_video.py 4208320 0
initializing socket io
server: runmyrobot.com
trying to connect to app server socket io letsrobot.tv 8022
finished initializing app server socket io
args on command line: Namespace(api_server='api.letsrobot.tv', app_server_socketio_host='letsrobot.tv', app_server_socketio_port=8022, audio_device_name=None, audio_device_number=1, audio_input_device='Microphone (HD Webcam C270)', brightness=None, camera_enabled=True, camera_id='4208320', contrast=None, dry_run=False, env='prod', info_server='runmyrobot.com', info_server_protocol='https', kbps=350, mic_channels=1, mic_enabled=True, rotate180=False, saturation=None, screen_capture=False, stream_key='hello', video_device_number=0, xres=768, yres=432)
GET https://runmyrobot.com/get_robot_id/4208320
robot id: 18809293
refreshing from online settings
GET https://api.letsrobot.tv/api/v1/robots/18809293
onlineSettings: {u'status': u'online', u'relay_node': {u'host': u'lrc1.letsrobot.tv', u'port': 40655}, u'current_video_websocket_port': 22604, u'ffmpeg_process_exists_timestamp': u'2018-08-11T01:32:36.090Z', u'websocket_relay_node': {}, u'current_audio_websocket_port': 22792, u'owner': u'luigi', u'public': True, u'robot_name': u'ARS', u'aggregator_node': {u'host': u'lrc1.letsrobot.tv', u'port': 43171}, u'mic_enabled': True, u'yres': 432, u'subscribers': [], u'xres': 768, u'robot_id': u'18809293', u'last_notified_subscribers': u'2018-08-10T23:12:57.274Z', u'panels': [], u'charging': False, u'room': u'global'}
onlineSettings['mic_enabled']: True
KILLING VIDEO DUE TO RESOLUTION CHANGE**********************
args after loading from server: Namespace(api_server='api.letsrobot.tv', app_server_socketio_host='letsrobot.tv', app_server_socketio_port=8022, audio_device_name=None, audio_device_number=1, audio_input_device='Microphone (HD Webcam C270)', brightness=None, camera_enabled=True, camera_id='4208320', contrast=None, dry_run=False, env='prod', info_server='runmyrobot.com', info_server_protocol='https', kbps=350, mic_channels=1, mic_enabled=True, rotate180=False, saturation=None, screen_capture=False, stream_key='hello', video_device_number=0, xres=768, yres=432)
GET https://runmyrobot.com/get_video_port/4208320
getting websocket relay host for video
GET https://runmyrobot.com/get_websocket_relay_host/4208320
websocket relay host for video: {u'host': u'letsrobot.tv'}
/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 768x432 -r 25 -i /dev/video0  -f mpegts -codec:v mpeg1video -b:v 350k -bf 0 -muxdelay 0.001 http://letsrobot.tv:17604/hello/768/432/
GET https://runmyrobot.com/get_audio_port/4208320
ffmpeg version N-91592-g87cc7e8d4e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
/dev/video0: Device or resource busy
GET https://runmyrobot.com/get_websocket_relay_host/4208320
/usr/local/bin/ffmpeg -f alsa -ar 44100 -ac 1 -i hw:1 -f mpegts -codec:a mp2 -b:a 32k -muxdelay 0.001 http://letsrobot.tv:17792/hello/640/480/
ffmpeg version N-91592-g87cc7e8d4e-----------------0-----------------
 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
ALSA lib pcm_hw.c:1713:(_snd_pcm_hw_open) Invalid value for card
[alsa @ 0x223a230] cannot open audio device hw:1 (No such file or directory)
hw:1: Input/output error
status file could not be written
Traceback (most recent call last):
  File "send_video.py", line 371, in main
    with os.fdopen(os.open('/tmp/send_video_summary.txt', os.O_WRONLY | os.O_CREAT, 0o777), 'w') as statusFile:
OSError: [Errno 13] Permission denied: '/tmp/send_video_summary.txt'
video process poll 1 pid 28214 restarts 0
sleeping 0.5
GET https://runmyrobot.com/get_video_port/4208320
getting websocket relay host for video
GET https://runmyrobot.com/get_websocket_relay_host/4208320
websocket relay host for video: {u'host': u'letsrobot.tv'}
/usr/local/bin/ffmpeg -f v4l2 -framerate 25 -video_size 768x432 -r 25 -i /dev/video0  -f mpegts -codec:v mpeg1video -b:v 350k -bf 0 -muxdelay 0.001 http://letsrobot.tv:17604/hello/768/432/
audio process poll 1 pid 28215 restarts 0
sleeping 0.5
ffmpeg version N-91592-g87cc7e8d4e Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1) 20170516
  configuration: --arch=armel --target-os=linux --enable-gpl --enable-libx264 --enable-nonfree --extra-libs=-ldl
  libavutil      56. 18.102 / 56. 18.102
  libavcodec    58. 22.101 / 58. 22.101
  libavformat    58. 17.101 / 58. 17.101
  libavdevice    58.  4.101 / 58.  4.101
  libavfilter    7. 26.100 /  7. 26.100
  libswscale      5.  2.100 /  5.  2.100
  libswresample  3.  2.100 /  3.  2.100
  libpostproc    55.  2.100 / 55.  2.100
/dev/video0: Device or resource busy
Edit - History - Print - Recent Changes - Search
Page last modified on August 10, 2018, at 11:26 PM