| View previous topic :: View next topic |
| Author |
Message |
Muhammad Saad Battalion Havaldaar Major
Joined: 28 Jan 2007 Posts: 271 Location: Dera Ismail Khan, Pakistan
|
Posted: Sat Dec 08, 2007 9:44 pm Post subject: Looking for a 3GP player for Linux |
|
|
Assalam-o-Alaikum,
I am looking for a 3gp player for Linux. I have used MPlayer, XINE and VLC but all these media players have the same problem. They play the video but do not play the sound in 3gp files.
Is there another media player for Linux that can play 3GP files? |
|
| Back to top |
|
 |
x2oxen Major General

Joined: 22 Aug 2007 Posts: 1114 Location: Faisalabad
|
Posted: Sun Dec 09, 2007 11:08 pm Post subject: |
|
|
mplayer is doing fine job for me. you need to recheck your codecs. _________________ Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com |
|
| Back to top |
|
 |
Muhammad Saad Battalion Havaldaar Major
Joined: 28 Jan 2007 Posts: 271 Location: Dera Ismail Khan, Pakistan
|
Posted: Sun Dec 09, 2007 11:19 pm Post subject: |
|
|
I have installed the codecs available at MPlayer's official site. Still I am having trouble in 3GP files.
Which codecs are you using? |
|
| Back to top |
|
 |
Muhammad Saad Battalion Havaldaar Major
Joined: 28 Jan 2007 Posts: 271 Location: Dera Ismail Khan, Pakistan
|
Posted: Sun Dec 09, 2007 11:20 pm Post subject: |
|
|
| I forgot to state that i am using Fedora 5. |
|
| Back to top |
|
 |
nayyares Battalion Quarter Master Havaldaar
Joined: 13 Dec 2005 Posts: 236 Location: JNB, SA
|
Posted: Mon Dec 10, 2007 12:14 pm Post subject: |
|
|
Hi,
Fedora has 13 months official life cycle, during the time you get patches & updates, if you are not purposely using Fedora 5, then better migrate to Fedora 8, while even for fedora 5 you can get mplayer codec from non-official rpm repos.
add following rpm repo:
| Quote: | | http://livna-dl.reloumirrors.net/fedora/5/i386/ |
then
| Code: | | yum install mplayer mencoder |
Cheers _________________ Nayyar Ahmad
RHCE, CCNA, OCP DBA
nayyares aT fedoraproject DoT org
blogs: nayyares.blogspot.com |
|
| Back to top |
|
 |
Muhammad Saad Battalion Havaldaar Major
Joined: 28 Jan 2007 Posts: 271 Location: Dera Ismail Khan, Pakistan
|
Posted: Mon Dec 10, 2007 9:09 pm Post subject: |
|
|
I have done some searching myself and I think that I need to install ffmpeg too.
What do you suggest?
Note: I had installed MPlayer from source package. |
|
| Back to top |
|
 |
x2oxen Major General

Joined: 22 Aug 2007 Posts: 1114 Location: Faisalabad
|
Posted: Mon Dec 10, 2007 10:49 pm Post subject: |
|
|
ffmpeg is ok but you should install mplayer via yum as it will install all codecs for you itself.. just add livna and freshrpms repos in your yum database and just do the following.
| Code: | | yum install -y mplayer mplayer-gui mplayer-codecs |
and this do rest of the job for you. _________________ Muhammad Usman
+92-321-6640501
Chemonics International
http://usmanpk.com |
|
| Back to top |
|
 |
nayyares Battalion Quarter Master Havaldaar
Joined: 13 Dec 2005 Posts: 236 Location: JNB, SA
|
Posted: Tue Dec 11, 2007 12:15 am Post subject: |
|
|
Hi,
| Quote: | | Note: I had installed MPlayer from source package. |
if you used source package to install it, then you probably will find version conflicts with other mplayer packages during installing through yum, so either find exact matching codec package for mplayer version you have, either remove it and install all together with codec using yum.
PS: yum use rpm's db to get installed packages info. _________________ Nayyar Ahmad
RHCE, CCNA, OCP DBA
nayyares aT fedoraproject DoT org
blogs: nayyares.blogspot.com |
|
| Back to top |
|
 |
Muhammad Saad Battalion Havaldaar Major
Joined: 28 Jan 2007 Posts: 271 Location: Dera Ismail Khan, Pakistan
|
Posted: Tue Dec 11, 2007 7:30 pm Post subject: |
|
|
| It seems like I am only missing the AMR codec which is probably not provided by any of the open source players because it is non-free. |
|
| Back to top |
|
 |
nayyares Battalion Quarter Master Havaldaar
Joined: 13 Dec 2005 Posts: 236 Location: JNB, SA
|
Posted: Tue Dec 11, 2007 7:43 pm Post subject: Re: Looking for a 3GP player for Linux |
|
|
| Muhammad Saad wrote: | Assalam-o-Alaikum,
I am looking for a 3gp player for Linux. I have used MPlayer, XINE and VLC but all these media players have the same problem. They play the video but do not play the sound in 3gp files.
Is there another media player for Linux that can play 3GP files? |
you can only get sound with things like Mplayer and Xine while playing 3gp, if use the OSS sound system rather than alsa. _________________ Nayyar Ahmad
RHCE, CCNA, OCP DBA
nayyares aT fedoraproject DoT org
blogs: nayyares.blogspot.com |
|
| Back to top |
|
 |
lambda Major General
Joined: 27 May 2003 Posts: 3410 Location: Lahore
|
Posted: Wed Dec 12, 2007 5:00 pm Post subject: |
|
|
i just copied a video from my phone to try it out. using mplayer, i get: | Code: | Playing /home/me/20071019.3gp.
ISO: File Type Major Brand: 3GPP Profile 4
Quicktime/MOV file format detected.
[mov] Video stream found, -vid 0
[mov] Audio stream found, -aid 1
MOV: unknown sound atom version (17865344); may not work!
VIDEO: [s263] 176x144 24bpp 15.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm: ffmpeg (FFmpeg H.263+ decoder)
==========================================================================
==========================================================================
Forced audio codec: mad
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
Cannot find codec 'libamr_nb' in libavcodec...
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Starting playback...
| so, i get video, no audio. the key appears to be this libamr thing. so, searching around, i found out what i had to do: rebuild libavcodec with amr. i did this once several months ago, but lost my changes. here's what i did to build it again:
you need to get the source code for ffmpeg (on ubuntu, do apt-get source ffmpeg and then apt-get build-dep ffmpeg). if you read the comments at the beginning of libavcodec/amr.c, it'll tell you where you can download the amr code from. you can either use amr_nb or amr_nb-fixed (not both at the same time).
edit debian/rules and add | Code: | | confflags += --enable-amr_nb | (or amr_nb-fixed) to the appropriate location. run "fakeroot debian/rules binary" and it should build the deb files with amr support. install them using dpkg. if all goes well, it'll work. if not, well, roll up your sleeves and fix it.
of course, this will work only until the next time you upgrade the libraries, or your distribution, that is. then you have to redo the exercise. isn't linux fun?! _________________ Watch out for the Manners Taliban!
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"? |
|
| Back to top |
|
 |
|