No sound when playing .avi with H264-MPEG4, why?

This forum is about all development around libVLC.
Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

No sound when playing .avi with H264-MPEG4, why?

Postby Kevin Hoang » 30 Mar 2011 06:37

I try with other file type it still works, and with vlc compiled program it works file. But, with libvlc in QT Program I got the following message, and no sound.

The output:

Code: Select all

[0x7f6d20001a70] mp4 stream warning: detected moov hidden in a free box ... [0x7f6d18001a70] mp4 stream warning: unknown box type alis (incompletely loaded) [0x7f6d18001a70] mp4 stream warning: unknown box type colr (incompletely loaded) [0x7f6d18001a70] mp4 stream warning: unknown box type pasp (incompletely loaded) [0x7f6d18001a70] mp4 stream warning: unknown box type alis (incompletely loaded) [0x7f6d18001a70] mp4 stream warning: unknown box type XMP_ (incompletely loaded) [0x7f6d20001a70] mp4 stream warning: unknown box type alis (incompletely loaded) [0x7f6d20001a70] mp4 stream warning: unknown box type colr (incompletely loaded) [0x7f6d20001a70] mp4 stream warning: unknown box type pasp (incompletely loaded) [0x7f6d20001a70] mp4 stream warning: unknown box type alis (incompletely loaded) [0x7f6d20001a70] mp4 stream warning: unknown box type XMP_ (incompletely loaded)
Help me!

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

H264-MPEG4, No sound?

Postby Kevin Hoang » 31 Mar 2011 08:31

Anybody know how to fix this problem?

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Sébastien Escudier » 31 Mar 2011 08:42

maybe your compiled vlc and your libvlc are not the same version

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

H264-MPEG4, No sound?

Postby Kevin Hoang » 31 Mar 2011 10:49

I have checked, all of vlc packages is the same (1.1.8 ). I found that the original is .mov file (Quicktime Movie), not .avi!

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Sébastien Escudier » 31 Mar 2011 10:54

so this file works fine with vlc and not with libvlc ?

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Kevin Hoang » 31 Mar 2011 11:01

Yes, exactly! I don't know why...

I found this link: http://mailman.videolan.org/pipermail/v ... 06873.html

the output the same with me!

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Sébastien Escudier » 31 Mar 2011 14:23

how do you open your file with vlc, and with libvlc ?

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Kevin Hoang » 05 Apr 2011 07:37

I open my .mov with vlc by File > Open File ...

My source code with libvlc is a copy in http://wiki.videolan.org/LibVLC_SampleCode_Qt

PS: What happen with this forum in few days ago, i can not login, can not post or edit, ... always return 404 error message

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Sébastien Escudier » 05 Apr 2011 10:05

compare the logs from vlc and from libvlc to see the difference.

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Kevin Hoang » 05 Apr 2011 10:47

Yes, I have. But nothing different between them.

I try to open vlc on terminal with vlc -vvv and compare with log created by qt program. It's the same. So I don't know why it does not works with QT program.

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Sébastien Escudier » 05 Apr 2011 13:29

so you have this warning with both vlc and libvlc ?
[0x7f6d18001a70] mp4 stream warning: unknown box type colr (incompletely loaded)

I never used audio output with libvlc. Maybe you have to set the audio output with these functions :
http://www.videolan.org/developers/vlc/ ... audio.html

Kevin Hoang
Blank Cone
Blank Cone
Posts: 43
Joined: 25 Mar 2010 05:14

Re: No sound when playing .avi with H264-MPEG4, why?

Postby Kevin Hoang » 08 Apr 2011 04:17

yes, in both

I haven't set audio output. In Fedora 13, this works fine, this problem occurs when I upgrade to fedora 14.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests