View Single Post
  #431  
Old 08-07-2016, 03:48 AM
RoDen RoDen is offline
Junior Member
 
Join Date: Aug 2016
Posts: 1
RoDen is on a distinguished road
Default

Re: Customized rtmpdump binaries with patch file


Hi, K-S-V,

Looks like rtmpsuck totally ignores "deleteStream" command on active streams. In one case (when a server sends new streams with new IDs) it leads to the same stream being simultaneously saved in a number of files (not a big deal if you have enough disk space). In another case it results in a total mess: file names with wrong timestamps, wrong video duration, videos being non-seekable or totally corrupt.

So, rtmpsuck should either check if the stream is already being saved, so it doesn't create a new file for a new connection. But it may result in a corrupt video. Or it should close existing connection and proceed with a new one. The latter woult lead to saving a stream on a poor connection in numerous files including empty ones (zero or 13 byte size). So it would also be great for rtmpsuck to automatically delete such empty files.

Also this:
Quote:
Originally Posted by Xidus View Post
Is there a way to change the timestamp to 24 hour format? It is currently in 12 hour format without AM/PM indicator.
- timestamp_len = strftime(&timestamp[0], sizeof (timestamp), "%Y-%m-%d_%I-%M-%S_", localtime(&current_time));
+ timestamp_len = strftime(&timestamp[0], sizeof (timestamp), "%Y-%m-%d_%H-%M-%S_", localtime(&current_time));
Reply With Quote