Guest User

Untitled

a guest
Aug 28th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.04 KB | None | 0 0
  1. Console 1:
  2. ffmpeg -i out.mp4 -f rtsp -rtsp_transport tcp rtsp://localhost:8888/live.sdp
  3.  
  4. Console 2:
  5. ffplay -rtsp_flags listen rtsp://localhost:8888/live.sdp?tcp
  6.  
  7. The output for both consoles are as follows:
  8.  
  9. Console 1:
  10.  
  11. ffmpeg version N-81391-g2a3720b Copyright (c) 2000-2016 the FFmpeg developers
  12. built with gcc 5.4.0 (GCC)
  13. configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --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-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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-decklink --enable-zlib
  14. libavutil 55. 29.100 / 55. 29.100
  15. libavcodec 57. 54.100 / 57. 54.100
  16. libavformat 57. 47.101 / 57. 47.101
  17. libavdevice 57. 0.102 / 57. 0.102
  18. libavfilter 6. 52.100 / 6. 52.100
  19. libswscale 4. 1.100 / 4. 1.100
  20. libswresample 2. 1.100 / 2. 1.100
  21. libpostproc 54. 0.100 / 54. 0.100
  22. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'out.mp4':
  23. Metadata:
  24. major_brand : isom
  25. minor_version : 512
  26. compatible_brands: isomiso2avc1mp41
  27. encoder : Lavf57.47.101
  28. Duration: 00:01:02.57, start: 0.000000, bitrate: 172 kb/s
  29. Stream #0:0(und): Video: h264 (High 4:2:2) (avc1 / 0x31637661), yuv422p, 320x240, 169 kb/s, 30 fps, 30 tbr, 10000k tbn, 60 tbc (default)
  30. Metadata:
  31. handler_name : VideoHandler
  32. [rtsp @ 00000000024c1700] Using AVStream.codec to pass codec parameters to muxers is deprecated, use AVStream.codecpar instead.
  33. Output #0, rtsp, to 'rtsp://localhost:8888/live.sdp':
  34. Metadata:
  35. major_brand : isom
  36. minor_version : 512
  37. compatible_brands: isomiso2avc1mp41
  38. encoder : Lavf57.47.101
  39. Stream #0:0(und): Video: mpeg4, yuv420p, 320x240, q=2-31, 200 kb/s, 30 fps, 90k tbn, 30 tbc (default)
  40. Metadata:
  41. handler_name : VideoHandler
  42. encoder : Lavc57.54.100 mpeg4
  43. Side data:
  44. cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
  45. Stream mapping:
  46. Stream #0:0 -> #0:0 (h264 (native) -> mpeg4 (native))
  47. Press [q] to stop, [?] for help
  48.  
  49. Console 2:
  50.  
  51. ffplay version N-81391-g2a3720b Copyright (c) 2003-2016 the FFmpeg developers
  52. built with gcc 5.4.0 (GCC)
  53. configuration: --disable-static --enable-shared --enable-gpl --enable-version3 --disable-w32threads --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --enable-bzlib --enable-libebur128 --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-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --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-decklink --enable-zlib
  54. libavutil 55. 29.100 / 55. 29.100
  55. libavcodec 57. 54.100 / 57. 54.100
  56. libavformat 57. 47.101 / 57. 47.101
  57. libavdevice 57. 0.102 / 57. 0.102
  58. libavfilter 6. 52.100 / 6. 52.100
  59. libswscale 4. 1.100 / 4. 1.100
  60. libswresample 2. 1.100 / 2. 1.100
  61. libpostproc 54. 0.100 / 54. 0.100
  62. [rtsp @ 00000000001ccde0] WARNING: Path /live.sdp differs from expected /live.sdp?tcp
  63. Last message repeated 1 times
  64. [rtsp @ 00000000001ccde0] Updating control URI to rtsp://localhost:8888/live.sdp
  65. [rtsp @ 00000000001ccde0] Could not find codec parameters for stream 0 (Video: mpeg4 (Simple Profile), none, 320x240 [SAR 1:1 DAR 4:3]): unspecified pixel format
  66. Consider increasing the value for the 'analyzeduration' and 'probesize' options
  67. Input #0, rtsp, from 'rtsp://localhost:8888/live.sdp?tcp':
  68. Metadata:
  69. title : No Name
  70. Duration: N/A, bitrate: N/A
  71. Stream #0:0: Video: mpeg4 (Simple Profile), none, 320x240 [SAR 1:1 DAR 4:3], 30 tbr, 90k tbn, 30 tbc
  72. nan M-V: nan fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
Add Comment
Please, Sign In to add comment