[FFmpeg-user] Couple of newbie questions

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Nov 7 11:35:17 CET 2012


Gilles <codecomplete <at> free.fr> writes:

> 1. Can it give information about a file, so I don't 
> have to use MediaInfo to know eg. which codecs were 
> used for video and audio?

$ ffmpeg -i file

> 2. The input file used mpeg2video and AC-3, but the 
> following commands don't work:
> 
> ffmpeg -ss 0 -i input.mpg -t 60 -c:v libx264 -c:a copy output.x264.mpg
> => No video, no sound

Complete, uncut console output and an explanation for 
"No video, no sound" missing.

> ffmpeg -ss 0 -i input.mpg -t 60 -c:v copy -c:a copy output.mpg
> => No sound

Complete, uncut console output and an explanation for 
"No sound" missing.

Carl Eugen



More information about the ffmpeg-user mailing list