Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
.mp4 videos will not play.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Mon Jul 18, 2005 4:19 am    Post subject: .mp4 videos will not play. Reply with quote

Hi I am trying to play videos downloaded from http://www.go-opensource.org/go_open/news/download_go_open/ which are .mp4 files.
Mplayer will not play the file at all:

Quote:
john@odysseus ~/go-open-vol-1 $ mplayer go-open-episode-01.mp4
MPlayer 1.0pre6-3.4.4 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon MP/XP/XP-M Barton (Family: 6, Stepping: 0)
Detected cache-line size is 64 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
3DNow supported but disabled
3DNowExt supported but disabled
CPUflags: MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:


Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

77 audio & 189 video codecs
Playing go-open-episode-01.mp4.
ISO: File Type Major Brand: ISO/IEC 14496-1 (MPEG-4 system) v2
QuickTime/MOV file format detected.
--------------
MOV track #0: 5747 chunks, 35918 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (94)!
Image size: 480 x 352 (24 bpp)
Display size: 480 x 352
Fourcc: mp4v Codec: ''
--------------
MOV track #1: 5744 chunks, 30922 samples
Audio bits: 16 chans: 2 rate: 22050
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
Fourcc: mp4a
--------------
MOV track #2: 1 chunks, 0 samples
Generic track - not completely understood! (id: 2)
--------------
MOV track #3: 1 chunks, 0 samples
Generic track - not completely understood! (id: 3)
--------------
MOV: longest streams: A: #1 (30922 samples) V: #0 (35918 samples)
VIDEO: [mp4v] 480x352 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12237->176400 (97.9 kbit)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1280x1024 with depth 24 and 32 bpp (":0.0" => local display)
xscreensaver_disable: xscreensaver wid=27262977.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
etc...
and XINE will play the video, but when it starts up it gives an error message saying
Quote:
The stream 'go-open-episode-01.mp4' use an unsupported codec:

Audio Codec: Advanced Audio Coding (MPEG-4 AAC)
(mp4a)

Start playback anyway?
when I say to start playback anyway it has no sound.

I do not know if this is a problem with the codec/format of the video or wether it is a bad rip but there are other people saying they have the same problems on this page.
http://www.quicktopic.com/31/H/9eQGaHq7AzExf

Please let me know if you have been able to play this video.
Thanks
Back to top
View user's profile Send private message
cuciferus
n00b
n00b


Joined: 05 Jul 2005
Posts: 17
Location: RO

PostPosted: Mon Jul 18, 2005 10:02 am    Post subject: Reply with quote

I have EXACTLY the same problem, all movies worked fine until go-open
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Tue Jul 19, 2005 4:55 am    Post subject: Reply with quote

And you have had no luck either in playing them ? :(
Back to top
View user's profile Send private message
cuciferus
n00b
n00b


Joined: 05 Jul 2005
Posts: 17
Location: RO

PostPosted: Tue Jul 19, 2005 5:13 am    Post subject: Reply with quote

nope...tried quicktime also then qt4linux then vlc i don't know anymore...same mp4a codec not suported kind of message, tried faad on them but it turns them into wav!!! wich also can not be played....ufff
Back to top
View user's profile Send private message
johntramp
Guru
Guru


Joined: 03 Feb 2004
Posts: 457
Location: New Zealand

PostPosted: Tue Jul 19, 2005 5:17 am    Post subject: Reply with quote

hmm... you would think that this being a series about open source they would use a suitable codec.
Back to top
View user's profile Send private message
cuciferus
n00b
n00b


Joined: 05 Jul 2005
Posts: 17
Location: RO

PostPosted: Tue Jul 19, 2005 2:13 pm    Post subject: Reply with quote

sombody gave me the answer wich is this one: USE=aac emerge mplayer
worked fine with me!
Back to top
View user's profile Send private message
SchrodingerPenguin
n00b
n00b


Joined: 08 Jul 2004
Posts: 35
Location: Mandalong, NSW, Australia

PostPosted: Fri Aug 05, 2005 3:01 am    Post subject: Reply with quote

I am having some problems with the Go Open videos as well. They seem to play, but there is no sound and all I get is a kind of static pattern.

I just tried cuciferus' advice,

Quote:

USE=acc emerge mplayer


and there was no acc option for mplayer. Is this normal?

Instead I tried
Code:

USE="divx4linux" emerge mplayer


I'll post whether this worked or not when I can test it out.
_________________
2B or !(2B)
Back to top
View user's profile Send private message
mrv
Tux's lil' helper
Tux's lil' helper


Joined: 29 Mar 2004
Posts: 114
Location: Oulu, Finland

PostPosted: Fri Aug 05, 2005 7:36 am    Post subject: Reply with quote

SchrodingerPenguin wrote:

and there was no acc option for mplayer. Is this normal?


It's not acc, but aac.

-mrv-
Back to top
View user's profile Send private message
rafael
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 267

PostPosted: Fri Aug 05, 2005 11:29 am    Post subject: Reply with quote

Doesn't really matter. As far as I can see, none of them exist as a use flag for mplayer.

Edit: Although, looking at gentoo-portage.com, it seems that there is an 'aac' use flag for mplayer since 1.0_pre6-r6, which is currently masked.
Back to top
View user's profile Send private message
Vortex375
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1739
Location: Deutschland

PostPosted: Fri Aug 05, 2005 12:24 pm    Post subject: Reply with quote

cuciferus wrote:
nope...tried quicktime also then qt4linux then vlc i don't know anymore...same mp4a codec not suported kind of message, tried faad on them but it turns them into wav!!! wich also can not be played....ufff


I cannot play the .wav files that faad gives me either. Try reencoding them with oggenc they work fine for me after I do that.

It looks like mplayer dislikes aac. When I try to play aac files in mplayer the left channel is muted and I only get sound on the right channel. :?
Back to top
View user's profile Send private message
SchrodingerPenguin
n00b
n00b


Joined: 08 Jul 2004
Posts: 35
Location: Mandalong, NSW, Australia

PostPosted: Sat Aug 06, 2005 7:43 am    Post subject: Reply with quote

I have now finnished downloading the Go Open files. When I tried playing with the command:

Code:

$ mplayer go-open-episode-03.mp4


I got the following output:

Code:

MPlayer 1.0pre6-3.3.2 (C) 2000-2004 MPlayer Team
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 3)
Detected cache-line size is 32 bytes
MMX supported but disabled
MMX2 supported but disabled
SSE supported but disabled
CPUflags:  MMX: 0 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions:


Warning unknown option cache_min at line 144
Warning unknown option cache_prefill at line 147

77 audio & 189 video codecs
Playing go-open-episode-03.mp4.
QuickTime/MOV file format detected.
--------------
MOV track #0: 36092 chunks, 36092 samples
MOV: Found MPEG4 movie Elementary Stream Descriptor atom (94)!
Image size: 480 x 352 (24 bpp)
Display size: 469 x 352
Fourcc: mp4v  Codec: ''
--------------
MOV track #1: 31081 chunks, 31081 samples
Audio bits: 16  chans: 2  rate: 22050
MOV: Found MPEG4 audio Elementary Stream Descriptor atom (39)!
Fourcc: mp4a
--------------
MOV: longest streams: A: #1 (31081 samples)  V: #0 (36092 samples)
VIDEO:  [mp4v]  480x352  24bpp  25.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 12237->176400 (97.9 kbit)
Selected audio codec: [faad] afm:faad (FAAD AAC (MPEG2/MPEG4 Audio) decoder)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little endian signed int
AF_pre: 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: [oss] 44100Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change
FAAD: Failed to decode frame: Unexpected channel configuration change


And the final line repeated indefinitely like a broken loop.

It does seem funny that a program about switching to open source software should be so hard to get to play!

By the way, my mplayer version is MPlayer 1.0pre6-3.3.2 if this helps anyone debug my problem.

I'm just going now to emerge the ~x86 version of mplayer, which for me at the moment is mplayer-1.0_pre7. Thanks to rafael I have just discovered that this version DOES have an aac USE option. I'll see if this fixes the problem, and post my results.
_________________
2B or !(2B)
Back to top
View user's profile Send private message
SchrodingerPenguin
n00b
n00b


Joined: 08 Jul 2004
Posts: 35
Location: Mandalong, NSW, Australia

PostPosted: Sat Aug 06, 2005 8:38 am    Post subject: Reply with quote

It worked!

I simply emerged mplayer-1.0_pre7 with the aac (and divx4linux and theora) USE flags, and now mplayer can play the Go Open episodes.

Thank you all for your help, yet again it is proven that these Gentoo Forums are the repository of all known information in the cosmos!
_________________
2B or !(2B)
Back to top
View user's profile Send private message
kastorff
Apprentice
Apprentice


Joined: 19 May 2004
Posts: 183
Location: Atlanta, GA USA

PostPosted: Sat Aug 06, 2005 9:03 am    Post subject: Reply with quote

I can play the Go Open videos with Mplayer, but the audio and video are out of sync and get worse further into the video. Anyone have any suggestions for fixing this?
_________________
Keith Kastorff
Back to top
View user's profile Send private message
rafael
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 267

PostPosted: Sat Aug 06, 2005 3:32 pm    Post subject: Reply with quote

kastorff wrote:
I can play the Go Open videos with Mplayer, but the audio and video are out of sync and get worse further into the video. Anyone have any suggestions for fixing this?
You might want to try the autosync argument with mplayer. Read the manual for more information.

SchrodingerPenguin: Thanks for reporting back, and it's good to see that it works with a newer version of mplayer.

- rafael
Back to top
View user's profile Send private message
SchrodingerPenguin
n00b
n00b


Joined: 08 Jul 2004
Posts: 35
Location: Mandalong, NSW, Australia

PostPosted: Fri Aug 12, 2005 6:44 am    Post subject: Reply with quote

kastorff wrote:
Quote:
I can play the Go Open videos with Mplayer, but the audio and video are out of sync and get worse further into the video. Anyone have any suggestions for fixing this?


Mplayer has the wonderful capability of being able to adjust the audio sync -- LIVE!

Check the man page, but I think it is the "+" and "-" keys which do the trick.

The great thing about this, of course, is that even a file in which the audio looses sync half way through can be successfully viewed.
_________________
2B or !(2B)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum