[FFmpeg-user] Convert packet capture to Video

Gonzalo Gasca xomeboy at gmail.com
Thu Jul 28 09:13:04 CEST 2011


Hi team,
Im trying to convert a packet capture from an IP video codec
(Cisco/Tandberg) so I can reproduce and diagnose Video quality problems, Im
not able to play the file via ffmpeg.
It works with other Endpoints.
Call from Cisco CTS (1.7.4 interop) to BJN.
I convert the packet capture to H264 using videosnarf.
This is what i get:

[root at maradona video]# ffmpeg -i H264-media-1.264 -v 9 -loglevel 99
video1.avi
FFmpeg version 0.6.1, Copyright (c) 2000-2010 the FFmpeg developers
  built on Jul 27 2011 22:58:44 with gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
  configuration:
  libavutil     50.15. 1 / 50.15. 1
  libavcodec    52.72. 2 / 52.72. 2
  libavformat   52.64. 2 / 52.64. 2
  libavdevice   52. 2. 0 / 52. 2. 0
  libswscale     0.11. 0 /  0.11. 0
[h264 @ 0xa62f5f0]missing picture in access unit
[h264 @ 0xa62e420]Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 180000.00
(180000/1) -> 90000.00 (180000/2)
Input #0, h264, from 'H264-media-1.264':
  Duration: N/A, bitrate: N/A
    Stream #0.0: Video: h264, yuv420p, 1280x720 [PAR 1:1 DAR 16:9], 90k tbr,
1200k tbn, 180k tbc
File 'video1.avi' already exists. Overwrite ? [y/N] y
[mpeg4 @ 0xa6328f0]removing common factors from framerate
[mpeg4 @ 0xa6328f0]timebase not supported by mpeg 4 standard
Output #0, avi, to 'video1.avi':
    Stream #0.0, 0, 1/90000: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR
16:9], 1/90000, q=2-31, 200 kb/s, 90k tbn, 90k tbc
Stream mapping:
  Stream #0.0 -> #0.0
Error while opening encoder for output stream #0.0 - maybe incorrect
parameters such as bit_rate, rate, width or height

I tried -r 15,29 or 30 and generates a 16K file which is empty.
Thanks!


More information about the ffmpeg-user mailing list