Play FFV1

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

Play FFV1

Noeck
Hi,

I tried to play videos encoded in FFV1 (FFV1 and FLAC in an mkv
container). All players (ffplay, vlc, totem) show only some still images
about every 10 - 20 s but no smooth video. The videos are encoded using
ffmpeg.

Is my Intel Core i5-4570 CPU with 4 × 3.20GHz and a Haswell graphic
really too weak for this codec?
Or is there something I can do to play it smoothly?

Cheers,
Daniel
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Paul B Mahol
On 9/26/19, Noeck <[hidden email]> wrote:

> Hi,
>
> I tried to play videos encoded in FFV1 (FFV1 and FLAC in an mkv
> container). All players (ffplay, vlc, totem) show only some still images
> about every 10 - 20 s but no smooth video. The videos are encoded using
> ffmpeg.
>
> Is my Intel Core i5-4570 CPU with 4 × 3.20GHz and a Haswell graphic
> really too weak for this codec?
> Or is there something I can do to play it smoothly?

What video resolutions?

>
> Cheers,
> Daniel
> _______________________________________________
> ffmpeg-user mailing list
> [hidden email]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [hidden email] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Carl Eugen Hoyos-2
In reply to this post by Noeck
Am Do., 26. Sept. 2019 um 15:44 Uhr schrieb Noeck <[hidden email]>:

> I tried to play videos encoded in FFV1 (FFV1 and FLAC in an mkv
> container). All players (ffplay, vlc, totem) show only some still images
> about every 10 - 20 s but no smooth video. The videos are encoded using
> ffmpeg.
>
> Is my Intel Core i5-4570 CPU with 4 × 3.20GHz and a Haswell graphic
> really too weak for this codec?

Most likely, ffv1 was created with high compression in mind, not
necessarily with high playback speed. Note that j2k decoding is
typically similar demanding (although j2k allows faster low-quality
decoding).

GPU is not used.

> Or is there something I can do to play it smoothly?

There is a slices setting but I doubt it will help in your case.

Carl Eugen
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Noeck
In reply to this post by Paul B Mahol

> What video resolutions?

1920 x 1080 at 50 fps.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Noeck
In reply to this post by Carl Eugen Hoyos-2

Am 26.09.19 um 16:01 schrieb Carl Eugen Hoyos:
> Most likely, ffv1 was created with high compression in mind, …

I know. I still hoped I could watch it.

> There is a slices setting but I doubt it will help in your case.

I tested some slice settings and they are always at least the number of
cores (n_slices ≥ n_cores). It does not help here.

Thanks
Daniel
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Peter B.
Dear Daniel,

On 26/09/2019 16:07, Noeck wrote:
> Am 26.09.19 um 16:01 schrieb Carl Eugen Hoyos:
>> Most likely, ffv1 was created with high compression in mind, …
> I know. I still hoped I could watch it.

It greatly depends on CPU, data-throughput (disk/network) *and* player.

===========================
FullHD at 50fps in FFV1 requires quite some hardware.
I'm pretty sure that for this, Quadcore @ 3.2GHz is NOT enough.
===========================

May I ask how much bits-per-component (bpc) and which subsampling you're
material has?
I know that film archives play 4k FFV1 in realtime (@24fps) for >8bpc -
with sufficient hardware though.

  * FFplay is usually my reference if the hardware "may be able" at all.
  * VLC is not the fastest FFV1-player.
  * For Windows, MPV (https://mpv.io/) is way faster than VLC for FFV1


>> There is a slices setting but I doubt it will help in your case.
> I tested some slice settings and they are always at least the number of
> cores (n_slices ≥ n_cores). It does not help here.

May I ask how many slices you've used?
I usually suggest n_slices to be dividable by n_cores. Something between
16 and 24 slices is a good number for most resolutions.


Nevertheless:
I guess you will need more cores to play that content.


Nice greetings!
Peter B.
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://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: Play FFV1

Noeck
Dear Peter,

> May I ask how much bits-per-component (bpc) and which subsampling you're
> material has?

It is 8 bit and YUV 4:2:0

bitrate: 496564 kb/s
Video: ffv1 (FFV1 / 0x31564646), yuv420p, 1920x1080, SAR 1:1 DAR 16:9,
50 fps, 50 tbr, 1k tbn, 1k tbc (default)


> May I ask how many slices you've used?
> I usually suggest n_slices to be dividable by n_cores. Something between
> 16 and 24 slices is a good number for most resolutions.

I’ve seen that the file size increases with the number of slices. That’s
why I chose 6 slices. But I also tested with 16 and 24.

Thanks for your assessment. It will help me to decided in which cases
FFV1 is a viable solution for me.

Best,
Daniel
_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

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