problem playing some videos.

*nix specific usage questions
hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

problem playing some videos.

Postby hussam » 28 Sep 2011 13:29

system specs:
Nvidia geforce 430 GT card
3GB ram
32bit linux
cat /proc/cpuinfo
says:
model name : Intel(R) Core(TM)2 CPU E7500 @ 2.93GHz

uname -a
Linux LARS 3.0-ARCH #1 SMP PREEMPT Tue Aug 30 07:32:23 UTC 2011 i686 Intel(R) Core(TM)2 CPU E7500 @ 2.93GHz GenuineIntel GNU/Linux


vlc plays some files perfectly but it only plays the amount corresponding to the File "caching Value" then stops. I set the caching value to a high number. now it plays that amount (1 or 2 secs) then pauses and spits out this error
[0xafb087ec] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
The higher the caching value, the longer it plays (and delays the error).

I have ffmpeg from 0.7 branch
ffplay doesn't show this error neither does mplayer2. both play the files with no problem.
any suggestions for troubleshooting this?
vlc --list
VLC media player 1.1.11 The Luggage (revision exported)
caca Color ASCII art video output
yuv YUV video output
xcb_xv XVideo output (XCB)
xcb_x11 X11 video output (XCB)
fb GNU/Linux framebuffer video output
vout_sdl Simple DirectMedia Layer video output
xcb_window X11 video window (XCB)
xcb_window Embedded window video
vout_wrapper Transitional video display wrapper
xcb_glx GLX video output (XCB)
vmem Video memory output
snapshot Snapshot output
h264 H264 video demuxer
xa XA demuxer
mkv Matroska stream demuxer
mjpeg M-JPEG camera demuxer
demux_cdg CDG demuxer
ogg OGG demuxer
wav WAV demuxer
vobsub Vobsub subtitles parser
avi AVI demuxer
nsc Windows Media NSC metademux
nuv Nuv demuxer
rawaud Raw audio demuxer
dirac Dirac video demuxer
pva PVA demuxer
ps MPEG-PS demuxer
ps MPEG-PS demuxer
rawvid Raw video demuxer
tta TTA demuxer
ts MPEG Transport Stream demuxer
gme Game Music Emu
asf ASF v1.0 demuxer
voc VOC demuxer
demuxdump File dumper
ty TY Stream audio/video demux
real Real demuxer
mpc MusePack demuxer
au AU demuxer
subtitle Text subtitles parser
rawdv DV (Digital Video) demuxer
vc1 VC1 video demuxer
mpgv MPEG-I/II video demuxer
mp4 MP4 stream demuxer
aiff AIFF demuxer
mod MOD demuxer (libmodplug)
avformat FFmpeg demuxer
avformat FFmpeg muxer
nsv NullSoft demuxer
playlist Playlist
playlist ZPL playlist import
playlist WPL playlist import
playlist iTunes Music Library importer
playlist Dummy ifo demux
playlist Google Video Playlist importer
playlist QuickTime Media Link importer
playlist Kasenna MediaBase parser
playlist ASX playlist import
playlist New winamp 5.2 shoutcast import
playlist XSPF playlist import
playlist Podcast parser
playlist DVB playlist import
playlist B4S playlist import
playlist PLS playlist import
playlist RAM playlist import
playlist M3U playlist import
smf SMF demuxer
flacsys FLAC demuxer
es MPEG-I/II/4 / A52 / DTS / MLP audio
es MPEG-4 video
export export
export HTML playlist export
export XSPF playlist export
export M3U8 playlist export
export M3U playlist export
telepathy Telepathy "Now Playing" (MissionControl)
xscreensaver X Screensaver disabler
svg svg
dummy Dummy interface function
dummy libc memcpy
dummy Dummy font renderer function
dummy Stats video output function
dummy Dummy video output function
dummy Dummy audio output function
dummy Dummy encoder function
dummy Dump decoder function
dummy Dummy decoder function
dummy Dummy demux function
vod_rtsp RTSP VoD server
sqlite SQLite database module
stats Stats encoder function
stats Stats demux function
stats Stats decoder function
xdg_screensaver XDG screen saver inhibition
gnutls GnuTLS transport layer security
gnutls GnuTLS server
notify LibNotify Notification Plugin
osd_parser osd_parser
osd_parser XML OSD configuration importer
osd_parser OSD configuration importer
audioscrobbler Submission of played songs to last.fm
logger File logging
freetype Freetype2 font renderer
xml XML Parser (using libxml2)
inhibit Power Management Inhibitor
xtag Simple XML Parser
lua Interfaces implemented using lua scripts
lua Interfaces implemented using lua scripts
lua French TV
lua Freebox TV
lua Lua SD Module
lua Interfaces implemented using lua scripts
lua Fetch artwork using lua scripts
lua Lua Interface Module (shortcuts)
lua Lua Playlist Parser Interface
lua Read meta data using lua scripts
lua Fetch meta data using lua scripts
dtstospdif Audio filter for DTS->S/PDIF encapsulation
ugly_resampler Audio filter for ugly resampling
scaletempo Audio tempo scaler synched with rate
param_eq Parametric Equalizer
mpgatofixed32 MPEG audio decoder
converter_fixed Fixed point audio format conversions
converter_fixed Fixed point audio format conversions
a52tospdif Audio filter for A/52->S/PDIF encapsulation
spatializer Audio Spatializer
equalizer Equalizer with 10 bands
a52tofloat32 ATSC A/52 (AC-3) audio decoder
audiobargraph_a Audio part of the BarGraph function
chorus_flanger Sound Delay
simple_channel_mixer Audio filter for simple channel mixing
trivial_channel_mixer Audio filter for trivial channel mixing
mono Audio filter for stereo to mono conversion
headphone_channel_mixer Headphone virtual spatialization effect
normvol Volume normalizer
audio_format Audio filter for PCM format conversion
dolby_surround_decoder Simple decoder for Dolby Surround encoded streams
dtstofloat32 DTS Coherent Acoustics audio decoder
access_mmap Memory-mapped file input
dc1394 dc1394 input
dvdnav DVDnav Input
access_mtp MTP input
access_http HTTP input
v4l2 Video4Linux2 input
v4l2 Video4Linux2 Compressed A/V
access_imem Memory input
access_imem Memory input
access_avio FFmpeg access
access_attachment Attachment input
dvb DVB input with v4l2 support
zip Zip files filter
zip Zip access
access_mms Microsoft Media Server (MMS) input
access_tcp TCP input
access_smb SMB input
rtp Real-Time Protocol (RTP) input
access_alsa Alsa audio capture input
pvr IVTV MPEG Encoding cards input
access_oss OSS input
dvdread DVDRead Input (no menu support)
access_dv Digital Video (Firewire/ieee1394) input
access_fake Fake video input
xcb_screen Screen capture (with X11/XCB)
access_ftp FTP input
access_ftp FTP upload output
cdda Audio CD input
vcd VCD input
access_udp UDP input
access_bd Blu-Ray Disc Input
filesystem File input
filesystem Directory input
access_realrtsp Real RTSP
stream_filter_rar Uncompressed RAR
stream_filter_record Internal stream record
decomp Decompression
decomp Decompression
decomp Decompression
taglib taglib
taglib taglib
folder Folder meta data
lirc Infrared remote control interface
oldhttp HTTP remote control interface
oldrc Remote control interface
dbus D-Bus control interface
netsync Network synchronisation
signals POSIX signals handling interface
motion motion control interface
oldtelnet VLM remote control interface
globalhotkeys Global Hotkeys interface
hotkeys Hotkeys management interface
gestures Mouse gestures control interface
float32_mixer Float32 audio mixer
trivial_mixer Trivial audio mixer
spdif_mixer Dummy S/PDIF audio mixer
memcpymmxext MMX EXT memcpy
alsa ALSA audio output
aout_sdl Simple DirectMedia Layer audio output
aout_file File audio output
pulse Pulseaudio audio output
oss UNIX OSS audio output
packetizer_copy Copy packetizer
packetizer_mpeg4video MPEG4 video packetizer
packetizer_mpegvideo MPEG-I/II video packetizer
packetizer_flac Flac audio packetizer
packetizer_vc1 VC-1 packetizer
packetizer_h264 H.264 video packetizer
packetizer_mpeg4audio MPEG4 audio packetizer
packetizer_dirac Dirac packetizer
packetizer_mlp MLP/TrueHD parser
motionblur Motion blur filter
panoramix Panoramix: wall with overlap video filter
chain Video filtering using a chain of video filter modules
atmo AtmoLight Filter
crop Crop video filter
magnify Magnify/Zoom interactive video filter
yuvp YUVP converter
clone Clone video filter
grain Grain video filter
remoteosd Remote-OSD over VNC
adjust Image properties filter
audiobargraph_v Audio Bar Graph Video sub filter
audiobargraph_v Audio Bar Graph Video sub filter
marq Marquee display
rotate Rotate video filter
puzzle Puzzle interactive game video filter
wave Wave video filter
scale Video scaling filter
ripple Ripple video filter
wall Wall video filter
psychedelic Psychedelic video filter
gaussianblur Gaussian blur video filter
osdmenu On Screen Display menu
ball Ball video filter
mosaic Mosaic video sub filter
bluescreen Bluescreen video filter
deinterlace Deinterlacing video filter
deinterlace Deinterlacing video filter
canvas Canvas video filter
invert Invert video filter
logo Logo sub filter
logo Logo video filter
postproc Video post processing filter
erase Erase video filter
rv32 RV32 conversion filter
noise Noise video filter
dynamicoverlay Dynamic video overlay
sharpen Sharpen video filter
mirror Mirror video filter
video_filter_wrapper Video filter magnify wrapper
video_filter_wrapper Video filter panoramix wrapper
video_filter_wrapper Video filter wall wrapper
video_filter_wrapper Video filter clone wrapper
video_filter_wrapper Video filter logo wrapper
video_filter_wrapper Video filter puzzle wrapper
blendbench Blending benchmark filter
swscale Video scaling filter
transform Video transformation filter
colorthres Color threshold filter
gradient Gradient video filter
motiondetect Motion detect video filter
croppadd Video scaling filter
blend Video pictures blending
alphamask Alpha mask video filter
rss RSS and Atom feed display
scene Scene video filter
extract Extract RGB component video filter
i420_yuy2_sse2 SSE2 conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
i422_yuy2_sse2 SSE2 conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
i420_rgb_sse2 SSE2 I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions
svcdsub Philips OGT (SVCD subtitle) decoder
svcdsub Philips OGT (SVCD subtitle) packetizer
fluidsynth FluidSynth MIDI synthetizer
flac Flac audio decoder
flac Flac audio encoder
dvbsub DVB subtitles decoder
dvbsub DVB subtitles encoder
cdg CDG video decoder
png PNG video decoder
vorbis Vorbis audio decoder
vorbis Vorbis audio encoder
vorbis Vorbis audio packetizer
spudec DVD subtitles decoder
spudec DVD subtitles packetizer
a52 A/52 parser
a52 A/52 audio packetizer
cvdsub CVD subtitle decoder
cvdsub Chaoji VCD subtitle packetizer
lpcm Linear PCM audio decoder
lpcm Linear PCM audio packetizer
theora Theora video decoder
theora Theora video encoder
theora Theora video packetizer
t140 T.140 text encoder
faad AAC audio decoder (using libfaad2)
speex Speex audio decoder
speex Speex audio encoder
speex Speex audio packetizer
sdl_image SDL_image video decoder
telx Teletext subtitles decoder
mpeg_audio MPEG audio layer I/II/III decoder
mpeg_audio MPEG audio layer I/II/III packetizer
avcodec FFmpeg audio/video decoder
avcodec FFmpeg deinterlace video filter
avcodec FFmpeg audio/video encoder
libmpeg2 MPEG I/II video decoder (using libmpeg2)
rawvideo Pseudo raw video decoder
rawvideo Pseudo raw video packetizer
schroedinger Schroedinger video decoder
araw Raw/Log Audio decoder
araw Raw audio encoder
x264 H.264/MPEG4 AVC encoder (x264)
invmem Memory video decoder
dts DTS parser
dts DTS audio packetizer
fake Fake video decoder
cc Closed Captions decoder
zvbi VBI and Teletext decoder
aes3 AES3/SMPTE 302M audio decoder
aes3 AES3/SMPTE 302M audio packetizer
subsdec Text subtitles decoder
adpcm ADPCM audio decoder
subsusf USF subtitles decoder
libass Subtitle renderers using libass
stream_out_smem Stream output to memory buffer
stream_out_transcode Transcode stream output
stream_out_record Record stream output
stream_out_autodel Automatically add/delete input streams
stream_out_gather Gathering stream output
stream_out_es Elementary stream output
stream_out_description Description stream output
stream_out_raop Remote Audio Output Protocol stream output
stream_out_display Display stream output
stream_out_bridge Bridge stream output
stream_out_bridge Bridge stream output
stream_out_bridge Bridge stream output
stream_out_duplicate Duplicate stream output
stream_out_dummy Dummy stream output
stream_out_standard Standard stream output
stream_out_mosaic_bridge Mosaic bridge stream output
stream_out_rtp RTP stream output
i420_rgb_mmx MMX I420,IYUV,YV12 to RV15,RV16,RV24,RV32 conversions
i422_yuy2_mmx MMX conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
i420_yuy2_mmx MMX conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv
memcpymmx MMX memcpy
bonjour Bonjour services
bonjour Bonjour services
mediadirs My Videos
mediadirs My Videos
mediadirs My Pictures
mediadirs My Music
podcast Podcasts
podcast Podcasts
upnp_intel Universal Plug'n'Play
upnp_intel Universal Plug'n'Play
sap Network streams (SAP)
sap SDP Descriptions parser
sap Network streams (SAP)
xcb_apps Screen capture
xcb_apps Screen capture
udev Video capture (Video4Linux)
udev Video capture (Video4Linux)
udev Discs
udev Audio capture (ALSA)
mtp MTP devices
mtp MTP devices
ncurses Ncurses interface
qt4 Qt interface
qt4 Qt interface
qt4 Dialogs provider
skins2 Skinnable Interface
skins2 Skins loader demux
skins2 Skinnable Interface
access_output_file File stream output
access_output_udp UDP stream output
access_output_shout IceCAST output
access_output_http HTTP stream output
access_output_dummy Dummy stream output
mux_asf ASF muxer
mux_ogg Ogg/OGM muxer
mux_mp4 MP4/MOV muxer
mux_ts TS muxer (libdvbpsi)
mux_avi AVI muxer
mux_wav WAV muxer
mux_ps PS muxer
mux_dummy Dummy/Raw muxer
mux_mpjpeg Multipart JPEG muxer
i422_yuy2 Conversions from I422 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
i420_yuy2 Conversions from I420,IYUV,YV12 to YUY2,YUNV,YVYU,UYVY,UYNV,Y422,IUYV,cyuv,Y211
yuy2_i422 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I422
grey_yuv Conversions from GREY to I420,YUY2
yuy2_i420 Conversions from YUY2,YUNV,YVYU,UYVY,UYNV,Y422,cyuv to I420
i420_rgb I420,IYUV,YV12 to RGB2,RV15,RV16,RV24,RV32 conversions
i422_i420 Conversions from I422,J422 to I420,IYUV,J420,YV12,YUVA
visual Visualizer filter
main main program
vlc --version
VLC media player 1.1.11 The Luggage (revision exported)
VLC version 1.1.11 The Luggage (exported)
Compiled by hussam on localhost.localdomain (Sep 28 2011 13:22:31)
Compiler: gcc version 4.6.1 20110819 (prerelease) (GCC)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.

sorry for the gigantic spammy post.
Last edited by hussam on 20 Apr 2012 18:59, edited 1 time in total.

Rémi Denis-Courmont
Developer
Developer
Posts: 15128
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem playing some videos.

Postby Rémi Denis-Courmont » 28 Sep 2011 13:54

Did you try to toggle hardware acceleration for video decoding? Which video output method do you use?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 28 Sep 2011 14:34

hi. I get the same problem with 'accelerated video output' on or off.
I also get the same problem with 'use gpu acceleration' on or off.

video output is set to default.
I set it to "xvideo output (xcb)". I got the same problem
same problem with 'x11 video output (xcb)' and glx video output (xcb).
In all cases, a low cache size makes it not play any frame. a higher cache size makes it play a second or two before the problem starts.

Edit: Oh, same problem with 'color ascii art video output'. 300 ms cache makes it not play a single frame. 300000 ms cache makes it play two seconds.

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 30 Sep 2011 00:24

I did a build from git:
it's version in about window says 1.2.0-git
it still shows the same problem. Any ideas? :)

the video that shows the problem has the following data in Codec section of VLC 'media information' window.
Codec: MPEG-1/2 Video (mpgv)

I think it is the only media type (is type the correct word?) that exhibits this problem.

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 08 Oct 2011 11:01

Sorry for bumping the thread but is there no way someone could help with this issue? :(

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 20 Apr 2012 18:59

I finally fixed this.
I recompiled vlc with --disable-libmpeg2 and now it uses ffmpeg to play mpg files instead of libmpeg2 and the problem is gone!

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 23 Jul 2012 16:05

ok, the problem is back: vlc -vv says:
0xb1302278] main video output warning: picture is too late to be displayed (missing 5107 ms)
[0xb1302278] main video output warning: picture is too late to be displayed (missing 5067 ms)
[0x880b970] avcodec decoder error: more than 5 seconds of late video -> dropping frame (computer too slow ?)
[0xb1540f40] main audio output warning: computed PTS is out of range (7519768), clearing out
[0xb1540f40] main audio output warning: PTS is out of range (7519758), dropping buffer
[0xb1540f40] main audio output warning: computed PTS is out of range (7519814), clearing out
[0xb1540f40] main audio output warning: PTS is out of range (7497293), dropping buffer
[0xb1540f40] main audio output warning: computed PTS is out of range (7519837), clearing out

This problem only happens in .mpg files.

hussam
New Cone
New Cone
Posts: 8
Joined: 22 Sep 2011 22:26

Re: problem playing some videos.

Postby hussam » 07 Aug 2012 10:31

Some mpg files play. some don't
Only the ones that say "decoded format Planar 4:2:0 YUV" in the codec window fail to play correctly.

Rémi Denis-Courmont
Developer
Developer
Posts: 15128
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: problem playing some videos.

Postby Rémi Denis-Courmont » 07 Aug 2012 13:34

According to the output, either your computer is too slow, or its realtime clock is unstable. Obviously the computer is fast enough. And an unstable clock would pose problems with all videos, not just 4:2:0. So I would tend to blame the display driver.

Are the working videos 4:2:2 or what?
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 11 guests