av_interleaved_write_frame(): Broken pipe

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

av_interleaved_write_frame(): Broken pipe

tasos
Hello.
I'm having a problem which i don't know if it's a bug or misuse from my
side.
I have attached the ffmpeg command and ffprobe of the input.
The command was

> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1
> -i  udp://127.0.0.1:8888 -vcodec h264_nvenc -pix_fmt yuv420p -b:v
> 1000k -an -loglevel warning -f flv
>     rtmp://foobar:5130/live/foo/livestream
In case i use the following command it will work:

> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1
> -i  udp://127.0.0.1:8888 -vcodec h264_nvenc -pix_fmt yuv420p -b:v
> 1000k -an -loglevel warning foobar.mkv
Thanks in advanced!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

ffmpeg.txt (7K) Download Attachment
ffprobe.txt (18K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: av_interleaved_write_frame(): Broken pipe

tasos
Maybe i should send it to the devs list?


On 8/28/2017 7:13 PM, tasos wrote:

> Hello.
> I'm having a problem which i don't know if it's a bug or misuse from
> my side.
> I have attached the ffmpeg command and ffprobe of the input.
> The command was
>
>> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1
>> -i  udp://127.0.0.1:8888 -vcodec h264_nvenc -pix_fmt yuv420p -b:v
>> 1000k -an -loglevel warning -f flv
>>     rtmp://foobar:5130/live/foo/livestream
> In case i use the following command it will work:
>
>> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1
>> -i  udp://127.0.0.1:8888 -vcodec h264_nvenc -pix_fmt yuv420p -b:v
>> 1000k -an -loglevel warning foobar.mkv
> Thanks in advanced!

_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: av_interleaved_write_frame(): Broken pipe

James Girotti
On Wed, Aug 30, 2017 at 7:56 AM, tasos <[hidden email]> wrote:

> Maybe i should send it to the devs list?


My understanding is that the devs list is for software development and not
user interaction/support. I appreciate that you need help, this is a
volunteer effort though and it can take some time to get an answer. It's
taking me some time to study what you're experiencing and try to setup a
similar situation on my computer. Seems like I'll have to setup ffserver to
replicate the udp/rtmp part.

On 8/28/2017 7:13 PM, tasos wrote:

> Hello.
> I'm having a problem which i don't know if it's a bug or misuse from my
> side.
> I have attached the ffmpeg command and ffprobe of the input.
> The command was
>
> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1 -i udp://127.0.0.1:8888
>> -vcodec h264_nvenc -pix_fmt yuv420p -b:v 1000k -an -loglevel warning -f flv
>> rtmp://foobar:5130/live/foo/livestream
>>
>
Just a little bit of clean-up: you don't have to use "-hwaccel" because
you're not using a hw-decoder/full hw transcoding. Also "-deinterlace" is
deprecated (see ffmpeg -h long | grep 'deint'). I can see that your input
is yuv422p, which is not supported by h264_cuvid (that's too bad...) hence
why you're using sw-decoder.

I would recommend that you use a higher loglevel (like "debug" which also
== "48") to get more info on what's happening. Use "-t 5" or something
similar so the log output isn't too long.

In case i use the following command it will work:
>>
>> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1 -i udp://127.0.0.1:8888
>>> -vcodec h264_nvenc -pix_fmt yuv420p -b:v 1000k -an -loglevel warning
>>> foobar.mkv
>>>
>>
It's good to have something that works to use for troubleshooting. Did you
include the log output for this command that works? I'm surprised that the
above command works because the only difference is the output format. It
seems like it's something with RTMP then. I'm not very familiar with RTMP,
but can you try sending a local file (like the one you already transcoded)
to the RTMP server:

ffmpeg -loglevel debug -i foobar.mkv -c copy -f flv
rtmp://foobar:5130/live/foo/livestream


> Thanks in advanced!
>>
>
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: av_interleaved_write_frame(): Broken pipe

tasos
Hello.
I know that this command has issues but this is exactly what was
running when the problem occured(this is how someone else runs it
and h i have to find the problem :( ).
My thought was that a specific method has a problem that's why
i told you about the devs list.
I'm not in a hurry, i just want like to know if this is the right place
to ask this question :)

> It's good to have something that works to use for troubleshooting. Did you
> include the log output for this command that works?
I can have a log of this one and let you know!
Thanks again!

On 8/30/2017 8:26 PM, James Girotti wrote:

> On Wed, Aug 30, 2017 at 7:56 AM, tasos <[hidden email]> wrote:
>
>> Maybe i should send it to the devs list?
>
> My understanding is that the devs list is for software development and not
> user interaction/support. I appreciate that you need help, this is a
> volunteer effort though and it can take some time to get an answer. It's
> taking me some time to study what you're experiencing and try to setup a
> similar situation on my computer. Seems like I'll have to setup ffserver to
> replicate the udp/rtmp part.
>
> On 8/28/2017 7:13 PM, tasos wrote:
>
>> Hello.
>> I'm having a problem which i don't know if it's a bug or misuse from my
>> side.
>> I have attached the ffmpeg command and ffprobe of the input.
>> The command was
>>
>> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1 -i udp://127.0.0.1:8888
>>> -vcodec h264_nvenc -pix_fmt yuv420p -b:v 1000k -an -loglevel warning -f flv
>>> rtmp://foobar:5130/live/foo/livestream
>>>
> Just a little bit of clean-up: you don't have to use "-hwaccel" because
> you're not using a hw-decoder/full hw transcoding. Also "-deinterlace" is
> deprecated (see ffmpeg -h long | grep 'deint'). I can see that your input
> is yuv422p, which is not supported by h264_cuvid (that's too bad...) hence
> why you're using sw-decoder.
>
> I would recommend that you use a higher loglevel (like "debug" which also
> == "48") to get more info on what's happening. Use "-t 5" or something
> similar so the log output isn't too long.
>
> In case i use the following command it will work:
>>> ./ffmpeg -y -hwaccel cuvid -deinterlace -vsync 1 -i udp://127.0.0.1:8888
>>>> -vcodec h264_nvenc -pix_fmt yuv420p -b:v 1000k -an -loglevel warning
>>>> foobar.mkv
>>>>
> It's good to have something that works to use for troubleshooting. Did you
> include the log output for this command that works? I'm surprised that the
> above command works because the only difference is the output format. It
> seems like it's something with RTMP then. I'm not very familiar with RTMP,
> but can you try sending a local file (like the one you already transcoded)
> to the RTMP server:
>
> ffmpeg -loglevel debug -i foobar.mkv -c copy -f flv
> rtmp://foobar:5130/live/foo/livestream
>
>
>> Thanks in advanced!
>> _______________________________________________
>> ffmpeg-user mailing list
>> [hidden email]
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>> To unsubscribe, visit link above, or email
>> [hidden email] with subject "unsubscribe".
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".


_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".