Hi, I've got a video file, with these informations provided by FFmpeg: /usr/bin/ffmpeg -i original.mpg FFmpeg version SVN-r13582, Copyright (c) 2000-2008 Fabrice Bellard, et al. configuration: ... libavutil version: 49.7.0 libavcodec version: 51.58.0 libavformat version: 52.16.0 libavdevice version: 52.0.0 libavfilter version: 0.0.0 built on Jul 7 2008 21:21:16, gcc: 4.3.1 Input #0, mpeg, from 'original.mpg': Duration: 00:01:47.23, start: 2.099989, bitrate: 4219 kb/s Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 4000 kb/s, 29.97 tb(r) Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 192 kb/s when I've extracted the video stream from a video file with command: /usr/bin/ffmpeg -i original.mpg -an -vcodec copy -y video.original.mpg and retrieved the information again, I got this: /usr/bin/ffmpeg -i original.mpg ... Input #0, mpeg, from 'video.original.mpg': Duration: N/A, start: 0.524000, bitrate: N/A Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 4000 kb/s, 29.97 tb(r) Why FFmpeg can't get the duration of the video stream, or how can I get all these informations about the video using FFmpeg? Thanks, Adam Brunner
participants (1)
-
brunnera@jasmin.hu