Why all the media player error messages?

Brian Cluff brian at snaptek.com
Mon Apr 8 14:21:18 MST 2013


While there are certainly errors in there, try not to thing of that 
stuff as "errors".  A lot of it is just informational and very useful. 
In fact many of the front ends to command line programs use that output 
to know if certain things have happened.

I find mplayer's output particularly useful, in your case it says (some 
less interesting stuff trimmed from the top to shorten it):

 > VIDEO:  [H264]  624x352  24bpp  24.000 fps  200.1 kbps (24.4 kbyte/s)

We get the original video resolution and how many frame per second.

 > Clip info:
 >   major_brand: mp42
 >   minor_version: 0
 >   compatible_brands: mp42isomavc1
 >   creation_time: 2013-04-07 16:52:21
 >   encoder: HandBrake 0.9.8 2012071800

What container format it's in and what/when it was made.

 > Load subtitles in .
 > Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared

You're using the open source nvidia drivers and hardware decoding isn't 
supported.

 > Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 > Asking decoder to use 4 threads if supported.

FFmpeg is ultimately what is decoding the video, and it sees you have 
have a multi core processor and will take advantage of it if able to.

 > Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)

The video's codec is H.264

 > Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
 > AUDIO: 44100 Hz, 2 ch, s16le, 92.9 kbit/6.59% (ratio: 11618->176400)

The audio is in stereo at 44.1khz encoded at 92kbit/s

 > Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
 > Audio))

The audio's codec is also being decoded by ffmpeg and is in AAC format.


If your audio and/or video look/sound like crap, that output can quickly 
help you figure out why.

It's also very useful when trying to edit or combine videos or find out 
if a video is capable of playing back on a certain device.

I'll often times fire up mplayer and immediately quit the playback 
because it's output is so useful.

Brian Cluff

On 04/08/2013 12:49 AM, joe at actionline.com wrote:
> Upon trying several different media players from the command line,
> --- smplayer,  vlc,  kaffeine,  dragon,  and  mplayer ---
> to run the same test video file (myking.m4v), all of them generate
> various error messages, including "No such file or directory."
>
> This is odd because they all find the target file and play it fine.
>
> So why do all these error messages appear and/or how can I stop them?
>
>
>
> == $ smplayer myking.m4v
> This is SMPlayer v. 0.7.0 (SVN r3809) running on Linux
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> No such file or directory
>
> == $ vlc myking.m4v
> VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
> [0x9712920] main libvlc: Running vlc with the default interface. Use
> 'cvlc' to use vlc w/o interface.
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> No such file or directory
> QFileSystemWatcher: failed to add paths: /home/joe/.config/ibus/bus
>
> == $ kaffeine myking.m4v
> QDBusConnection: session D-Bus connection created before
> QCoreApplication. Application may misbehave.
> QDBusConnection: session D-Bus connection created before
> QCoreApplication. Application may misbehave.
> == $ Upon exit, kaffeine shows these two lines:
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> No such file or directory
> QFileSystemWatcher: failed to add paths: /home/joe/.config/ibus/bus
>
> == $ dragon myking.m4v
> QPainter::begin: Paint device returned engine == 0, type: 2 (THREE
> MORE TIMES)
> QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed:
> No such file or directory
> QFileSystemWatcher: failed to add paths: /home/joe/.config/ibus/bus
> Setting new source
> New source:  QUrl( "file:///home/joe/myking.m4v" )
> Transitioning to state "playing"
> State change
> Moving from "null" 0 to "ready" 1
> Transitioning to state "playing"
> QPainter::begin: Paint device returned engine == 0, type: 2 (FIVE
> MORE TIMES)
> Stream changed to file:///home/joe/myking.m4v
> State change
> Moving from "ready" 1 to "paused" 4
> Stream changed to file:///home/joe/myking.m4v
> State change
> Moving from "paused" 4 to "playing" 2
> Fading to 1
> Transitioning to state "ready"
> State change
> Moving from "playing" 2 to "paused" 4
> (AFTER CTRL+C) (dragon:5855): WARNING **: gstvideo: failed to get
> caps of pad xvimagesink0:sink
> State change
> Moving from "paused" 4 to "ready" 1
> Transitioning to state "ready" (THIS LINE THREE MORE TIMES)
>
> == $ mplayer myking.m4v
> MPlayer2 UNKNOWN (C) 2000-2011 MPlayer Team
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
> Playing myking.m4v.
> Detected file format: QuickTime/MPEG-4/Motion JPEG 2000 format
> (libavformat)
> [lavf] stream 0: video (h264), -vid 0
> [lavf] stream 1: audio (aac), -aid 0, -alang eng
> VIDEO:  [H264]  624x352  24bpp  24.000 fps  200.1 kbps (24.4 kbyte/s)
> Clip info:
>   major_brand: mp42
>   minor_version: 0
>   compatible_brands: mp42isomavc1
>   creation_time: 2013-04-07 16:52:21
>   encoder: HandBrake 0.9.8 2012071800
> Load subtitles in .
> Failed to open VDPAU backend libvdpau_nouveau.so: cannot open shared
> object file:
> No such file or directory
> [vdpau] Error when calling vdp_device_create_x11: 1
> [ass] auto-open
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Asking decoder to use 4 threads if supported.
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
> AUDIO: 44100 Hz, 2 ch, s16le, 92.9 kbit/6.59% (ratio: 11618->176400)
> Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4
> Audio))
> [AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file
> or directory
> AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> A:   0.0 V:   0.0 A-V:  0.000 ct:  0.000   0/  0 ??% ??% ??,?% 0 0
> Movie-Aspect is 1.74:1 - prescaling to correct movie aspect.
> VO: [xv] 624x352 => 624x358 Planar YV12
> A:   4.3 V:   4.3 A-V:  0.000 ct:  0.000   0/  0  7%  1%  0.8% 0 0
> Exiting... (Quit)
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>



More information about the PLUG-discuss mailing list