ubuntu.com - launchpad.net - ubuntu help
|
|
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
Multimedia & Video Have multimedia question? ATI, Nvidia, Sound cards. Just ask here. |
|
Thread Tools | Display Modes |
May 4th, 2009 | #1 |
Gee! These Aren't Roasted!
Join Date: Oct 2007
Beans: 159
|
ffmpeg - remove an audio stream from mpg
I would like to remove an audio stream from some mpgs my camera generates.
ffmpg -1 shows the following: Input #0, mpeg, from 'hpim0212.mpg': Duration: 00:00:04.08, start: 0.122878, bitrate: 1916 kb/s Stream #0.0[0x87]: Audio: liba52, s16 Stream #0.1[0x1e0]: Video: mpeg1video, yuv420p, 320x240 [PAR 1:1 DAR 4:3], 104857 kb/s, 24.00 tb(r) Stream #0.2[0x1c0]: Audio: mp2, 44100 Hz, mono, s16, 96 kb/s Can anyone tell me how to remove that first audio stream using ffmpeg or something else? Thanks. |
May 4th, 2009 | #2 |
May the Ubuntu Be With You!
Join Date: Sep 2006
Location: Alaska
Beans: 1,561
|
Re: ffmpeg - remove an audio stream from mpg
Try this:
Code:
ffmpeg -i hpim0212.mpg -map 0:1 -map 0:2 -acodec copy -vcodec copy hpim0212b.mpg |
May 4th, 2009 | #3 |
Gee! These Aren't Roasted!
Join Date: Oct 2007
Beans: 159
|
Re: ffmpeg - remove an audio stream from mpg
Thanks.
|
Bookmarks |
Tags |
ffmpeg |
|
|