Guest User

tcp out ffmprg > gstreamer

a guest
Dec 3rd, 2016
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. ------------------------------SENDER-----------------------------
  2.  
  3.  
  4. ffmpeg -video_size 1366x768 -framerate 25 -f x11grab -i :0.0 -vcodec libx264 -preset ultrafast -tune zerolatency -f h264 tcp://192.168.1.12:5000
  5. ffmpeg version 3.2 Copyright (c) 2000-2016 the FFmpeg developers
  6. built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
  7. configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab --enable-libwavpack --enable-nvenc
  8. libavutil 55. 34.100 / 55. 34.100
  9. libavcodec 57. 64.100 / 57. 64.100
  10. libavformat 57. 56.100 / 57. 56.100
  11. libavdevice 57. 1.100 / 57. 1.100
  12. libavfilter 6. 65.100 / 6. 65.100
  13. libavresample 3. 1. 0 / 3. 1. 0
  14. libswscale 4. 2.100 / 4. 2.100
  15. libswresample 2. 3.100 / 2. 3.100
  16. libpostproc 54. 1.100 / 54. 1.100
  17. [x11grab @ 0x2d4cc00] Stream #0: not enough frames to estimate rate; consider increasing probesize
  18. Input #0, x11grab, from ':0.0':
  19. Duration: N/A, start: 1480755058.478709, bitrate: N/A
  20. Stream #0:0: Video: rawvideo (BGR[0] / 0x524742), bgr0, 1366x768, 25 fps, 1000k tbr, 1000k tbn, 1000k tbc
  21. No pixel format specified, yuv444p for H.264 encoding chosen.
  22. Use -pix_fmt yuv420p for compatibility with outdated media players.
  23. [libx264 @ 0x2d572e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
  24. [libx264 @ 0x2d572e0] profile High 4:4:4 Predictive, level 3.2, 4:4:4 8-bit
  25. Output #0, h264, to 'tcp://192.168.1.12:5000':
  26. Metadata:
  27. encoder : Lavf57.56.100
  28. Stream #0:0: Video: h264 (libx264), yuv444p, 1366x768, q=-1--1, 25 fps, 25 tbn, 25 tbc
  29. Metadata:
  30. encoder : Lavc57.64.100 libx264
  31. Side data:
  32. cpb: bitrate max/min/avg: 0/0/0 buffer size: 0 vbv_delay: -1
  33. Stream mapping:
  34. Stream #0:0 -> #0:0 (rawvideo (native) -> h264 (libx264))
  35. Press [q] to stop, [?] for help
  36. [swscaler @ 0x2d634a0] Warning: data is not aligned! This can lead to a speedloss
  37. av_interleaved_write_frame(): Connection reset by peer00.08 bitrate=31906.4kbits/s speed=0.126x
  38. Last message repeated 15 times
  39. Error writing trailer of tcp://192.168.1.12:5000: Connection reset by peerframe= 21 fps= 18 q=24.0 Lsize= 751kB time=00:00:00.84 bitrate=7319.2kbits/s dup=18 drop=0 speed=0.722x
  40. video:751kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000000%
  41. [libx264 @ 0x2d572e0] frame I:1 Avg QP:20.00 size:319035
  42. [libx264 @ 0x2d572e0] frame P:20 Avg QP:15.75 size: 22474
  43. [libx264 @ 0x2d572e0] mb I I16..4: 100.0% 0.0% 0.0%
  44. [libx264 @ 0x2d572e0] mb P I16..4: 3.3% 0.0% 0.0% P16..4: 15.8% 0.0% 0.0% 0.0% 0.0% skip:80.9%
  45. [libx264 @ 0x2d572e0] coded y,u,v intra: 27.1% 26.4% 26.5% inter: 6.6% 5.2% 5.2%
  46. [libx264 @ 0x2d572e0] i16 v,h,dc,p: 68% 29% 2% 1%
  47. [libx264 @ 0x2d572e0] kb/s:7319.21
  48. Conversion failed!
  49.  
  50.  
  51. -----------------------------------RECIEVER--------------------------------------
  52.  
  53.  
  54. C:\Users\mashinga tech>gst-launch-1.0 tcpserversrc host=192.168.1.12 port=5000 ! decodebin ! autovideosink
  55. Setting pipeline to PAUSED ...
  56. Pipeline is PREROLLING ...
  57. Redistribute latency...
  58. Redistribute latency...
  59. ERROR: from element /GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: Internal data stream error.
  60. Additional debug info:
  61. gstbasesrc.c(2950): gst_base_src_loop (): /GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0:
  62. streaming stopped, reason not-negotiated (-4)
  63. ERROR: pipeline doesn't want to preroll.
  64. Setting pipeline to NULL ...
  65. Freeing pipeline ...
Add Comment
Please, Sign In to add comment