m4v file plays fine with desktop viewer but not via python api

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Coleslaw
Blank Cone
Blank Cone
Posts: 12
Joined: 19 Oct 2018 23:24

m4v file plays fine with desktop viewer but not via python api

Postby Coleslaw » 31 Oct 2018 00:58

As subject says,..have many .m4v files that play fine with the desktop app, vlc.exe.

However, when I try to load & play them via the python api, they won't play, no message, no error.

I can play .wmv/.mov files via python api just fine though.

What am I doing wrong? Do I need to specify some '--' flag pertaining to 'libx264' ?

>> self.instance = vlc.Instance('--no-xlib', '--no-audio', '--mouse-hide-timeout=3', '--plugin-path=C:/Program Files/VideoLAN/VLC/plugins')

Thank you very much,
Cheers,

Coleslaw
Blank Cone
Blank Cone
Posts: 12
Joined: 19 Oct 2018 23:24

Re: m4v file plays fine with desktop viewer but not via python api

Postby Coleslaw » 31 Oct 2018 01:09

is it possible I should add "--demux h264" ?
Thanks,

Coleslaw
Blank Cone
Blank Cone
Posts: 12
Joined: 19 Oct 2018 23:24

Re: m4v file plays fine with desktop viewer but not via python api

Postby Coleslaw » 31 Oct 2018 19:28

Please ignore my question, I found that yes indeed passing '--demux=m4v,mp4,wmv' solves the issue.
Thank you,


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests