[olug] Video conversion question.

Dan Linder dan at linder.org
Wed Dec 1 19:57:44 UTC 2010


Aahh, I think I answered my own question.  After some searching I found that
I needed the Medibuntu repository as documented in this URL:
    http://ubuntuforums.org/showthread.php?t=1117283

<http://ubuntuforums.org/showthread.php?t=1117283>Then I had to change the
encoder to use from "aac" to "libfaac" like this:
    ffmpeg -i Schoolhouse_Rock_Disc1.m4v -vcodec copy -acodec libfaac -ab
128k Schoolhouse_Rock_Disc-AAC.m4v

It's currently encoding it - here's what ffmpeg says about this new file:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Schoolhouse_Rock_Disc-AAC.m4v':
  Duration: 00:19:46.36, start: 0.000000, bitrate: 2905 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 704x480, 29.97 tbr, 90k tbn,
180k tbc
    Stream #0.1(eng): Audio: aac, 48000 Hz, stereo, s16

I'll re-encode and see what the file sounds like...that'll be a while. :-)

Dan

On Wed, Dec 1, 2010 at 11:29, Dan Linder <dan at linder.org> wrote:

> 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)
> ** *** ***** ******* *********** ************* *****************
>



-- 
***************** ************* *********** ******* ***** *** **
"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