[FFmpeg-user] List of stream IDs

Nicholas Robbins nickrobbins at yahoo.com
Sat Jan 25 17:36:00 CET 2014


> On Saturday, January 25, 2014 11:13 AM, "meino.cramer at gmx.de" <meino.cramer at gmx.de> wrote:

> > Hi,
> 
> currently I am experimenting with the "conversion" of *.ts-files
> (transport Stream data) to video mpeg files.
> 
> For this I am using a command like this one:
> 
> ffmpeg -i input.ts -y -c copy -map 0:0 -map 0:1 output.mpeg
> 
> The map commands need parameters which I currently get from the error
> messages of ffmpeg if I intentionally specify the above command with
> wrong stream IDs -- say -- somethging like "-map 3:141".
> Since ffmpeg spit out A LOT of stuff -- beside the wanted information
> -- this is somehow tedious (NO critism intended!)!
> 
> Is any form of "analyze"- or "list info"-command or 
> something like 
> that, which ends successfully on valid stream data and gives me
> that information in a more readable (grep-able) way?
> 
> Thank you very much in advance for any help!
> Best regards,
> mcc


You might try ffprobe.

-Nicholas Robbins



More information about the ffmpeg-user mailing list