[FFmpeg-trac] #370(undetermined:open): Unable to decode packet capture into .AVI.
FFmpeg
trac at avcodec.org
Fri Jul 29 19:56:41 CEST 2011
#370: Unable to decode packet capture into .AVI.
------------------------+---------------------------
Reporter: gogasca | Owner: michael
Type: task | Status: open
Priority: normal | Component: undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced: 0
Analyzed: 0 |
------------------------+---------------------------
Comment (by gogasca):
Thanks for the help,
I downloaded latest git:
1001 wget http://codemonkey.org.uk/projects/git-snapshots/git/git-
latest.tar.gz
1002 tar xvf git-latest.tar.gz
1003 cd git-latest.tar.gz
1009 autoconf
1010 ./configure --with-curl=/usr/local
1011 make
1012 make install
Recompile videosnarf and ffmpeg and same results. I attached packet
captures for you to try maybe you can find the right combination.
Thanks!
[root at maradona video]# videosnarf -i bjn1IN.pcap -c
Starting videosnarf 0.63
[+]Starting to snarf the media packets
[+] Please wait while decoding pcap file...
added new stream. :10.35.194.14(50782) to 10.35.204.91(30088). codec is 61
[+]Stream saved to file H264-media-1.264
[+]Number of streams found are 1
[+]Snarfing Completed
[root at maradona video]# ll
total 2884
-rw-r--r-- 1 root root 155044 Jul 27 23:29 audioin.pcap
-rw-r--r-- 1 root root 672244 Jul 28 17:35 bjn1IN.pcap
-rw-r--r-- 1 root root 524203 Jul 28 17:38 bjn1OUT.pcap
-rw-r--r-- 1 root root 31975 Jul 27 23:53 ffmpeghelp
-rw-r--r-- 1 root root 215720 Jul 27 23:29 G722-media-1.wav
-rw-r--r-- 1 root root 624339 Jul 29 10:14 H264-media-1.264
-rw-r--r-- 1 root root 692936 Jul 27 23:36 test2INH264.pcap
[root at maradona video]# ffmpeg -i H264-media-1.264 bnj1IN.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 @ 0xa5885f0]missing picture in access unit
[h264 @ 0xa587420]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
[mpeg4 @ 0xa58b8f0]removing common factors from framerate
[mpeg4 @ 0xa58b8f0]timebase not supported by mpeg 4 standard
Output #0, avi, to 'bnj1IN.avi':
Stream #0.0: Video: mpeg4, yuv420p, 1280x720 [PAR 1:1 DAR 16:9],
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
[root at maradona video]# git --version
git version 1.7.6.GIT
--
Ticket URL: <http://avcodec.org/trac/ffmpeg/ticket/370#comment:3>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list