Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HOW-TO] converting videos to .3gp for phones/pda support
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kurppa
Tux's lil' helper
Tux's lil' helper


Joined: 21 Mar 2003
Posts: 97

PostPosted: Wed Apr 06, 2005 5:39 pm    Post subject: Re: Audio works now for 3gp media files using the amr_nb cod Reply with quote

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
View user's profile Send private message
sirro
Veteran
Veteran


Joined: 20 Jul 2003
Posts: 1467
Location: aachen.nrw.de.eu

PostPosted: Sat Jun 18, 2005 11:08 am    Post subject: Re: HOW-TO Reply with quote

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
View user's profile Send private message
G2k
l33t
l33t


Joined: 06 Mar 2004
Posts: 672
Location: Rome, Italy

PostPosted: Thu Sep 01, 2005 3:34 am    Post subject: Reply with quote

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
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Wed Sep 07, 2005 3:54 pm    Post subject: Reply with quote

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
View user's profile Send private message
Thrain
Guru
Guru


Joined: 01 Sep 2003
Posts: 380

PostPosted: Wed Sep 07, 2005 8:07 pm    Post subject: Reply with quote

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
View user's profile Send private message
abovill
n00b
n00b


Joined: 08 Sep 2005
Posts: 3

PostPosted: Thu Jan 05, 2006 4:16 am    Post subject: New method Reply with quote

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
View user's profile Send private message
WladyX
Guru
Guru


Joined: 25 Nov 2004
Posts: 503
Location: Romania

PostPosted: Thu Jan 05, 2006 6:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
codadilupo
Advocate
Advocate


Joined: 05 Aug 2003
Posts: 3132

PostPosted: Thu Apr 06, 2006 9:14 am    Post subject: Reply with quote

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
View user's profile Send private message
djm
Arch/Herd Tester
Arch/Herd Tester


Joined: 12 Apr 2004
Posts: 690
Location: Wadham College, Oxford

PostPosted: Thu Apr 06, 2006 10:28 am    Post subject: Reply with quote

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
View user's profile Send private message
RahulOP
n00b
n00b


Joined: 19 May 2006
Posts: 1

PostPosted: Fri May 19, 2006 7:04 am    Post subject: AVI to 3GP Reply with quote

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 :cry:

Can somebody help me out here?

Thanks a lot
Back to top
View user's profile Send private message
janosh
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2004
Posts: 80
Location: Oslo, Norway

PostPosted: Sun Sep 10, 2006 7:44 pm    Post subject: Reply with quote

RahulOP,
Have a look at this blog, it might help you...
Back to top
View user's profile Send private message
write2prasadk
n00b
n00b


Joined: 27 Mar 2006
Posts: 29
Location: Kerala, India

PostPosted: Tue Oct 03, 2006 9:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
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