Results 1 to 4 of 4

Thread: Encoding Audioinput

  1. #1
    Join Date
    Jun 2012
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Encoding Audioinput

    Hey guys,

    I'm new to Qt and have some questions about my first serious program. I am using VS2008 with Qt 4.6.3.

    Until now i have modified the audioinput example and am able to save and play *.raw-Audiofiles. Everything works fine so far, but now i would like to encode incoming data from my mic and save it as e.g. *.mp3 in realtime. I do not want to take a previously saved *.raw-file and encode that one. I want to encode the input directly.
    For encoding files i would try to use ffmpeg, but how can i handle an inputstream? If possible i would like to work with ffmpeg.

    I have also seen the Qt5.0-doc, which explains the QMediaRecorder. Could that help me?

    Thanks in advance,
    regards
    nwz

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Encoding Audioinput


  3. #3
    Join Date
    Jun 2012
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Encoding Audioinput

    Hey,

    Thanks for that, i have also found that link. I would really like to try it, but i fail installing QtMobility.

    I explained my problem in a new thread, because i think its not related to encoding audio anymore:
    http://www.qtcentre.org/threads/4973...ht=#post223368

    Can you help me?

  4. #4
    Join Date
    Jun 2012
    Posts
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Encoding Audioinput

    Quote Originally Posted by sonulohani View Post
    I finally got it running. How can i add *.mp3 codecs to it? The only codecs i can chose is: audio/pcm

Similar Threads

  1. Qt audioinput example
    By joan666 in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 8th February 2011, 09:11
  2. Encoding/Decoding and SQL
    By alexandernst in forum Qt Programming
    Replies: 0
    Last Post: 1st February 2011, 11:16
  3. encoding problem
    By lexqqq in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2010, 23:41
  4. QTextCodec bad encoding?
    By ComaWhite in forum Newbie
    Replies: 0
    Last Post: 18th September 2009, 06:15
  5. Encoding a QString to No.?
    By vishal.chauhan in forum Qt Programming
    Replies: 6
    Last Post: 30th August 2007, 19:08

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.