Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error "av_interleaved_write_frame(): Broken pipe" occurred and make transcoding app exit when do transcoding with DASH/HLS/RTMP #30

Closed
liweki opened this issue Apr 26, 2019 · 3 comments

Comments

@liweki
Copy link

liweki commented Apr 26, 2019

Describe the bug
While use such user case "1 xcode + 1 cdn docker + 1 4k streaming output + Dash/HLS/RTMP" to do transcoding, error "av_interleaved_write_frame(): Broken pipe" is printed after do transcoding about 40 frames, transcoding app FFMPEG exit.

Try several different combinations, the detail result as below table:

Input Transcode + Output Result
Local Xcode + Local Pass
Local Xcode + CDN DASH Streaming Fail
Host Streaming Xcode + CDN DASH Streaming Fail
Host Streaming Host + Host local Pass
Host Streaming Host + Host DASH Streaming Pass (libx264)
CDN Server Streaming Host + Host DASH Streaming Pass (libx264)
CDN Server Streaming Host + CDN DASH Streaming Fail (libx264)
CDN Server Streaming Xcode + Local Fail on other known issue
CDN Server Streaming Xcode + CDN DASH Streaming Fail (libx264 & svt-hevc)

To Reproduce
Steps to reproduce the behavior:

  1. Streaming input in one cdn server: ffmpeg -re -stream_loop -1 -i input_clip_name -c:v copy -c:a copy -f flv rtmp://nginx_ip_1:port_ID_1/stream/nature
  2. Run transcoding command in xcode server: ffmpeg -i rtmp://nginx_ip_1:port_ID_1/stream/nature -s 4096x2160 -c:a copy -c:v libsvt_hevc -f flv rtmp://nginx_ip_2:port_ID_2/dash/4kCamera
@TangZhiZhen
Copy link
Contributor

it looks like ffmpeg vaapi issue, will submit issue into ffmpeg.

@chuchenyan
Copy link

it looks like ffmpeg vaapi issue, will submit issue into ffmpeg.

@TangZhiZhen ,what's the status?

@xinglongx
Copy link

can't reproduce this issue in the lastest code.
commit id: 9512773
streaming server: ffmpeg -re -stream_loop -1 -i *.mp4 -c:v copy -c:a copy -f flv rtmp://streaming_IP/myapp/test
live transcode server: ffmpeg -i rtmp://streaming_IP/myapp/test -s 4096x2160 -c:a copy -c:v libsvt_hevc -f flv rtmp://cdn-service/dash/4k
transcode

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants