View previous topic :: View next topic |
Author |
Message |
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Sun Mar 06, 2005 2:04 am Post subject: 3gp sound? |
|
|
well managed to make mplayer play .3gp videos, but the sound is still missing. Does anyone know what to do?
There must be a way to make sound work with it...
oh and please if anyone
a) knows how and
b) is willing to explain it to me, please
c) do it in a way that i (pretty noob) will understand.. thanks. _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Sun Mar 06, 2005 5:39 am Post subject: |
|
|
what codec is the sound encoded with? You need to get the codec. |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Sun Mar 06, 2005 10:38 pm Post subject: |
|
|
ARM is the name of the thing.. or AMR _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Mon Mar 07, 2005 7:15 am Post subject: |
|
|
Amr probably narrow band.
2 possitibilities :
- install ffmpeg + etsi reference code to decode amr
- use avidemux2 cvs |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Mon Mar 07, 2005 9:24 pm Post subject: |
|
|
k ffmpeg comes with mplayer as standard i think... how do i insert the rest? _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Mar 08, 2005 7:45 am Post subject: |
|
|
you have to fetch & install the etsi reference amr decoder in amr_float directory of ffmpeg
do a ./configure --enable-amr it will tell you what to do
(or use avidemux cvs, it is included) |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 10:05 am Post subject: |
|
|
so that means i need ffmpeg from source not from ebuild, right? _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Mar 08, 2005 10:29 am Post subject: |
|
|
yes
(or use avidemux2 cvs ebuild....) |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 11:26 am Post subject: |
|
|
I C, okay i fetched ffmpeg CVS, fetched the 2 needed .zips for AMR, doing make after that make install and see what happenes
uhm i do not need to uninstall ffmpeg ebuild prior to this, do i? _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 11:31 am Post subject: |
|
|
damn "make" says it has no rule to make target 'amr_float/sp_dec.c' , which is (quite obviously) needed.. so make stops
edit: got this one..., trying second time on an "older" version of ffmpeg (CVS-snapshot couple of days old), because the CVS-version i tried hat an unlinked reference or so to the faac codec (which i don't want to install after all ^^) seems okay, only some unreferenced pointer-types and minor warnings (the kind one get's most times when compiling stuff ><) looks ok till now _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 11:46 am Post subject: |
|
|
okay ffmpeg installed correctly, but mplayer says the same as everytime:
Code: | Cannot find codec for audio format 0x726D6173.
Read DOCS/HTML/en/codecs.html!
==========================================================================
vo: X11 running at 2048x768 with depth 24 and 32 bpp (":0.0" => local display)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh263] vfm:ffmpeg (FFmpeg H263+ decoder)
==========================================================================
Audio: no sound
|
Do i need to insert something in the codecs.conf? I remember doing it to get the .3gp video to work (=> insert Quicktime video decoder) sorry i haunt you with this stuff, but i really dunno what i need to add _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
thebigslide l33t
Joined: 23 Dec 2004 Posts: 792 Location: under a car or on top of a keyboard
|
Posted: Tue Mar 08, 2005 6:04 pm Post subject: |
|
|
You're probably missing something. Either configure --help and pick off the option you need or have a look at what ebuild --configures with by looking at a config.log in the build dir. |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Mar 08, 2005 6:21 pm Post subject: |
|
|
you built a standalone ffmpeg that is amr aware
use ffmpeg, not mplayer |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 7:44 pm Post subject: |
|
|
*confused is*
well uhm mplayer makes use of ffmpeg to play videos... so if i built that ffmpeg with amr then it should work, shouldn't it?
@config i can't seem to find anything that relates to mplayer being built with amr _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
mean Guru
Joined: 25 Sep 2002 Posts: 313
|
Posted: Tue Mar 08, 2005 8:09 pm Post subject: |
|
|
No, mplayer uses just a part of ffmpeg (libavcodec)
A release version of mplayer contains the libavcodec it uses, so it does not change anything to mplayer if you update ffmpeg
as it is compiled in.
You can build mplayer cvs with ffmpeg cvs but you have to copy the libavcodec directory into mplayer cvs libavcodec dir.
(MplayerCVS libavcodec directory is empty ) |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 9:34 pm Post subject: |
|
|
What i do at the moment is the following:
I got myself the mplayer-source, inserted the amr directories into mplayer-src/libavcodec/dirname, then looked at the available ./configure options and modified them like this: Code: | ./configure --enable-mmx2 --enable-sse --enable-sse2 --enable-3dnow --enable-gl --enable-3dnowex --prefix=/usr/share/ |
built it 3 times thus far, but couldn't test because it's having some issues with Linux RTC, mightbe because i had --enable-mmx the previous try. If i can get it running that way, i will let you know. Mplayer includes amr by default if the dir is present, so it should work. _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
Morimando Guru
Joined: 14 Feb 2005 Posts: 339 Location: Germany
|
Posted: Tue Mar 08, 2005 9:35 pm Post subject: |
|
|
by the way:
Code: | 73 audio & 180 video codecs
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system startup scripts.
Playing Clip(8).3gp.
Win32 LoadLibrary failed to load: avisynth.dll, /usr//lib/win32/avisynth.dll, /usr/lib/win32/avisynth.dll, /usr/local/lib/win32/avisynth.dll
Seek failed |
thats the error it keeps giving me
...
...
well i tried many times but it still doesn't work.. maybe the snapshot ain't a good one? btw.: tried also with all --configure optins disabled except the prefix, still no success _________________ That young girl is one of the least benightedly unintelligent organic life forms it has been my profound lack of pleasure not to be able to avoid meeting.
-- Marvin |
|
Back to top |
|
|
|