LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-09-2009, 08:36 AM   #1
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Rep: Reputation: 148Reputation: 148
convert mp3 to mov using ffmpeg


I could stream the following file at my darwin server it means i am able to stream .mov files with 8KHz sampling rate and 20kb/s bite rate.

Quote:
# ffmpeg -i streamingloadtool.mov
FFmpeg version SVN-r10524, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libxvid --enable-gpl --enable-libamr-nb --enable-libmp3lame --enable-libfaac --enable-libfaad
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Jun 2 2009 18:04:38, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'streamingloadtool.mov':
Duration: 00:01:15.6, start: 0.000000, bitrate: 20 kb/s
Stream #0.0(eng): Audio: libamr_nb, 8000 Hz, mono
Stream #0.1(eng): Data: rtp / 0x20707472


Quote:
ffmpeg -i kurai-onrum.mp3
FFmpeg version SVN-r10524, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libxvid --enable-gpl --enable-libamr-nb --enable-libmp3lame --enable-libfaac --enable-libfaad
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Jun 2 2009 18:04:38, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)
mdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 0
mdb:511, lastbuf:0 skipping granule 1
mdb:511, lastbuf:0 skipping granule 1
Input #0, mp3, from 'kurai-onrum.mp3':
Duration: 00:04:00.9, bitrate: 95 kb/s
Stream #0.0: Audio: mp3, 44100 Hz, stereo, 96 kb/s
The above .mp3 file converted are as follows
ffmpeg -i kurai-onrum.mp3 -ar 8000 -ab 12200 -ac 1 -acodec libamr_nb kuraiamr_nb.mov

Quote:
# ffmpeg -i kuraiamr_nb.mov
FFmpeg version SVN-r10524, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libxvid --enable-gpl --enable-libamr-nb --enable-libmp3lame --enable-libfaac --enable-libfaad
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Jun 2 2009 18:04:38, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'kuraiamr_nb.mov':
Duration: 00:04:00.7, start: 0.000000, bitrate: 12 kb/s
Stream #0.0(eng): Audio: libamr_nb, 8000 Hz, mono
The problem is i unable to stream this kuraiamr_nb.mov file at my streaming server. when i play this file in quicktime player its stating that this is a unsupported media type.

What's wrong at my conversion?
 
Old 09-10-2009, 02:40 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Original Poster
Rep: Reputation: 148Reputation: 148
Anybody have idea?
Quote:
Stream #0.1(eng): Data: rtp / 0x20707472
kind of this part missing at my converted file i think because of this i unable to stream the file that i have converted.

whats wrong at my conversion?
Quote:
ffmpeg -i kurai-onrum.mp3 -ar 8000 -ab 12200 -ac 1 -acodec libamr_nb kuraiamr_nb.mov
 
Old 09-10-2009, 05:42 AM   #3
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Original Poster
Rep: Reputation: 148Reputation: 148
The things that i have posted on here is reflected on this following site
http://www.tuxwire.com/2009/09/09/co...-using-ffmpeg/
how is this happening (I didn't post)

Still i am struggling with this audio conversion....
 
Old 09-11-2009, 07:22 AM   #4
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Original Poster
Rep: Reputation: 148Reputation: 148
Quote:
# ffmpeg -i kuraiamr_nb.mov
FFmpeg version SVN-r10524, Copyright (c) 2000-2007 Fabrice Bellard, et al.
configuration: --enable-libxvid --enable-gpl --enable-libamr-nb --enable-libmp3lame --enable-libfaac --enable-libfaad
libavutil version: 49.5.0
libavcodec version: 51.44.0
libavformat version: 51.13.3
built on Jun 2 2009 18:04:38, gcc: 3.4.6 20060404 (Red Hat 3.4.6-3)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'kuraiamr_nb.mov':
Duration: 00:04:00.7, start: 0.000000, bitrate: 12 kb/s
Stream #0.0(eng): Audio: libamr_nb, 8000 Hz, mono
Yess i got the point why i couldn't stream this file at my darwin server because after convert the file we need to hint this using mp4creator then only its become as streamable file.


But still i have problem with my scenario:-
i need a streamable audio or video file(darwin support format .3gp, .mp4 or .mov) with any of these g729, g726, g7211 or g723.1 codecs.

if anybody have idea please guide me to do this task.

http://www.linuxquestions.org/questi...codecs-753771/

Thanks.

Last edited by kirukan; 09-11-2009 at 07:27 AM.
 
Old 09-17-2009, 01:29 AM   #5
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,272

Original Poster
Rep: Reputation: 148Reputation: 148
I unable to find a opensource converter for these codecs (g729,g721,g723.1) because all these are licenses codecs. However if anybody have some streamable samples with these codecs please share with me.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 01:14 PM
ffmpeg to convert QuickTime mov-file into dv file arkadig Linux - Software 1 04-16-2008 10:31 AM
Convert mov files hraposo Debian 1 02-02-2007 03:17 AM
ffmpeg with -sameq form .mov produces huge files ziocicion Linux - Software 2 06-01-2006 11:07 AM
convert mov to mp3 or wav laurelglenn Linux - Software 2 06-22-2005 08:54 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration