-
-
Save parshap/5de031eadbb98812bb17 to your computer and use it in GitHub Desktop.
ffmpeg mp3 strip other streams
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> ffmpeg -i test.mp3 -map 0:0 -codec copy -f mp3 pipe:1 | ffprobe -show_format pipe:0 | |
ffmpeg version N-55127-g11ace70 Copyright (c) 2000-2013 the FFmpeg developers | |
built on Aug 6 2013 17:19:55 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) | |
configuration: --enable-libmp3lame | |
libavutil 52. 40.100 / 52. 40.100 | |
libavcodec 55. 19.100 / 55. 19.100 | |
libavformat 55. 12.102 / 55. 12.102 | |
libavdevice 55. 3.100 / 55. 3.100 | |
libavfilter 3. 82.100 / 3. 82.100 | |
libswscale 2. 4.100 / 2. 4.100 | |
libswresample 0. 17.103 / 0. 17.103 | |
ffprobe version N-55127-g11ace70 Copyright (c) 2007-2013 the FFmpeg developers | |
built on Aug 6 2013 17:19:55 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5) | |
configuration: --enable-libmp3lame | |
libavutil 52. 40.100 / 52. 40.100 | |
libavcodec 55. 19.100 / 55. 19.100 | |
libavformat 55. 12.102 / 55. 12.102 | |
libavdevice 55. 3.100 / 55. 3.100 | |
libavfilter 3. 82.100 / 3. 82.100 | |
libswscale 2. 4.100 / 2. 4.100 | |
libswresample 0. 17.103 / 0. 17.103 | |
Input #0, mp3, from 'test.mp3': | |
Metadata: | |
artist : Nine Inch Nails | |
album : The Slip | |
encoded_by : LAME | |
title : 999,999 | |
composer : Trent Reznor | |
track : 1/10 | |
disc : 1/1 | |
date : 2008 | |
Duration: 00:01:25.13, start: 0.000000, bitrate: 294 kb/s | |
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 216 kb/s | |
Stream #0:1: Video: mjpeg, yuvj444p, 1200x1200 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc | |
Metadata: | |
title : | |
comment : Other | |
Stream #0:2: Video: mjpeg, yuvj444p, 1200x1200 [SAR 300:300 DAR 1:1], 90k tbr, 90k tbn, 90k tbc | |
Metadata: | |
title : | |
comment : Other | |
Output #0, mp3, to 'pipe:1': | |
Metadata: | |
TPE1 : Nine Inch Nails | |
TALB : The Slip | |
TENC : LAME | |
TIT2 : 999,999 | |
TCOM : Trent Reznor | |
TRCK : 1/10 | |
TPOS : 1/1 | |
TDRL : 2008 | |
TSSE : Lavf55.12.102 | |
Stream #0:0: Audio: mp3, 44100 Hz, stereo, 216 kb/s | |
Stream mapping: | |
Stream #0:0 -> #0:0 (copy) | |
Press [q] to stop, [?] for help | |
Input #0, mp3, from 'pipe:0': | |
Metadata: | |
artist : Nine Inch Nails | |
album : The Slip | |
encoded_by : LAME | |
title : 999,999 | |
composer : Trent Reznor | |
track : 1/10 | |
disc : 1/1 | |
date : 2008 | |
encoder : Lavf55.12.102 | |
Duration: N/A, start: 0.000000, bitrate: 169 kb/s | |
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 169 kb/s | |
[FORMAT] | |
filename=pipe:0 | |
nb_streams=1 | |
nb_programs=0 | |
format_name=mp3 | |
format_long_name=MP2/3 (MPEG audio layer 2/3) | |
start_time=0.000000 | |
duration=N/A | |
size=N/A | |
bit_rate=169911 | |
TAG:artist=Nine Inch Nails | |
TAG:album=The Slip | |
TAG:encoded_by=LAME | |
TAG:title=999,999 | |
TAG:composer=Trent Reznor | |
TAG:track=1/10 | |
TAG:disc=1/1 | |
TAG:date=2008 | |
TAG:encoder=Lavf55.12.102 | |
[/FORMAT] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment