Skip to contentSkip to conversation

omapfbplay depends on libav

DISCUSSION maniacbug 4 participants 5 messages Jul 25, 2012 – Jul 26, 2012

lore
Share & tools
lore

maniacbug

author
#0 lore raw

But where does one find a recipe for libav?  I've looked  in Angstom and Yocto, but cannot seem to find it.

While I'm at it...  I'm looking for a way to play mpeg4 or h.264 from the command line.  omapfbplay seems like the best choice.  Does anyone have another recommendation?

Thanks,

m.b

author
#2 lore raw

Thanks for writing back.

 > http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-multimedia/libav

Oh yes, there is is.  Ok, this is surprising.  I THOUGHT that OE and Yocto shared the core layer, but clearly not.  recipes-multimedia is significantly different between the two.

Also, this libav recipe has the following horrible line :)  This leads me to believe no one is running omapfbplay on A9, like Pandaboard.

EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"

 > gstreamer?

Does gstreamer come with a simple tool in /usr/bin?  From the recipes I'm looking at, it seems gstreamer provides only libs.  On desktop linux, I'd use gst123, but that pulls in gtk+-2.0 which is more overhead than I want.

Using Yocto, gstreamer does install gst-launch, but I do not currently possess the knowledge to "build a gstreamer pipeline", AND gst-launch is "primarily a debugging tool, you should not build applications on top of it."

I'm looking for something which I can just exec and go, "<toolname> <mediafile>.m4v"

Thanks

m.b

----- Original Message -----
From: Denys Dmytriyenko <[email protected]>
To: maniacbug <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Tuesday, July 24, 2012 10:11 PM
Subject: Re: [meta-ti] omapfbplay depends on libav

Quoted 8 lines · maniacbug

But where does one find a recipe for libav? I've looked in Angstom and Yocto, but cannot seem to find it.

While I'm at it... I'm looking for a way to play mpeg4 or h.264 from the command line. omapfbplay seems like the best choice. Does anyone have another recommendation?

Signature · 1 line
Denys
#3 lore raw

Op 25 jul. 2012, om 21:16 heeft maniacbug het volgende geschreven:

Quoted 7 lines

Thanks for writing back.

Quoted 1 line

http://cgit.openembedded.org/meta-openembedded/tree/meta-oe/recipes-multimedia/libav

Oh yes, there is is. Ok, this is surprising. I THOUGHT that OE and Yocto shared the core layer, but clearly not.

They do, it's called openembedded-core. And I think you mean poky, not yocto.

Quoted 1 line

recipes-multimedia is significantly different between the two.

It's exactly the same. Do not confuse oe-core with meta-oe, however

Quoted 4 lines

Also, this libav recipe has the following horrible line :) This leads me to believe no one is running omapfbplay on A9, like Pandaboard.

EXTRA_FFCONF_armv7a = "--cpu=cortex-a8"

Ah, your intimate knowledge of libav reveals itself! Libav has no specific A9 optimizations, only NEON ones, so your insinuation is not based on actual facts.

Quoted 5 lines
Quoted 1 line

gstreamer?

Does gstreamer come with a simple tool in /usr/bin? From the recipes I'm looking at, it seems gstreamer provides only libs. On desktop linux, I'd use gst123, but that pulls in gtk+-2.0 which is more overhead than I want.

Using Yocto,

I think you mean poky, not yocto.

#4 lore raw
In reply to maniacbug
Quoted 3 lines · maniacbug

Using Yocto, gstreamer does install gst-launch, but I do not currently possess the knowledge to "build a gstreamer pipeline", AND gst-launch is "primarily a debugging tool, you should not build applications on top of it."

I'm looking for something which I can just exec and go, "<toolname> <mediafile>.m4v"

gst-launch playbin2 uri=file:///<mediafile>.m4v

or

ffplay <mediafile>.m4v

Enrico