Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TW ACC (Automatic Cable Car) - Control

Repository for Automatic Cable Car Control software

Check audio

gst-launch-1.0 -v rtspsrc location=rtsp://admin:Hawaiian@192.168.1.48:8554/Streaming/Channels/101 latency=100 protocols=udp ! decodebin ! audioconvert ! audioresample ! autoaudiosink

This works because audio session runs per user session. In case running with root permission, use "sudo -E" to run with user's environment.

sudo -E gst-launch-1.0 -v rtspsrc location=rtsp://admin:Hawaiian@192.168.1.48:8554/Streaming/Channels/101 latency=100 protocols=udp ! decodebin ! audioconvert ! audioresample ! autoaudiosink

Mounting ramdisk for IPC SHM

This app will stream video to auto_cable_car_server on the same SBC machine via shm.

Mounting ramdisk /tmp/auto_cable_car

sudo mkdir -p /tmp/auto_cable_car
sudo chmod 1777 /tmp/auto_cable_car # (1 for sticky bit)

# Temporary mount for testing purpose
sudo mount -t tmpfs -o size=256M tmpfs /tmp/auto_cable_car

df -h  # and check tmpfs at /tmp/auto_cable_car

Mounting ramdisk /tmp/auto_cable_car permanently

# /etc/fstab
# Add:
tmpfs   /tmp/auto_cable_car     tmpfs   defaults,size=256M,mode=1777    0   0

# Then:
sudo mount /tmp/auto_cable_car
# OR
sudo mount -a  # Re-evaluate /etc/fstab

# Verify:
mount | grep auto_cable_car
# Result: tmpfs on /tmp/auto_cable_car type tmpfs (rw,relatime,size=262144k,inode64)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages