HAP encoding?

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

HAP encoding?

Jesper Taxbøl
Hi Guys,

I need to HAP Q encode my videos, to be able to use video in an realtime
video application.

From what I can read HAP is not supported in FFmpeg yet and the only client
I have found that can do it is relying on GUI which breaks my workflow.

http://vdmx.vidvox.net/tutorials/using-the-hap-video-codec

I would therefore ask if anyone is aware if there is an ffmpeg initiative
in that direction?

I dont feel confident to be able to do that myself, but I would like to
support it if I can.

Kind regards

Jesper
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Carl Eugen Hoyos
On Monday 29 June 2015 12:59:23 pm Jesper Taxbøl wrote:

> From what I can read HAP is not supported in FFmpeg

From what I can read HAP encoding is supported:
http://ffmpeg.org/general.html#Video-Codecs
(Search for "HAP")

Please test and report back!

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Jesper Taxbøl
It seems to be in git in a very recent commit. (7days ago)


I have downloaded the source and can see hap when i run

./configure --list-encoders
I also tried building it but I havent figured out how to specify that it
should use the hap codec to encode.

How would I trigger its use?

Kind regards

Jesper

2015-06-29 15:11 GMT+02:00 Carl Eugen Hoyos <[hidden email]>:

> On Monday 29 June 2015 12:59:23 pm Jesper Taxbøl wrote:
>
> > From what I can read HAP is not supported in FFmpeg
>
> From what I can read HAP encoding is supported:
> http://ffmpeg.org/general.html#Video-Codecs
> (Search for "HAP")
>
> Please test and report back!
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>



--
Jesper Taxbøl
+45 61627501
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Carl Eugen Hoyos
On Monday 29 June 2015 04:40:15 pm Jesper Taxbøl wrote:
> It seems to be in git in a very recent commit. (7days ago)

Nothing else is supported on this mailing list.

> I have downloaded the source and can see hap when i run
>
> ./configure --list-encoders

> I also tried building it but I havent figured out how to
> specify that it should use the hap codec to encode.
>
> How would I trigger its use?

You first have to install a library called "snappy" (I
have never heard of it, sorry), then run configure with
"--enable-libsnappy".
You should be able to use -vcodec hap then.

Please avoid top-posting here, Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Jesper Taxbøl
2015-06-29 23:50 GMT+02:00 Carl Eugen Hoyos <[hidden email]>:

> On Monday 29 June 2015 04:40:15 pm Jesper Taxbøl wrote:
> > It seems to be in git in a very recent commit. (7days ago)
>
> Nothing else is supported on this mailing list.
>
> > I have downloaded the source and can see hap when i run
> >
> > ./configure --list-encoders
>
> > I also tried building it but I havent figured out how to
> > specify that it should use the hap codec to encode.
> >
> > How would I trigger its use?
>
> You first have to install a library called "snappy" (I
> have never heard of it, sorry), then run configure with
> "--enable-libsnappy".
> You should be able to use -vcodec hap then.
>
> Please avoid top-posting here, Carl Eugen
>
_______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>

That did the trick!

I can now encode with

ffmpeg -i test.mp4 -vcodec hap -format hap_q out.mov

It seems to require a mov extension, but im happy :)

Thanx
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Carl Eugen Hoyos
On Tuesday 30 June 2015 02:21:41 pm Jesper Taxbøl wrote:
> ffmpeg -i test.mp4 -vcodec hap -format hap_q out.mov
>
> It seems to require a mov extension,

The only hap samples I found were mov files, do you
have other samples?

> but im happy :)

Thank you for testing!
Did you successfully feed FFmpeg's output files to
another tool?

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user
Reply | Threaded
Open this post in threaded view
|

Re: HAP encoding?

Jesper Taxbøl
2015-06-30 14:51 GMT+02:00 Carl Eugen Hoyos <[hidden email]>:

> On Tuesday 30 June 2015 02:21:41 pm Jesper Taxbøl wrote:
> > ffmpeg -i test.mp4 -vcodec hap -format hap_q out.mov
> >
> > It seems to require a mov extension,
>
> The only hap samples I found were mov files, do you
> have other samples?
>
> > but im happy :)
>
> Thank you for testing!
> Did you successfully feed FFmpeg's output files to
> another tool?
>
> Carl Eugen
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


No, I just had a h264 movie I tested with.

I guess they require mov extension.

I fed the result into Unity3D, via the AVPro Quicktime plugin, which should
be a QT player of some sort.

It looked allright.

I will do deeper testing in the near future.

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