MP4

Discussions related to sound, music, video and other multimedia applications
KenDown
Posts: 143
Joined: Wed 04 Apr 2018, 06:36

MP4

Post by KenDown »

I've used the method set out in the Wiki to play .mpg files - it also plays .mp3 audio files - but I need to play .mp4 and .mpeg files. If I double-click on them up comes a player, so there must be a codec somewhere, but I can't get them to play from within BASIC. Any ideas, please?

mikeg
Posts: 83
Joined: Sat 23 Jun 2018, 19:52

Re: MP4

Post by mikeg »

Focus is on code subject. Feel free to judge the quality of my work.

KenDown
Posts: 143
Joined: Wed 04 Apr 2018, 06:36

Re: MP4

Post by KenDown »

Thanks, but that is the method I already use to play .mp3 and .mpg files. It simply does not play .mp4 Indeed, it won't even play .mpg files until I have installed Adobe Premiere, which must load in a codec or two.

RichardRussell
Posts: 467
Joined: Tue 15 Oct 2019, 09:10

Re: MP4

Post by RichardRussell »

KenDown wrote:
Sun 22 Dec 2019, 11:31
Thanks, but that is the method I already use to play .mp3 and .mpg files. It simply does not play .mp4
You evidently don't have a suitable codec. There's a free codec pack available for download here which includes an MP4 codec; it should allow the Direct Show player code from the wiki to work. I've tried it and it works for me.

Just be careful not to click through the installation wizard without de-selecting the optional anti-virus program and browser that it tries to foist on you. Easy enough to disable, and a legitimate way for them to get an income, but potentially irritating if you don't notice the 'fine print'.

On the plus side the codec pack is signed, so I was a lot more comfortable installing it than I would have been otherwise.
If you have a comment about the style or tone of this message please report it to the moderators by clicking the exclamation mark icon, rather than complaining on the public forum.

KenDown
Posts: 143
Joined: Wed 04 Apr 2018, 06:36

Re: MP4

Post by KenDown »

Thanks. Unfortunately, when I tried downloading, the download was successful and demanded permission to make changes (which I granted) but as soon as I clicked on anything, the installer vanished. Even something as simple as "Accept" crashed it.

RichardRussell
Posts: 467
Joined: Tue 15 Oct 2019, 09:10

Re: MP4

Post by RichardRussell »

KenDown wrote:
Thu 02 Apr 2020, 19:46
Unfortunately, when I tried downloading, the download was successful and demanded permission to make changes (which I granted) but as soon as I clicked on anything, the installer vanished. Even something as simple as "Accept" crashed it.
Obviously I'm in no position to give any detailed help; it's not my code (my only contribution was a Google search!). I'm sure you've tried the usual precautions such as disabling your virus scanner, and double-checking that you've downloaded the right version. All I can say is that it works very nicely here (Windows 10) and I'm pleased to have a more comprehensive set of codecs, so thanks for raising the issue.
If you have a comment about the style or tone of this message please report it to the moderators by clicking the exclamation mark icon, rather than complaining on the public forum.