[FFmpeg-trac] #370(FFmpeg:new): Unable to decode packet capture into .AVI.
FFmpeg
trac at avcodec.org
Fri Jul 29 01:03:26 CEST 2011
#370: Unable to decode packet capture into .AVI.
--------------------------+---------------------
Reporter: gogasca | Owner: michael
Type: task | Status: new
Priority: normal | Component: FFmpeg
Version: unspecified | Keywords:
Blocked By: | Blocking:
Reproduced: 0 | Analyzed: 0
--------------------------+---------------------
I have the following:
Cisco CTS 1.7.4 calling Blue Jeans (BJN) which is a cloud services Video
conference solution.
We have pixilation when calling them so we need to perform packet captures
and reproduce the video.
We capture the video in CTS itself.
CTS uses 1280x720p H264
In SDP.
Media Attribute (a): fmtp:97 profile-level-id=42001F;packetization-mode=0
;max-mbps=108000;max-fs=3600;max-br=4000
Once I have the packet capture, I started capturing when the call starts
till the call ends.
Using tcpdump
I used videosnarf to convert to H264.
And I get the following:
[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.
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/370>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list