Hi, I am trying to dump test one minute duration of a live stream to a file: rtmpdump -r "rtmp://URL" --live --flv "c:\output_file.mp4" --stop 60 RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting Live Stream For duration: 60.000 sec INFO: Metadata: INFO: width 360.00 INFO: height 288.00 INFO: framerate 25.00 INFO: videocodecid 7.00 INFO: videodatarate 128.00 INFO: audiodatarate 96.00 1759.932 kB / 58.99 sec Download complete The file get created but I can not open, transcode or edit it using various tools: flvtool2, SUPER(which use FFMPEG), classic windows media player ... etc, just VLC could open it. no difference when I save the file as '.flv'. Any idea what is the problem? Thanks
Any help please? ________________________________ From: Soroush Hassani <soroush124@yahoo.com> To: rtmpdump@mplayerhq.hu Sent: Tue, October 5, 2010 6:12:59 AM Subject: [rtmpdump] corrupt dumped file Hi, I am trying to dump test one minute duration of a live stream to a file: rtmpdump -r "rtmp://URL" --live --flv "c:\output_file.mp4" --stop 60 RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting Live Stream For duration: 60.000 sec INFO: Metadata: INFO: width 360.00 INFO: height 288.00 INFO: framerate 25.00 INFO: videocodecid 7.00 INFO: videodatarate 128.00 INFO: audiodatarate 96.00 1759.932 kB / 58.99 sec Download complete The file get created but I can not open, transcode or edit it using various tools: flvtool2, SUPER(which use FFMPEG), classic windows media player ... etc, just VLC could open it. no difference when I save the file as '.flv'. Any idea what is the problem? Thanks
Please provide more info as to the URL etc. And do not top-post. On 10/6/10, Soroush Hassani <soroush124@yahoo.com> wrote:
Any help please?
________________________________ From: Soroush Hassani <soroush124@yahoo.com> To: rtmpdump@mplayerhq.hu Sent: Tue, October 5, 2010 6:12:59 AM Subject: [rtmpdump] corrupt dumped file
Hi, I am trying to dump test one minute duration of a live stream to a file: rtmpdump -r "rtmp://URL" --live --flv "c:\output_file.mp4" --stop 60
RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting Live Stream For duration: 60.000 sec INFO: Metadata: INFO: width 360.00 INFO: height 288.00 INFO: framerate 25.00 INFO: videocodecid 7.00 INFO: videodatarate 128.00 INFO: audiodatarate 96.00 1759.932 kB / 58.99 sec Download complete
The file get created but I can not open, transcode or edit it using various tools: flvtool2, SUPER(which use FFMPEG), classic windows media player ... etc, just VLC could open it. no difference when I save the file as '.flv'.
Any idea what is the problem?
Thanks
Thanks for your reply, here is the full command and its output: rtmpdump -r "rtmp://swarmcasteulivefs.fplive.net/swarmcasteulive-live/swrmcst_alarabiya" --live --flv "c:\outpu t_file.flv" --stop 60 RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting Live Stream For duration: 60.000 sec INFO: Metadata: INFO: width 720.00 INFO: height 576.00 INFO: framerate 25.00 INFO: videocodecid 7.00 INFO: videodatarate 250.00 INFO: audiodatarate 96.00 2707.101 kB / 57.54 sec Download complete here is the created file: http://simplewebcode.com/output_file.flv there is not difference if I end the filename with .flv or .mp4 ________________________________ From: "pnixte@gmail.com" <pnixte@gmail.com> To: rtmpdump discussion and development <rtmpdump@mplayerhq.hu> Sent: Thu, October 7, 2010 7:56:35 PM Subject: Re: [rtmpdump] corrupt dumped file Please provide more info as to the URL etc. And do not top-post. On 10/6/10, Soroush Hassani <soroush124@yahoo.com> wrote:
Any help please?
________________________________ From: Soroush Hassani <soroush124@yahoo.com> To: rtmpdump@mplayerhq.hu Sent: Tue, October 5, 2010 6:12:59 AM Subject: [rtmpdump] corrupt dumped file
Hi, I am trying to dump test one minute duration of a live stream to a file: rtmpdump -r "rtmp://URL" --live --flv "c:\output_file.mp4" --stop 60
RTMPDump v2.3 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting Live Stream For duration: 60.000 sec INFO: Metadata: INFO: width 360.00 INFO: height 288.00 INFO: framerate 25.00 INFO: videocodecid 7.00 INFO: videodatarate 128.00 INFO: audiodatarate 96.00 1759.932 kB / 58.99 sec Download complete
The file get created but I can not open, transcode or edit it using various tools: flvtool2, SUPER(which use FFMPEG), classic windows media player ... etc, just VLC could open it. no difference when I save the file as '.flv'.
Any idea what is the problem?
Thanks
_______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
On Thu, 7 Oct 2010 14:11:18 -0700 (PDT), Soroush Hassani wrote:
Thanks for your reply, here is the full command and its output: rtmpdump -r "rtmp://swarmcasteulivefs.fplive.net/swarmcasteulive-live/swrmcst_alarabiya" --live --flv "c:\output_file.flv" --stop 60 here is the created file: http://simplewebcode.com/output_file.flv there is not difference if I end the filename with .flv or .mp4
rtmpdump outputs a file which works in mplayer and ffplay for me. i can also play your url in mplayer and ffplay. i can also convert your file: ffmpeg -i http://simplewebcode.com/output_file.flv out.avi out.avi then plays fine for me. maybe your ffmpeg tools (super) are too old? try getting newer versions. versions tested: FFmpeg version SVN-r25094 FFplay version SVN-r25094 MPlayer SVN-r31372-4.2.5 MPlayer SVN-r32355-3.4.5 -compn
compn wrote:
On Thu, 7 Oct 2010 14:11:18 -0700 (PDT), Soroush Hassani wrote:
Thanks for your reply, here is the full command and its output: rtmpdump -r "rtmp://swarmcasteulivefs.fplive.net/swarmcasteulive-live/swrmcst_alarabiya" --live --flv "c:\output_file.flv" --stop 60 here is the created file: http://simplewebcode.com/output_file.flv there is not difference if I end the filename with .flv or .mp4
rtmpdump outputs a file which works in mplayer and ffplay for me. i can also play your url in mplayer and ffplay.
i can also convert your file: ffmpeg -i http://simplewebcode.com/output_file.flv out.avi out.avi then plays fine for me.
maybe your ffmpeg tools (super) are too old? try getting newer versions.
Played fine for me too, but with lots of complaints about invalid timestamps. Very likely the original source is spewing incorrect timestamps.
Players based on ffmpeg like VLC and others could play that file but not others like media player classic and even when I try to convert it to mp4 preserving the original codecs, because I need to analyze it using Elecard StreamEye, ffmpeg fails to do that, here is the command and its output: ffmpeg -i "c:\output_file.flv" -vcodec copy -acodec copy "c:\output_file.mp4" FFmpeg version SVN-r22716, Copyright (c) 2000-2010 the FFmpeg developers built on Mar 29 2010 06:05:44 with gcc 4.4.2 configuration: --enable-memalign-hack --cross-prefix=i686-mingw32- --cc=ccache -i686-mingw32-gcc --arch=i686 --target-os=mingw32 --enable-runtime-cpudetect --e nable-avisynth --enable-gpl --enable-version3 --enable-bzlib --enable-libgsm --e nable-libfaad --enable-pthreads --enable-libvorbis --enable-libtheora --enable-l ibspeex --enable-libmp3lame --enable-libopenjpeg --enable-libxvid --enable-libsc hroedinger --enable-libx264 --enable-libopencore_amrwb --enable-libopencore_amrn b libavutil 50.13. 0 / 50.13. 0 libavcodec 52.61. 0 / 52.61. 0 libavformat 52.58. 0 / 52.58. 0 libavdevice 52. 2. 0 / 52. 2. 0 libswscale 0.10. 0 / 0.10. 0 [flv @ 01a1d490]negative cts, previous timestamps might be wrong Last message repeated 67 times [flv @ 01a1d490]Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.25 (101/4) Input #0, flv, from 'c:\output_file.flv': Duration: 00:00:59.99, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 50 fps, 25.2 5 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 48000 Hz, mono, s16 Output #0, mp4, to 'c:\output_file.mp4': Metadata: encoder : Lavf52.58.0 Stream #0.0: Video: libx264, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 5 0 tbn, 25 tbc Stream #0.1: Audio: aac, 48000 Hz, mono Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [mp4 @ 01b08070]st:0 error, non monotone timestamps -2 >= -2 av_interleaved_write_frame(): Error number -1 occurred I am going to make video on demand files of our live stream which is recorded as one big file for each 24 hours on Flash media server and will need to repeat this chain much: record rtmp video using rtmpdump->mux as mp4 using ffmpeg ________________________________ From: Howard Chu <hyc@highlandsun.com> To: rtmpdump discussion and development <rtmpdump@mplayerhq.hu> Sent: Fri, October 8, 2010 3:12:09 AM Subject: Re: [rtmpdump] corrupt dumped file compn wrote:
On Thu, 7 Oct 2010 14:11:18 -0700 (PDT), Soroush Hassani wrote:
Thanks for your reply, here is the full command and its output: rtmpdump -r "rtmp://swarmcasteulivefs.fplive.net/swarmcasteulive-live/swrmcst_alarabiya" --live --flv "c:\output_file.flv" --stop 60 here is the created file: http://simplewebcode.com/output_file.flv there is not difference if I end the filename with .flv or .mp4
rtmpdump outputs a file which works in mplayer and ffplay for me. i can also play your url in mplayer and ffplay.
i can also convert your file: ffmpeg -i http://simplewebcode.com/output_file.flv out.avi out.avi then plays fine for me.
maybe your ffmpeg tools (super) are too old? try getting newer versions.
Played fine for me too, but with lots of complaints about invalid timestamps. Very likely the original source is spewing incorrect timestamps. _______________________________________________ rtmpdump mailing list rtmpdump@mplayerhq.hu https://lists.mplayerhq.hu/mailman/listinfo/rtmpdump
On 10/8/10, Soroush Hassani <soroush124@yahoo.com> wrote:
Thanks for your reply, here is the full command and its output: here is the created file: http://simplewebcode.com/output_file.flv there is not difference if I end the filename with .flv or .mp4
The above file may report some warnings but plays perfectly (start/pause/rewind/fastforward) on my mplayer (which uses FFMPEG) and can be transcoded into other formats by FFMPEG. $ ffmpeg -i output_file.flv -sameq output.avi FFmpeg version SVN-r25107-Sherpya, Copyright (c) 2000-2010 the FFmpeg developers built on Sep 12 2010 15:54:45 with gcc 4.2.5 20090330 (prerelease) [Sherpya] libavutil 50.26. 0 / 50.26. 0 libavcore 0. 9. 0 / 0. 9. 0 libavcodec 52.88. 0 / 52.88. 0 libavformat 52.78. 5 / 52.78. 5 libavdevice 52. 2. 2 / 52. 2. 2 libavfilter 1.38. 3 / 1.38. 3 libswscale 0.11. 0 / 0.11. 0 libpostproc 51. 2. 0 / 51. 2. 0 [flv @ 01a6d110] negative cts, previous timestamps might be wrong Last message repeated 67 times [flv @ 01a6d110] Estimating duration from bitrate, this may be inaccurate Seems stream 0 codec frame rate differs from container frame rate: 50.00 (50/1) -> 25.25 (101/4) Input #0, flv, from 'output_file.flv': Duration: 00:00:59.99, start: 0.000000, bitrate: N/A Stream #0.0: Video: h264, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 25.25 tbr, 1k tbn, 50 tbc Stream #0.1: Audio: aac, 48000 Hz, mono, s16 [buffer @ 01e4b300] w:720 h:576 pixfmt:yuv420p Output #0, avi, to 'output.avi': Metadata: ISFT : Lavf52.78.5 Stream #0.0: Video: mpeg4, yuv420p, 720x576 [PAR 16:15 DAR 4:3], q=2-31, 200 kb/s, 25.25 tbn, 25.25 tbc Stream #0.1: Audio: mp2, 48000 Hz, mono, s16, 64 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 Press [q] to stop encoding [flv @ 01a6d110] negative cts, previous timestamps might be wrong1kbits/s dup=0 drop=96 frame= 1499 fps= 14 q=0.0 Lsize= 21729kB time=60.00 bitrate=2966.7kbits/s dup=0 drop=108 video:21155kB audio:469kB global headers:0kB muxing overhead 0.483944% The resulting output.avi does not give out any warnings at all.
participants (4)
-
compn -
Howard Chu -
pnixte@gmail.com -
Soroush Hassani