Avcodec Decoder Error More Than 5
Contents |
2006-03-26 Posts: 525 Website vlc problems. [solved] using stock archlinux ffmpeg and vlc packages (nothing rebuilt from aur or whatever), I'm getting problems outputing videos. flv videos work find but other videos give "[0x933310c] avcodec decoder error: more than 4 late frames dropping frame more than 5 seconds of late video -> dropping frame (computer too slow ?)"I
Omxplayer
have a nvidia 430GT card and a /proc/cpu says model name : Intel(R) Core(TM)2 CPU E7500
Vlc
@ 2.93GHz 3GB ram.so it should at least be able to handle videos.how can I tell what's wrong? Last edited by hussam (2012-04-20 16:58:15) Offline #2 2011-08-28 20:22:30 doorknob60 Member From: Oregon Registered: 2008-09-29 Posts: 402 Re: vlc problems. [solved] Make sure it's set to use VDPAU accelleration: https://wiki.archlinux.org/index.php/NV … 2FVAAPI.29 (though with that CPU it should be fine either way...oh well). I have a GT430 and when I play any videos they play perfectly smooth with almost no CPU usage sine it uses VDPAU, should be the same for you. Also, you could try using mplayer (or Smplayer if you want a GUI) with its VDPAU output, I find that Mplayer better supports VDPAU than VLC does.EDIT: Also make sure you have the libvdpau and vdpau-video packages installed, I'm not sure if they come as dependencies or not, better double check. Last edited by doorknob60 (2011-08-28 20:24:46) Offline #3 2011-08-28 20:56:03 hussam Member Registered: 2006-03-26 Posts: 525 Website Re: vlc problems. [solved] vdpau-video and libvdpau are installed.I have "Use GPU acceleration" turned on.BTW, this doesn't happen when I ffplay files. It only fails with vlc. Offline #4 2011-08-29 04:30:15 chr0nik Member From: Michigan, USA Registered: 2011-03-13 Posts: 31 Re: vlc problems. [solved] I lifted this from readthefuckingmanual.net after a quick google so you may have already tried it. If not, you can try increasing vlc's cache size for files as such:*go to Tools->Preferences *show settings All *double click Input / Codecs *double click Access Modules *select File and increase the cache size. *save and restart vlcAlso, what output do you get from vainfo? Offline #5 2011-08-29 12:45:27 hussam Member Registered: 2006-03-26 Posts: 525 Website Re: vlc problems. [solved] chr0nik wrote:I lifted this from readthefuckingmanual.net after a quick google so you may have already tried it. If not, you can try increasing vlc's cache size
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up VLC: “avcodec error: more than 5 seconds of late video” up vote 3 down vote favorite 1 I'm https://bbs.archlinux.org/viewtopic.php?id=125478 muxing mpeg4 video to avi container. The video stream is ~4fps, so I set AVCodecContext time_base to 1/4 (formatContext->streams[0]->codec->time_base...) , and then rescal each frame timestamp, because the original time-stamps are in milliseconds. The resulting value I assign to a packet pts and dts. When I play this avi with VLC, the video is not smooth, and I get the following message repeatedly: avcodec error: more than 5 seconds of late video http://stackoverflow.com/questions/13441814/vlc-avcodec-error-more-than-5-seconds-of-late-video -> dropping frame (computer too slow ?) Is there something wrong with the above pts/dts calculation? The following table demonstrates how the timestamps are rescaled (original->rescaled) stream: 0 1329471005111->1 stream: 0 1329471005348->2 stream: 0 1329471005588->3 stream: 0 1329471005828->4 stream: 0 1329471006068->5 stream: 0 1329471006308->6 stream: 0 1329471006551->7 stream: 0 1329471006788->8 stream: 0 1329471007028->9 stream: 0 1329471007268->10 stream: 0 1329471007508->11 stream: 0 1329471007748->12 stream: 0 1329471007988->13 stream: 0 1329471008228->14 stream: 0 1329471008468->15 ffmpeg vlc libavformat pts share|improve this question asked Nov 18 '12 at 16:04 Igor R. 8,71812046 shouldn't you rescale it to 0, 250, 500, 750, ...? –arash kordi Nov 19 '12 at 8:37 @arash kordi Why? Please note that the time-base is reciprocal to the framerate, i.e. 1/4. So I rescale like this: ` AVRational time_base_1kHz = { 1, 1000 }, stream_timebase = { 1, 4 }; pkt.pts = av_rescale_q(stream_pts, time_base_1kHz, stream_timebase);` Is that wrong? –Igor R. Nov 19 '12 at 9:42 @arash kordi Comments in avformat.h say: "For fixed-fps content, time base should be 1/framerate and timestamp increments should be 1." –Igor R. Nov 19 '12 at 10:00 yes you are right, but av_read_frame() guarantees that pts and dts are always set to the correct value, if you're just remuxing frames you can
Assigned to Milestone libvdpau-va-gl (Ubuntu) Edit New Undecided Unassigned Edit You need to log in to change this bug's status. Affecting: libvdpau-va-gl https://bugs.launchpad.net/bugs/1559023 (Ubuntu) Filed here by: Azis naufal When: 2016-03-18 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro https://ubuntuforums.org/showthread.php?t=1258435 Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance New Undecided Assigned to Nobody Me Comment on this change (optional) Email me about changes to this bug report more than Also affects project (?) Also affects distribution/package Nominate for series Bug Description Hi! I can't explains more reason for this bug, let the picture , and the vlc log say. And my computer performance is slow with it. oazisn@oazisn:~$ vlc VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42) [0000000000a71088] core libvlc: Running vlc with the default interface. avcodec decoder error Use 'cvlc' to use vlc without interface. libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 [00007f2a9c0009c8] vdpau_avcodec generic error: decoder profile not supported: 8 libva info: VA-API version 0.39.0 libva info: va_getDriverName() returns 0 libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so libva info: Found init function __vaDriverInit_0_39 libva info: va_openDriver() returns 0 [h264 @ 0x7f2ab0d27c60] mmco: unref short failure [h264 @ 0x7f2ab0dc7c00] mmco: unref short failure [h264 @ 0x7f2ab0d80320] mmco: unref short failure [h264 @ 0x7f2ab0d80320] mmco: unref short failure [h264 @ 0x7f2ab0d27c60] mmco: unref short failure [h264 @ 0x7f2ab0dc7c00] mmco: unref short failure [00007f2ab0cda138] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f2ab0cda138] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f2ab0cda138] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?) [00007f2ab0cda138] avcodec decoder error: more th
Get Kubuntu Get Xubuntu Get Lubuntu Get UbuntuStudio Get Mythbuntu Get Edubuntu Get Ubuntu-GNOME Get UbuntuKylin Ubuntu Code of Conduct Ubuntu Wiki Community Wiki Other Support Launchpad Answers Ubuntu IRC Support AskUbuntu Official Documentation User Documentation Social Media Facebook Twitter Useful Links Distrowatch Bugs: Ubuntu PPAs: Ubuntu Web Upd8: Ubuntu OMG! Ubuntu Ubuntu Insights Planet Ubuntu Activity Page Please read before SSO login Advanced Search Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Multimedia Software [ubuntu] VLC: Error messages Having an Issue With Posting ? Do you want to help us debug the posting issues ? < is the place to report it, thanks ! Page 1 of 2 12 Last Jump to page: Results 1 to 10 of 16 Thread: VLC: Error messages Thread Tools Show Printable Version Subscribe to this Thread… Display Linear Mode Switch to Hybrid Mode Switch to Threaded Mode September 5th, 2009 #1 abhilash82 View Profile View Forum Posts Private Message Gee! These Aren't Roasted! Join Date Jul 2007 Beans 155 DistroUbuntu 10.04 Lucid Lynx VLC: Error messages I get the following messages when I run VLC via terminal. Code: VLC media player 0.9.9a Grishenko [00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team [00000001] main libvlc debug: libvlc was configured with ./configure '--build=i486-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi