Can't Stream remotely


#1

Hello,

When I try to stream remotely through the web browser it's stuck on starting transcoder. It does the same on my Android phone. Just installed today on the latest Linux Mint, on vmware esxi 6. Works great locally. Can connect remotely, just not play the videos.

2019/03/14 14:17:16 [HLS] Starting transcoder for channel 508 from 192.168.1.1 (encoder=libx264, resolution=720, deinterlacer=blend, bitrate=6000)
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --
[aac @ 0x2a188c0] 2 frames left in the queue on closing
[aac @ 0x2a19640] 2 frames left in the queue on closing
2019/03/14 14:17:27 [WRN] Buffer for 1314C260 ch508 is more than 50% full (clients=1, len=16777684)
2019/03/14 14:17:32 [WRN] Buffer for 1314C260 ch508 is more than 75% full (clients=1, len=25165868)
2019/03/14 14:17:36 [WRN] Buffer for 1314C260 ch508 is more than 95% full (clients=1, len=31877468)
2019/03/14 14:17:37 [WRN] Buffer for 1314C260 ch508 is more than 99% full (clients=1, len=33219788)
2019/03/14 14:19:39 [HLS] Stopping transcoder session ch508-dANY-ip192.168.1.1 @ 0s
2019/03/14 14:19:39 [TNR] Closed connection to 1314C260 for ch508


#2

Likely a permissions issue on your configured storage location. The DVR will need to be able to create a Streaming directory in whatever path you specified.


#3

What user does it use?


#4

Whatever user you ran the installer as. You can check with ps aux | grep dvr


#5

I just created a single user for that machine since it's single purpose. For the recording storage drive that user has full permission, is the transcoding done somewhere else?


#6

Can you post ls -alh /storagedir. Is there a Streaming folder in there?


#7

Thanks for you help, that led me to figure it out. For some reason my DVR folder was set to /media/[username]/[dir]. I changed it to the drive volume /folder and now it's working. I'm not sure how that happened or why it worked locally. I'm not a linux guru.