Internal data flow error

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

Internal data flow error

Shilpa Chandrappa
Hi,

I am not able to encode yuv files with resolution 720x486.

Command used:

gst-launch-0.10 filesrc location=stream.yuv blocksize= 524880 ! '
video/x-raw-yuv,format=(fourcc)I420, width=720, height=486, framerate=(fraction)15/1' ! vpuenc codec=6 bitrate=15728640 gopsize=1 framerate-nu=15 forc
e-framerate=true  ! ffmux_mp4 ! filesink location=sample.mp4 sync=false

Error observed: Internal data flow error

I didn't observe similar issue while encoding 720x480 yuv file.

What is the reason behind 720x486 yuv file encode failure ? Please provide your inputs.

Thanks,
Shilpa Chandrappa
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Tim Müller
On Mon, 2014-06-09 at 01:59 -0700, Shilpa Chandrappa wrote:

Hi,

> I am *not able to encode* yuv files with resolution 720x486.
>
> Command used:
>
> gst-launch-0.10 filesrc location=stream.yuv blocksize= 524880 ! '
> video/x-raw-yuv,format=(fourcc)I420, width=720, height=486,
> framerate=(fraction)15/1' ! vpuenc codec=6 bitrate=15728640 gopsize=1
> framerate-nu=15 forc
> e-framerate=true  ! ffmux_mp4 ! filesink location=sample.mp4 sync=false
>
> Error observed: Internal data flow error
>
> I didn't observe similar issue while encoding 720x480 yuv file.
>
> What is the reason behind 720x486 yuv file encode failure ? Please provide
> your inputs.

Maybe the vpuenc encoder only handles input resolutions where width and
height are multiples of 8 or 16? Did you check the source code?

 Cheers
  -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Chuck Crisler-2
486 is an unusual height request and could be the problem. Try 480 instead.


On Mon, Jun 9, 2014 at 7:50 AM, Tim Müller <[hidden email]> wrote:
On Mon, 2014-06-09 at 01:59 -0700, Shilpa Chandrappa wrote:

Hi,

> I am *not able to encode* yuv files with resolution 720x486.
>
> Command used:
>
> gst-launch-0.10 filesrc location=stream.yuv blocksize= 524880 ! '
> video/x-raw-yuv,format=(fourcc)I420, width=720, height=486,
> framerate=(fraction)15/1' ! vpuenc codec=6 bitrate=15728640 gopsize=1
> framerate-nu=15 forc
> e-framerate=true  ! ffmux_mp4 ! filesink location=sample.mp4 sync=false
>
> Error observed: Internal data flow error
>
> I didn't observe similar issue while encoding 720x480 yuv file.
>
> What is the reason behind 720x486 yuv file encode failure ? Please provide
> your inputs.

Maybe the vpuenc encoder only handles input resolutions where width and
height are multiples of 8 or 16? Did you check the source code?

 Cheers
  -Tim

--
Tim Müller, Centricular Ltd - http://www.centricular.com

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Internal data flow error

Shilpa Chandrappa
Yes. You were right. I tried the same with 720x488, this time it worked without any error. But When I played back the encoded file in the player it shows 720x480 instead of 720x488 in the properties section. Any inputs on this ?