[olug] Video conversion question.

Dan Linder dan at linder.org
Wed Dec 1 17:29:40 UTC 2010


I think that's close, but when I run this command:

ffmpeg -i Schoolhouse_Rock_Disc1.m4v -vcodec copy -acodec aac -ab 128k
Schoolhouse_Rock_Disc-AAC.m4v

I get this output:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Schoolhouse_Rock_Disc1.m4v':
  Duration: 02:19:07.43, start: 0.-66733, bitrate: 2986 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 704x480, PAR 57:64 DAR 209:160,
29.97 tbr, 90k tbn, 180k tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16
    Stream #0.2(eng): Audio: ac3, 48000 Hz, stereo, s16
    Stream #0.3(und): Subtitle: text / 0x74786574
Unknown encoder 'aac'

Note the last line: Unknown encoder 'aac'

Am I missing something else?  I've installed libfaac0, faac, faad, and
libfaad0 but still get the Unknown encoder error.  I'm running Ubuntu 10.04.

Dan

On Wed, Dec 1, 2010 at 10:29, Phil Brutsche <phil at brutsche.us> wrote:

> Hypothetically ffmpeg can do everything you ask. I've not used it in
> exactly the way you want, but I've used it to transcode MP3s into AACs
> (aka M4A).
>
> Something like this might work:
>
> ffmpeg -i <input file> -vcodec copy -acodec aac -ab 128k <output file>
>
> On 12/1/2010 10:13 AM, Dan Linder wrote:
> > I've been working on converting my DVDs to Mpeg4 video files for quite a
> > while.  I recently bought a Roku box to play with, and installed the
> > community "MyMedia" app (channel) - this allows the Roku to access a
> server
> > via a Python-based web server and play media.  The Roku is picky, and
> only
> > likes H264 video, and the "AAC (faac)" audio (not AC3 or MP3), but I
> finally
> > got Handbrake to rip and save this combination.
> >
> > My question is this:
> > Is there a command line tool I can use to re-encode just the audio
> portion
> > into AAC?  I think some of my past encodings had multiple audiotracks
> > encoded, so it may be a matter of just re-ordering the audio or stripping
> > out the AC3/MP3 stream so the Roku box can see it.
>
> --
>
> Phil Brutsche
> phil at brutsche.us
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



-- 
***************** ************* *********** ******* ***** *** **
"Quis custodiet ipsos custodes?"
    (Who can watch the watchmen?)
    -- from the Satires of Juvenal
"I do not fear computers, I fear the lack of them."
    -- Isaac Asimov (Author)
** *** ***** ******* *********** ************* *****************



More information about the OLUG mailing list