Perazim <[email protected]> added the comment:

Update: I was able to use ffmpeg to download a rtmp stream(native) and this
fixed the frame dropping problems as first described but introduced freezing or
dropping problems elsewhere. I received quite a few buffer under-run errors
while trying to save to a avi or mpg. 

What I want to do is first just save the flash stream to disk as a file that I
can play with a flash player. I want to do this to simplify what is going on to
isolate other non-related problems. When I use the -acodec copy and -vcodec copy
and output to a flv file it produces the following error:

[r...@travelmate ffmpeg]# ffmpeg -i
rtmp://flash.glc.us.com/VOD/Programmers/BillCloud/1/BillCloud_High_1.flv 
-acodec copy -vcodec copy /home/yossi/Downloads/BillCloud_High_1_Test_2.flv
FFmpeg version SVN-r25183, Copyright (c) 2000-2010 the FFmpeg developers
  built on Sep 25 2010 10:20:47 with gcc 4.4.4 20100630 (Red Hat 4.4.4-10)
  configuration: 
  libavutil     50.28. 0 / 50.28. 0
  libavcore      0. 9. 0 /  0. 9. 0
  libavcodec    52.90. 0 / 52.90. 0
  libavformat   52.78. 5 / 52.78. 5
  libavdevice   52. 2. 2 / 52. 2. 2
  libavfilter    1.40. 0 /  1.40. 0
  libswscale     0.11. 0 /  0.11. 0
[flv @ 0x97cd470] Estimating duration from bitrate, this may be inaccurate

Seems stream 0 codec frame rate differs from container frame rate: 1000.00
(1000/1) -> 30.00 (30/1)
Input #0, flv, from
'rtmp://flash.glc.us.com/VOD/Programmers/BillCloud/1/BillCloud_High_1.flv':
  Metadata:
    duration        : 1720
    width           : 610
    height          : 406
    videodatarate   : 750
    framerate       : 30
    videocodecid    : 4
    audiodatarate   : 96
    audiodelay      : 0
    audiocodecid    : 2
    canSeekToEnd    : true
  Duration: 00:28:40.40, start: 0.000000, bitrate: 866 kb/s
    Stream #0.0: Video: vp6f, yuv420p, 610x406, 768 kb/s, 30 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 44100 Hz, 2 channels, s16, 98 kb/s
Output #0, flv, to '/home/yossi/Downloads/BillCloud_High_1_Test_2.flv':
  Metadata:
    encoder         : Lavf52.78.5
    Stream #0.0: Video: [4][0][0][0] / 0x0004, yuv420p, 610x406, q=2-31, 768
kb/s, 1k tbn, 1k tbc
    Stream #0.1: Audio: [2][0][0][0] / 0x0002, 44100 Hz, 2 channels, 98 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Press [q] to stop encoding
[flv @ 0x97d2770] st:0 error, non monotone timestamps 287 >= 287
av_interleaved_write_frame(): Operation not permitted
[r...@travelmate ffmpeg]# 

Should should be able to duplicate this by running the above commands and
adjusting the output file location.

Thanks,

Perazim

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2245>
________________________________________________

Reply via email to