[dvblast-devel] dvblast --print-period option

Christophe Massiot cmassiot at upipe.org
Tue Nov 17 15:55:32 CET 2020


Hi,

Try adding “-x text” to your dvblast command-line. This should turn on line-buffering.

Best regards

> On 17 Nov 2020, at 08:34, Michel Burnand <hb9dug at vtxnet.ch> wrote:
> 
> Hello,
> 
> I use dvblast to stream a program from an ATV radio-amateur repeater (www.hb9tv.ch <http://www.hb9tv.ch/>) through ffmpeg to a club streamer (https://batc.org.uk/live/ <https://batc.org.uk/live/>).
> 
> Following changes in the ATV relay settings, I no longer have a permanent stream coming from program 1000 and I need to detect this state to ensure that ffmpeg works properly.
> 
> Thanks to the --print-period option, I have information on the bitrate of the stream and this allows me to detect if the program is being transmitted.
> 
> 
> 
> Program 1000 present:
> 
> bitrate: 1359565
>  - program number 3000 bitrate: 1
>  - program number 1000 bitrate: 53
>  - program number 2000 bitrate: 1
> frontend ber: 0 strength: 44975 snr: 59367 uncorrected: 0
> 
> 
> 
> Program 1000 absent:
> 
> bitrate: 27072
>  - program number 3000 bitrate: 1
>  - program number 1000 bitrate: 1
>  - program number 2000 bitrate: 1
> frontend ber: 0 strength: 44204 snr: 59110 uncorrected: 0
> 
> 
> 
> My problem, I am unable to retrieve this information in a file... I have tried the ways below with no success :
> 
> 
> dvblast -C -r /tmp/dvblast.sock --print-period 50000 -c hb9tv1.conf --frequency 1760000 --symbol-rate 4000000 --fec-inner 56 -v 18 | tee -a bitrate.txt
> 
> dvblast -C -r /tmp/dvblast.sock --print-period 50000 -c hb9tv1.conf --frequency 1760000 --symbol-rate 4000000 --fec-inner 56 -v 18 2>&1 | tee bitrate.txt
> 
> 
> 
> The information (bitrate) appears on the console and in the file randomly by block of 22 x the bitrate information... 
> opposed to every 5s on the console without the redirection.
> 
> Not being in the programming profession, I am stuck... Could you please put me on the trail of the solution ?
>  Thank you in advance for your advice.
> 
> Best regards,
> Michel
> 
> P.S.  dvblast run on a rasperry 3
> 
> 
> --------------------------------------------------
> Michel Burnand   -   HB9DUG   -   hb9dug at vtxnet.ch <mailto:hb9dug at vtxnet.ch>
> Rue de la Dude 22    CH-1267 Vich      Switzerland
> Phone +41 22 995 0661
> --------------------------------------------------
> 
>  <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient>	Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> <x-msg://56/#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>_______________________________________________
> dvblast-devel mailing list
> dvblast-devel at videolan.org
> https://mailman.videolan.org/listinfo/dvblast-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/dvblast-devel/attachments/20201117/bc2f9e55/attachment.html>


More information about the dvblast-devel mailing list