Re: [FFmpeg-user] FFplay fails to play the initial few seconds of raw buffer

2018-05-23 Thread m.kamalasubha m.kamalasubha
On Wed, May 23, 2018 at 5:56 PM Carl Eugen Hoyos  wrote:

> 2018-05-22 14:10 GMT+02:00, m.kamalasubha m.kamalasubha
> :
>
> > *ffplay -video_size 640X360 -framerate 29.97 -pixel_format rgb24
> > -f rawvideo video.raw*
>
> > Complete, uncut console output missing.
>

* Output screen:*
 [rawvideo @ 0x7fc6340008c0] Estimating duration from bitrate, this may be
inaccurate
 Input #0, rawvideo, from 'video.raw':
 Duration: 00:00:30.03, start: 0.00, bitrate: 165722 kb/s
 Stream #0:0: Video: rawvideo (RGB[24] / 0x18424752), rgb24, 640x360,
165722 kb/s, 29.97 tbr, 29.97 tbn, 29.97 tbc
 4.76 M-V: -0.033 fd=   1 aq=0KB vq=15527KB sq=0B f=0/0


>
> > While playing a raw file, I could see that for initial 1 or 2 seconds,
> > frame stalls and for remaining seconds, it plays normally.
>
> > What happens if you quit ffplay after a few seconds and immediately
> > try to play the same file again?
>

   I tried. But, it doesn't help.
___
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 fails to play the initial few seconds of raw buffer

2018-05-23 Thread Carl Eugen Hoyos
2018-05-22 14:10 GMT+02:00, m.kamalasubha m.kamalasubha
:

> *ffplay -video_size 640X360 -framerate 29.97 -pixel_format rgb24
> -f rawvideo video.raw*

Complete, uncut console output missing.

> While playing a raw file, I could see that for initial 1 or 2 seconds,
> frame stalls and for remaining seconds, it plays normally.

What happens if you quit ffplay after a few seconds and immediately
try to play the same file again?

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 fails to play the initial few seconds of raw buffer

2018-05-23 Thread m.kamalasubha m.kamalasubha
Hello Guys,
May I know why it happens while fetching raw video buffer from the .m3u8
file?
___
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] FFplay fails to play the initial few seconds of raw buffer

2018-05-22 Thread m.kamalasubha m.kamalasubha
Hello all,
I am trying to generate a video raw buffer from the .m3u8 file.
I have used the following commands to generate the raw buffer as well as to
view the raw buffer,
To generate raw buffer,
*ffmpeg -ss 00:00:05 -i https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8
 -s 640X360 -t 00:00:30
-map 0:0 -vcodec rawvideo -pix_fmt rgb24 -f rawvideo -an video.raw*
To view the generated one,
*ffplay -video_size 640X360 -framerate 29.97 -pixel_format rgb24 -f
rawvideo video.raw*

While playing a raw file, I could see that for initial 1 or 2 seconds,
frame stalls and for remaining seconds, it plays normally.

Why does it happen?  How to resolve the issue?

Thanks,
Kamalasubha
___
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".