Unable to play h264 file.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Unable to play h264 file.

1,713件の閲覧回数
AGNI
Contributor I

Hi,

I have a file1.264 file which I want to play and get displayed on my display. When I run the command (as mentioned in your blog)
gst-launch filesrc location=file1.264 blocksize=152064  ! 'video/x-raw-yuv,format=(fourcc)I420, width=640, height=480, framerate=(fraction)30/1' ! vpuenc codec=6 ! matroskamux ! mfw_v4lsink sync=false
I get the message stating " WARNING: errorneous pipeline: could not link matroskamux0 to mfw_gst_v4lsink_info_t0" and nothing gets displayed. On the other end if I run the command "gst-launch playbin2 uri=file:/file.264 " I get to see the same video being played and displayed on my display.

Can anyone help me out here?

Thanks,

0 件の賞賛
4 返答(返信)

857件の閲覧回数
AGNI
Contributor I

Hi Everyone,

Thanks a lot for all the valuable feedback/input. I was finally able to play the .h264 file using the below mentioned pipeline.

gst-launch -v filesrc location=/video/file1.264 ! 'video/x-h264' ! 'vpudec framerate=(fraction)30/1' ! videoscale !
'video/x-raw-yuv, width=800, height=480' ! mfw_v4lsink sync=false.

Thanks,

Shri

0 件の賞賛

857件の閲覧回数
LeonardoSandova
Specialist I

For scaling, use mfw_ipucsc, this way you use HW to do the task. Check this doc:https://community.freescale.com/docs/DOC-93448

0 件の賞賛

857件の閲覧回数
LeonardoSandova
Specialist I

Try dumping .dot files so you can see the pipeline (graph) being constructed by playbin2. Check this link https://community.freescale.com/docs/DOC-93451

857件の閲覧回数
smwsmart-e
Contributor II

Hi, have you got the right permissions? try the pipeline with sudo, I found that solved many problems between an element and sink!

Regards,

Stu