M
M
Meakin2019-12-05 22:39:22
Delphi
Meakin, 2019-12-05 22:39:22

Why is Mediaplayer outputting video audio but not the video itself?

on the form opendialog, button, meidaplayer

if opendialog1.Execute then
begin
mediaplayer1.filename:=opendialog1.FileName;
mediaplayer1.Display:=Form1;
mediaplayer1.Open;
mediaplayer1.Play;

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
kalapanga, 2019-12-06
@Meakin

He's already old. Supports few codecs. The only thing you can try is to explicitly set the DeviceType, maybe he can’t choose it by the file extension himself, but it’s unlikely to help. Recommend for example Windows Media Player to use. Windows Media Player in Delphi

R
Roman Mirilaczvili, 2019-12-05
@2ord

Maybe there are not enough codecs.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question