BBC BASIC
« Win 10 and DirectX »

Welcome Guest. Please Login or Register.
Mar 31st, 2018, 10:38pm



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Cross-platform BBC BASIC (Windows, Linux x86, Mac OS-X, Android, iOS, Raspberry Pi)
BBC BASIC Resources
BBC BASIC Help Documentation
BBC BASIC for Windows Home Page
BBC BASIC Programmers' Reference
BBC BASIC Beginners' Tutorial
BBC BASIC for SDL 2.0 Home Page
BBC BASIC Discussion Group

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Win 10 and DirectX  (Read 70 times)
KenDown
New Member
Image


member is offline

Avatar




PM


Posts: 49
xx Win 10 and DirectX
« Thread started on: Mar 11th, 2018, 5:02pm »

I have used the DirectX method given in the Wiki for playing video files and it worked find with XP, 7 and Vista. It also kept on working after I upgraded the 7 and Vista to Win 10. However I recently purchased a new computer with Win 10 already installed and I simply cannot get the DirectX to work with .mpg files. It simply does not recognise them.

Mind you, even with Media Player, it will only play the audio of the files, not the video. VLC works fine on its own, but I don't know how to use that - if that is what I need to do - to play video in my own program.

Does anyone have any idea what I need to do to get the Wiki method working, please?
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 803
xx Re: Win 10 and DirectX
« Reply #1 on: Mar 11th, 2018, 6:01pm »

on Mar 11th, 2018, 5:02pm, KenDown wrote:
I simply cannot get the DirectX to work with .mpg files. It simply does not recognise them.

The trouble is that .mpg is not a standardised file format: it's a wrapper than can contain virtually any kind of MPEG-coded media data inside. Your issue is almost certainly nothing to do with it being Windows 10, but that you don't have the correct codec(s) installed.

Codecs are commonly installed with other applications, so it may well be that your particular .mpg file plays on your older PC by virtue of you having previously installed an app that happens to have included the right codec(s).

If you haven't installed that same app on your new PC, the codecs won't be present. You will need to discover exactly what codecs your particular .mpg file needs, and then search the web for a download site.

It's annoying, but a very common problem.

Richard.
User IP Logged

KenDown
New Member
Image


member is offline

Avatar




PM


Posts: 49
xx Re: Win 10 and DirectX
« Reply #2 on: Mar 11th, 2018, 7:14pm »

Fair enough, yet having a codec is not the solution: I need to get DirectX to recognise and "talk" to the codec. As I said, I downloaded VLC and it will play the mpg file quite happily but DirectX still won't play that same file. Grrrrr.

User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 803
xx Re: Win 10 and DirectX
« Reply #3 on: Mar 11th, 2018, 7:40pm »

on Mar 11th, 2018, 7:14pm, KenDown wrote:
I need to get DirectX to recognise and "talk" to the codec.

I tried the DirectX code at the Wiki and it works perfectly on Windows 10, with a .mpeg file that I know I have a codec for. Downloading and installing a codec does everything needed to ensure that DirectX "talks to" it when it needs to.

Conceivably, but I'm not sure about this, you may need a 32-bit codec to work wih 32-bit BB4W. To err on the safe side, make sure that your copy of VLC is 32-bits too.

Richard.
User IP Logged

KenDown
New Member
Image


member is offline

Avatar




PM


Posts: 49
xx Re: Win 10 and DirectX
« Reply #4 on: Mar 12th, 2018, 05:01am »

Hmmmm.

It is the very latest VLC (3.0) downloaded from the official site yesterday. Would that be 32-bit or might it be 64-bit?

Ha! I've just revisited the site and discover the proud boast, "Plays most codecs with no codec packs needed". So having it *didn't* get me any codecs. Grrrrr.

The other computers have Adobe Premiere on them, which probably includes the necessary codecs, but the new, small one doesn't have enough memory for that.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls