Question about playing DVB-T with subprocess in python
Posted: 16 Jun 2009 19:03
I am trying to play DVB-T with VLC, this is suppose to be a working command for VLC
dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6: program=530
I am using Python and want to use subprocess to run this command, here is my code
command = ':sout=#duplicate{dst=display,dst=std{access=file,dst=test.ts})'
vlc_path = r'C:\Program Files\VideoLAN\vlc\vlc.exe'
dvbprocess = subprocess.Popen([vlc_path, '-vvv', 'dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6 :program=503',command])
but if i execute this i will get this error
VLC cannot open MRL 'dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6 :program=503'
Does anyone know what wrong with my code. Thanks for your help and i will be appriciate to hearing from you.
Best regards,
Ben
dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6: program=530
I am using Python and want to use subprocess to run this command, here is my code
command = ':sout=#duplicate{dst=display,dst=std{access=file,dst=test.ts})'
vlc_path = r'C:\Program Files\VideoLAN\vlc\vlc.exe'
dvbprocess = subprocess.Popen([vlc_path, '-vvv', 'dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6 :program=503',command])
but if i execute this i will get this error
VLC cannot open MRL 'dvb-t:// :dvb-frequency=593000 :dvb-bandwidth=6 :program=503'
Does anyone know what wrong with my code. Thanks for your help and i will be appriciate to hearing from you.
Best regards,
Ben