[rtmpdump] Discrepancies Between Dumped Video And Source Video

Howard Chu hyc at highlandsun.com
Thu Jul 22 03:55:05 CEST 2010


Nickolaus Padgett wrote:
> On Wed, Jul 21, 2010 at 9:41 PM, Howard Chu<hyc at highlandsun.com>  wrote:
>>> I looked at the original source file and there are only two streams;
>>> one audio and one video.  What other reasons would explain the drastic
>>> difference in file size?  You can download the original source video
>>> from http://static.playonsports.com.s3.amazonaws.com/example_expected.mp4.
>>
>> You are quite mistaken. There are 6 streams in that file.
>>
>> ffprobe example_expected.mp4
>> FFprobe version SVN-r24034, Copyright (c) 2007-2010 the FFmpeg developers
>>   built on Jul  6 2010 11:27:54 with gcc 4.4.3
>>   configuration: --enable-librtmp --extra-libs='-lrtmp -lssl -lcrypto'
>> --enable-libx264 --enable-libfaac --enable-gpl --enable-nonfree
>> --enable-pthreads --enable-libxvid --enable-libmp3lame --disable-encoder=aac
>>   libavutil     50.20. 0 / 50.20. 0
>>   libavcodec    52.79. 1 / 52.79. 1
>>   libavformat   52.73. 0 / 52.73. 0
>>   libavdevice   52. 2. 0 / 52. 2. 0
>>   libavfilter    1.20. 1 /  1.20. 1
>>   libswscale     0.11. 0 /  0.11. 0
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d230a0] Could not find codec parameters (Data:
>> rtp  / 0x20707472, 67 kb/s)
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d230a0] Could not find codec parameters (Data:
>> rtp  / 0x20707472, 440 kb/s)
>> [mov,mp4,m4a,3gp,3g2,mj2 @ 0x1d230a0] Could not find codec parameters (Data:
>> mp4s / 0x7334706D, 0 kb/s)
>>     Last message repeated 1 times
>> Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'example_expected.mp4':
>>   Metadata:
>>     major_brand     : mp42
>>     minor_version   : 1
>>     compatible_brands: isommp41avc1
>>   Duration: 00:09:59.39, start: 0.000000, bitrate: 128 kb/s
>>     Stream #0.0(eng): Data: rtp  / 0x20707472, 67 kb/s
>>     Stream #0.1(eng): Data: rtp  / 0x20707472, 440 kb/s
>>     Stream #0.2(eng): Video: h264, yuv420p, 480x360 [PAR 1:1 DAR 4:3], 411
>> kb/s, 29.97 fps, 29.97 tbr, 2997 tbn, 59.94 tbc
>>     Stream #0.3(eng): Audio: aac, 44100 Hz, stereo, s16, 64 kb/s
>>     Stream #0.4(eng): Data: mp4s / 0x7334706D, 0 kb/s
>>     Stream #0.5(eng): Data: mp4s / 0x7334706D, 0 kb/s
>
> Can RTMPdump be configured or modified to record these additional streams?
>
rtmpdump records what the RTMP server sends. Nothing less, nothing more. I'll 
say it again, one last time: none of what you're asking about has anything to 
do with rtmpdump. Go talk to whoever provided your video data.


More information about the rtmpdump mailing list