Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Mohammed Bey Ahmed Khernache
>  Did you try another application that uses sdl?
Yes, I tried VLC, I also got problems.
I think about using Gstreamer, but I am looking for how to use it to do
decoding.

You are right. I agree with all your comments. But, I still don't know what
the source of these issues is.

Thank you

On Sun, Jun 17, 2018 at 11:17 PM Carl Eugen Hoyos 
wrote:

> 2018-06-17 22:40 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
> >> ffplay does not work
> >> with video via ssh which I don't consider very worrying.
> >
> > This time, I am connecting the board directly to the screen
> > via Micro-HDMI, and I got the same issue. That's why, I
> > am sure that problem didn't come from ssh connection.
>
> Did you try another application that uses sdl?
>
> >>  Anything wrong with using ffmpeg
> >
> > FFmpeg works fine, without any problem. But, it can not do anything to
> > reach the requested framerate (fps). For example, if a video is encoded
> at
> > 25 fps, FFmpag can decode it at 5 fps if we use for example only one
> core,
> > or at 60 fps if we use 8 cores. Therefore, FFmpeg decodes at the capacity
> > of the hardware. I consider this as a constraint, because I can not
> > calculate miss rate which is an important metric to evaluate a video
> > decoder.
>
> I may misunderstand but please believe me that ffplay is nearly
> unsuitable for performance tests, many people use ffmpeg -i
> input -f null - to measure libavcodec (and libavformat) performance.
> You can specify what number of threads libavcodec should use for
> decoding, both when using ffplay and ffmpeg.
>
> In your example, libavcodec is not (nearly) fast enough to decode
> the given video in real-time using one cpu core, from what you write
> it is possible using multiple cores. While decoding (h264) often
> scales badly, using more than one core is not unusual, especially
> to reach a given performance.
>
> Please remember not to top-post here, it is considered rude.
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Carl Eugen Hoyos
2018-06-17 22:40 GMT+02:00, Mohammed Bey Ahmed Khernache :
>> ffplay does not work
>> with video via ssh which I don't consider very worrying.
>
> This time, I am connecting the board directly to the screen
> via Micro-HDMI, and I got the same issue. That's why, I
> am sure that problem didn't come from ssh connection.

Did you try another application that uses sdl?

>>  Anything wrong with using ffmpeg
>
> FFmpeg works fine, without any problem. But, it can not do anything to
> reach the requested framerate (fps). For example, if a video is encoded at
> 25 fps, FFmpag can decode it at 5 fps if we use for example only one core,
> or at 60 fps if we use 8 cores. Therefore, FFmpeg decodes at the capacity
> of the hardware. I consider this as a constraint, because I can not
> calculate miss rate which is an important metric to evaluate a video
> decoder.

I may misunderstand but please believe me that ffplay is nearly
unsuitable for performance tests, many people use ffmpeg -i
input -f null - to measure libavcodec (and libavformat) performance.
You can specify what number of threads libavcodec should use for
decoding, both when using ffplay and ffmpeg.

In your example, libavcodec is not (nearly) fast enough to decode
the given video in real-time using one cpu core, from what you write
it is possible using multiple cores. While decoding (h264) often
scales badly, using more than one core is not unusual, especially
to reach a given performance.

Please remember not to top-post here, it is considered rude.

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Mohammed Bey Ahmed Khernache
Yes exactly.
> ffplay does not work
> with video via ssh which I don't consider very worrying.
This time, I am connecting the board directly to the screen via Micro-HDMI,
and I got the same issue. That's why, I am sure that problem didn't come
from ssh connection.
>  Anything wrong with using ffmpeg
FFmpeg works fine, without any problem. But, it can not do anything to
reach the requested framerate (fps). For example, if a video is encoded at
25 fps, FFmpag can decode it at 5 fps if we use for example only one core,
or at 60 fps if we use 8 cores. Therefore, FFmpeg decodes at the capacity
of the hardware. I consider this as a constraint, because I can not
calculate miss rate which is an important metric to evaluate a video
decoder.
>  You are doing performance tests, right?
Yes, exactly.

​Thank you.​


On Sun, Jun 17, 2018 at 10:26 PM Carl Eugen Hoyos 
wrote:

> 2018-06-17 21:16 GMT+02:00, Mohammed Bey Ahmed Khernache <
> mohbeyi...@gmail.com>:
>
> > I am trying to play (decode) a video with *ffplay*. Unfortunately,
> > I got this error, given below.
> > Can anyone guide me to fix this issue?
>
> You have told us in the last thread that ffplay does not work
> with video via ssh which I don't consider very worrying.
>
> Anything wrong with using ffmpeg (which to the best
> of my knowledge works fine via ssh) to do performance
> tests? You are doing performance tests, right?
>
> Carl Eugen
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] ffplay error

2018-06-17 Thread Carl Eugen Hoyos
2018-06-17 21:16 GMT+02:00, Mohammed Bey Ahmed Khernache :

> I am trying to play (decode) a video with *ffplay*. Unfortunately,
> I got this error, given below.
> Can anyone guide me to fix this issue?

You have told us in the last thread that ffplay does not work
with video via ssh which I don't consider very worrying.

Anything wrong with using ffmpeg (which to the best
of my knowledge works fine via ssh) to do performance
tests? You are doing performance tests, right?

Carl Eugen
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".