Not work FFmpeg. But it works with rtmpdump. SWF Size?

For the developers that use FFmpeg in Windows software.
sinanksu
Posts: 1
Joined: Mon Mar 13, 2017 8:24 pm

Not work FFmpeg. But it works with rtmpdump. SWF Size?

Postby sinanksu » Mon Mar 13, 2017 8:26 pm

Unable to verify SWF.

When I used rtmpdump in the past, I could not verify the swf. Then I added the swf size to the query. And rtmpdump worked.

Now, there is no parameter needed to add swf size to ffmpeg.

How will I do.



Command Line:

Code: Select all

C:\f>ffmpeg -i "rtmpe://xx.xx.xx.xxx/xlive app=xlive swfUrl=http://xxxxxx.com/swf/VideoPlayer.swf swfAge=5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4 swfVfy=0 pageUrl=http://xxxxxxx.com/viewer\?game=107954793 conn=S:client conn=S:3.1.0.10 conn=S:en live=1 playpath=raw:478879" -c copy "2017blablabla.flv"


Output :

Code: Select all

ffmpeg version N-83882-g58f0bbc Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 6.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
  libavutil      55. 48.100 / 55. 48.100
  libavcodec     57. 83.100 / 57. 83.100
  libavformat    57. 66.104 / 57. 66.104
  libavdevice    57.  3.100 / 57.  3.100
  libavfilter     6. 76.100 /  6. 76.100
  libswscale      4.  3.101 /  4.  3.101
  libswresample   2.  4.100 /  2.  4.100
  libpostproc    54.  2.100 / 54.  2.100
[color=#FF0000]HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
rtmp server sent error[/color]
Metadata:
  width                 720.00
  height                400.00
Input #0, flv, from 'rtmpe://xx.xxx.xx.xxx/xlive app=xlive swfUrl=http://xxxxx.com/swf/VideoPlayer.swf swfAge=5aaaa32059cba732636c28519b2ce34a3568f1058a8bd02d6a932643554ccbb4 swfVfy=0 pageUrl=http://xxxxxx.com/viewer\?game=107954793 conn=S:client conn=S:3.1.0.10 conn=S:en live=1 playpath=raw:478879':
  Duration: N/A, start: 0.021000, bitrate: N/A
    Stream #0:0: Video: h264 (High), yuv420p(progressive), 720x400 [SAR 80:81 DAR 16:9], 25 fps, 47 tbr, 1k tbn, 50 tbc
    Stream #0:1: Audio: aac (LC), 48000 Hz, stereo, fltp
File '2017blablabla.flv' already exists. Overwrite ? [y/N] y
Output #0, flv, to '2017blablabla.flv':
  Metadata:
    encoder         : Lavf57.66.104
    Stream #0:0: Video: h264 (High) ([7][0][0][0] / 0x0007), yuv420p(progressive), 720x400 [SAR 80:81 DAR 16:9], q=2-31, 25 fps, 47 tbr, 1k tbn, 1k tbc
    Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (copy)
  Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
[color=#FF0000]RTMP_ReadPacket, failed to read RTMP packet body. len: 4597902[/color]
frame=  120 fps=0.0 q=-1.0 Lsize=     265kB time=00:00:01.98 bitrate=1095.8kbits/s speed=8.57x
video:229kB audio:32kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 1.654435%


Return to “Using FFmpeg In Windows Software”

Who is online

Users browsing this forum: No registered users and 1 guest