| View previous topic :: View next topic |
| Author |
Message |
kurppa Tux's lil' helper

Joined: 21 Mar 2003 Posts: 97
|
Posted: Wed Apr 06, 2005 5:39 pm Post subject: Re: Audio works now for 3gp media files using the amr_nb cod |
|
|
| kurppa wrote: |
Actually, Helix seems to play some 3gp-files fine with working sound, but some files it doesn't play at all and just reports:
The following components are required:
video/X-RN-MP4 |
Replying to my own message...
It seems that .3gp files can be encoded with at least two different video codecs, Mpeg4 and H.263. There is even an option on some phones between these two.
Helix plays H.263 .3gp files fine, but not the Mpeg4 ones. |
|
| Back to top |
|
 |
sirro Veteran


Joined: 20 Jul 2003 Posts: 1467 Location: aachen.nrw.de.eu
|
Posted: Sat Jun 18, 2005 11:08 am Post subject: Re: HOW-TO |
|
|
Thanks for that Howto, kurppa.
| kurppa wrote: | mkdir ./libavcodec/amr_float
cd ./libavcodec/amr_float
unzip /usr/portage/distfiles/26104-510.zip
unzip 26104-510_ANSI_C_source_code.zip
cd ../
AFTER these lines:
src_unpack() {
unpack${A} || die
cd ${S} |
Since the ffmpeg-ebuild has changed a bit, so that these lines did not work for me, I created a quick patch for the current ebuild. See Bug #71485 for details. |
|
| Back to top |
|
 |
G2k l33t


Joined: 06 Mar 2004 Posts: 672 Location: Rome, Italy
|
Posted: Thu Sep 01, 2005 3:34 am Post subject: |
|
|
awesome, thanks!
EDIT:
uhm i take that back...I wrote that before I tried using Helixplayer. I have no clue how to start the program I emerged it but don't know how to get my 3gp file to play...I'm at a bit of a loss...what do I have to do? _________________ Animula vagula blandula,
Hospes comesque corporis,
Quae nunc abibis in loca
Pallidula rigida nudula,
Nec ut soles dabis iocos...
- Imp. Caesar Hadrianus |
|
| Back to top |
|
 |
Thrain Guru


Joined: 01 Sep 2003 Posts: 380
|
Posted: Wed Sep 07, 2005 3:54 pm Post subject: |
|
|
Can you expose the procedure for playing 3gp files with mplayer in a better way? With ffplay I can see 3gp movies but with mplayer not!
I put the amr_float directory in libavcodec/ and then I've compiled mplayer, but it doesn't work!
Thank you in advance... _________________ Thrain
"...only astonishment knows..." |
|
| Back to top |
|
 |
Thrain Guru


Joined: 01 Sep 2003 Posts: 380
|
Posted: Wed Sep 07, 2005 8:07 pm Post subject: |
|
|
Ok now that I compiled the cvs tree I can see and hear 3gp files, but they are slooooow... did anyone report the problem? _________________ Thrain
"...only astonishment knows..." |
|
| Back to top |
|
 |
abovill n00b

Joined: 08 Sep 2005 Posts: 3
|
Posted: Thu Jan 05, 2006 4:16 am Post subject: New method |
|
|
the method described previously works to make the videos, to make them actually work though, all you have to do is tell ffmpeg to use AAC for audio (add "-acodec aac" to the ffmpeg command line) this works fine and full anime episodes are still <5Mb
--Andrew |
|
| Back to top |
|
 |
WladyX Guru


Joined: 25 Nov 2004 Posts: 503 Location: Romania
|
Posted: Thu Jan 05, 2006 6:09 pm Post subject: |
|
|
I don't use windows, except when i play or in vmware for dc++ or for creating 3gp, but nothing compares to videos encoded with nero, this was great for me and the quality is excelent, so i recomand you: this _________________ We are not alone. |
|
| Back to top |
|
 |
codadilupo Advocate

Joined: 05 Aug 2003 Posts: 3132
|
Posted: Thu Apr 06, 2006 9:14 am Post subject: |
|
|
I posted an ebuild here for media-video/ffmpeg-0.4.9_p20051216 to include amr codec in ffmpeg.
you should put it in your $PORTDIR_OVERLAY directory and make digest before emerging it.
Coda _________________ # emerge -C gelmini |
|
| Back to top |
|
 |
djm Arch/Herd Tester


Joined: 12 Apr 2004 Posts: 690 Location: Wadham College, Oxford
|
Posted: Thu Apr 06, 2006 10:28 am Post subject: |
|
|
0.4.9_p20060302 has an amr use flag, so the easiest thing would be to just use that.. _________________ the forums.gentoo.org poster formally known as metal leper |
|
| Back to top |
|
 |
RahulOP n00b

Joined: 19 May 2006 Posts: 1
|
Posted: Fri May 19, 2006 7:04 am Post subject: AVI to 3GP |
|
|
I've been trying to do the conversion for a while now and practically everything I've tried still gives an 8sec lag between audio and video(audio lags video)
This(or variants) is what I've been using
| Code: | ffmpeg -y -i input.avi -title "SRPV" -bitexact -vcodec xvid -s 320x240 -r 14.985 -b 216 -acodec aac -ac 2 -ar 24000 -ab 32 -f 3gp temp2.3gp
|
I even tried the Mencoder way found here
http://www.niemueller.de/wiki/index.php?ConvertVideoTo3GP
but this only made it worse since only the first 6 secs of audio and video got encoded and that too the video raced through in 1 second while the audio played for 6 seconds.
The closest i've come to getting it right is when i used Super where the audio lagged video by just about 1 second. I've been trying to get it through FFMPEG but no luck
Can somebody help me out here?
Thanks a lot |
|
| Back to top |
|
 |
janosh Tux's lil' helper

Joined: 28 Jul 2004 Posts: 80 Location: Oslo, Norway
|
Posted: Sun Sep 10, 2006 7:44 pm Post subject: |
|
|
RahulOP,
Have a look at this blog, it might help you... |
|
| Back to top |
|
 |
write2prasadk n00b


Joined: 27 Mar 2006 Posts: 29 Location: Kerala, India
|
Posted: Tue Oct 03, 2006 9:17 pm Post subject: |
|
|
For 3GP Mobile video convesion give a look @
This Blog _________________ Acer Aspire/C2D1.73/945GM/1.5GB/160GB/DVD-RW/Gentoo x86/TuxOnIce 2.6.25-r4/GCC 4.3.1/Fluxbox 1.0
Linux Registered User #404517 |
|
| Back to top |
|
 |
|