Guest User

Transcode to file works, but not transcode to stream

a guest
Feb 10th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. This command works:
  2. ./ffmpeg -i udp://239.192.16.18:52444 -max_error_rate 1.0 -f mpegts -c:v libx264 test.mpg
  3.  
  4. This one crashes
  5.  
  6. ./ffmpeg -i udp://239.192.16.18:52444 -max_error_rate 1.0 -f mpegts -c:v libx264 http://172.17.0.162:61234/feed1.ffm
  7.  
  8. [hevc @ 0xbae9de0] Could not find ref with POC 87
  9. [hevc @ 0xbae9de0] Could not find ref with POC 89
  10. av_interleaved_write_frame(): Broken pipe time=00:00:00.92 bitrate= 0.0kbits/s speed=1.58x
  11. Error writing trailer of http://172.17.0.162:61234/feed1.ffm: Broken pipeframe= 57 fps= 32 q=31.0 Lsize= 5kB time=00:00:01.56 bitrate= 27.8kbits/s speed=0.869x
  12. video:1kB audio:52kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
  13. [libx264 @ 0xbb3f4a0] frame I:2 Avg QP:19.74 size: 9437
  14. [libx264 @ 0xbb3f4a0] frame P:15 Avg QP:24.46 size: 8181
  15. [libx264 @ 0xbb3f4a0] frame B:40 Avg QP:25.17 size: 1442
  16. [libx264 @ 0xbb3f4a0] consecutive B-frames: 3.5% 7.0% 5.3% 84.2%
  17. [libx264 @ 0xbb3f4a0] mb I I16..4: 40.4% 57.2% 2.4%
  18. [libx264 @ 0xbb3f4a0] mb P I16..4: 10.5% 9.3% 0.3% P16..4: 33.7% 4.9% 1.7% 0.0% 0.0% skip:39.6%
  19. [libx264 @ 0xbb3f4a0] mb B I16..4: 0.2% 0.2% 0.0% B16..8: 20.4% 0.7% 0.1% direct: 0.2% skip:78.2% L0:47.0% L1:50.9% BI: 2.1%
  20. [libx264 @ 0xbb3f4a0] 8x8 transform intra:50.5% inter:96.6%
  21. [libx264 @ 0xbb3f4a0] coded y,uvDC,uvAC intra: 18.3% 26.9% 9.0% inter: 4.0% 5.0% 0.1%
  22. [libx264 @ 0xbb3f4a0] i16 v,h,dc,p: 23% 51% 9% 17%
  23. [libx264 @ 0xbb3f4a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 27% 30% 23% 2% 4% 4% 5% 3% 4%
  24. [libx264 @ 0xbb3f4a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 30% 13% 4% 9% 7% 8% 4% 4%
  25. [libx264 @ 0xbb3f4a0] i8c dc,h,v,p: 61% 22% 12% 5%
  26. [libx264 @ 0xbb3f4a0] Weighted P-Frames: Y:0.0% UV:0.0%
  27. [libx264 @ 0xbb3f4a0] ref P L0: 66.8% 11.9% 15.0% 6.3%
  28. [libx264 @ 0xbb3f4a0] ref B L0: 89.2% 8.9% 1.9%
  29. [libx264 @ 0xbb3f4a0] ref B L1: 95.7% 4.3%
  30. [libx264 @ 0xbb3f4a0] kb/s:1647.44
  31. Conversion failed!
  32.  
  33.  
  34.  
  35. Here is the ffserver.conf:
  36. <Feed feed1.ffm>
  37. File /home/core/tonyh/feed1.ffm
  38. FileMaxSize 1G
  39. ACL allow localhost
  40.  
  41. </Feed>
  42.  
  43.  
  44. ##################################################################
  45. # Now you can define each stream which will be generated from the
  46. # original audio and video stream. Each format has a filename (here
  47. # 'test1.mpg'). FFServer will send this stream when answering a
  48. # request containing this filename.
  49.  
  50.  
  51. <Stream live.x265>
  52. #format matroska
  53. Format mpegts
  54. #File "/home/habibt/projects/airlines/Southwest/sintel-1080-cfg02.mkv"
  55.  
  56. # coming from live feed 'feed1'
  57. Feed feed1.ffm
  58. #VideoCodec libx264
  59. VideoCodec h264_vaapi
  60. VideoFrameRate 30
  61. VideoBitRate 800
  62. VideoSize 720x480
  63. #AVOptionVideo crf 23
  64. #AVOptionVideo preset medium
  65. AVOptionVideo me_range 16
  66. AVOptionVideo qdiff 4
  67. AVOptionVideo qmin 10
  68. AVOptionVideo qmax 51
  69. AVOptionVideo flags +global_header
  70.  
  71. AudioCodec aac
  72. Strict -2
  73. AudioBitRate 128
  74. AudioChannels 2
  75. AudioSampleRate 44100
  76. AVOptionAudio flags +global_header
  77.  
  78. </Stream>
Add Comment
Please, Sign In to add comment