1fps mpeg4 decoding issue

This forum is about all development around libVLC.
marranxo
Blank Cone
Blank Cone
Posts: 24
Joined: 03 Jun 2011 11:46

1fps mpeg4 decoding issue

Postby marranxo » 08 Jun 2011 14:04

Hi,

I'm encoding one video stream at 1fps with mpeg4 (libavcodec). When I try to decode that video the player just displays the first frame (vlc player) but windows media player displays it succesfully.

Encoding parameters are:
width = 640
height = 480
codec_id = CODEC_ID_MPEG4
codec_type = AVMEDIA_TYPE_VIDEO
pix_fmt = PIX_FMT_YUV420P
time_base = { 1, 1 }
me_method = ME_EPZS
gop_size = 250
b_frame_strategy = 1
qmin = 10
qmax = 51

Any idea?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: 1fps mpeg4 decoding issue

Postby Jean-Baptiste Kempf » 08 Jun 2011 14:57

VLC has issues playing low fps videos
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

marranxo
Blank Cone
Blank Cone
Posts: 24
Joined: 03 Jun 2011 11:46

Re: 1fps mpeg4 decoding issue

Postby marranxo » 08 Jun 2011 15:31

Thanks Kempf for your reply.

It has the same behaviour as timebase = {1,2}, {10,11}... but it seems to play/decode properly with timebase {1,3} and greater divisor values.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests