[FFmpeg-user] ffmpeg -i and Bitrates/Duration : N/A

Thibault Leboucq thibault at capitalvision.fr
Wed Oct 19 14:26:20 CEST 2011


Hi,

I've got some trouble with HD video and ffmpeg.

For example with 2 vidéos, ffmpeg -I "name.mpg" return :



1-
Input #0, mpeg, from movie1.MPG':

  Duration: 00:01:56.9, start: 0.540233, bitrates: 74029 kb/s

    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 70000 kb/s, 25.00 tb(r)

    Stream #0.1[0x1c1]: Audio: mp2, 48000 Hz, stereo, 384 kb/s

 

Here, all is OK.

 

2-
Input #0, mpeg, from movie2.MPG':

  Duration: N/A, start: 0.540233, bitrates: N/A

    Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 70000 kb/s, 25.00 tb(r)

    Stream #0.1[0x1c0]: Audio: mp2, 48000 Hz, stereo, 384 kb/s

Here is the problem.
I need to get the duration for an automatic analysis system.
But for some videos I've got this error. It can't find Bitrates and Duration.


Have you got an idea to correct this?

 

Bien cordialement,

 

Thibault Leboucq

Responsable technique

CAPITAL VISION

Tél : 01 43 79 68 00 - Fax : 01 43 79 68 13

Mél : thibault at capitalvision.fr <mailto:thibault at capitalvision.fr> 

 



More information about the ffmpeg-user mailing list