You are not logged in.

#151 2014-02-07 15:09:35

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@sl1pkn07 Thank you but I'm sorry I still can't confirm it. Please post the console log when run 'CMPLAYER_MPV_OPTIONS="-v" cmplayer'. This will produce much more logs.

Offline

#152 2014-02-07 15:21:13

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: bomi - A powerful and easy-to-use multimedia player!

Offline

#153 2014-02-07 15:37:48

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

I'm totally lost. Just in case to make it sure, run cmplayer with english locale with 'LANG=en_US.UTF-8 cmplayer' (of course you have to generate the locale en_US.UTF-8 before run if you didn't)

Offline

#154 2014-02-07 21:07:59

bernd_b
Member
Registered: 2013-07-30
Posts: 164

Re: bomi - A powerful and easy-to-use multimedia player!

O.K,
as already told, the file type doesn't matter, cmplayer behaves like being run on a pc which is totally undersized for playing video. So I choose mpeg2 to have some resources left to be able to make a screenshot as proposed.

15nq7w5.png


Question:
What does 420p indicates in the line

VO: [null] 720x576 => 1024x576 420p

Last edited by bernd_b (2014-02-07 21:11:56)

Offline

#155 2014-02-07 22:04:04

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: bomi - A powerful and easy-to-use multimedia player!

Would it be possible to focus e.g. the history or playlist with the keyboard and then use the arrow keys and enter to select an entry? It always startles me that I cannot use  the keyboard to navigate those lists.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#156 2014-02-08 04:06:57

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@bernd_b 420p means 'YCbCr 4:2:0 planar format'... and your logs are just fine, too... and I'm still screwed.

@progandy Okay, I'll try it.

Offline

#157 2014-02-08 04:50:17

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@bernd_b 420p means 'YCbCr 4:2:0 planar format'... and your logs are just fine, too... and I'm still screwed.

@progandy Okay, I'll try it.

At least add some shortcuts so you can use e.g. shift-up/down/enter for the playlist, ctrl-up/down/enter for history I think.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#158 2014-02-08 04:54:36

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

Oh, that's easy. If I cannot give keyboard focus to those list view, I'll take it as a plan B, although I need another keyboard shorcuts because ctrl+up/down is already allocated for amp. Thank you for your advices.

Offline

#159 2014-02-09 15:17:19

gabu
Member
Registered: 2009-08-06
Posts: 33

Re: bomi - A powerful and easy-to-use multimedia player!

I have just recompiled cmplayer-git and I hate to say it but it doesn't play 5.1 sound, I just get stereo:

cmplayer
Create App instance 
"Qt Warning - invalid keysym: dead_actute" 
Create MainWindow instance 
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Initialize engine 
Initialize mpv with ("cmplayer-mpv", "--no-config", "--idle", "--no-fs", "--mouse-movements", "--af=dummy:address=35708624", "--vo=null:address=35753328", "--softvol=yes", "--softvol-max=1000.0", "--fixed-vo", "--no-autosub", "--osd-level=0", "--quiet", "--no-consolecontrols", "--no-mouse-movements", "--subcp=utf8", "--ao=null,", "--ad-lavc-downmix=no") 
Make connections 
Audio: no audio
Recover states 
Try system tray icon 
Create system tray icon 
Start main event loop 
Playing: /home/test/download/wget/300/300_Trailer_1B_5.1-1080p-HDTN.mp4
[cache] Cache size set to 2018 KiB
Cache fill: 22.30% (460800 bytes)   
[input] Command vf: more than 1 arguments required.
[input] Command was defined at .                                                                        
Detected file format: QuickTime / MOV (libavformat)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.63.104
[stream] Video (+) --vid=1 (*) (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (ac3)
Trying to use hardware decoding.
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
AO: [alsa] 48000Hz stereo 2ch floatp
VO: [null] 1920x804 => 1920x804 vaapi
disable with "org.freedesktop.ScreenSaver" 
enable with "org.freedesktop.ScreenSaver" 

terminate loop 

Exiting... (Quit)
vdpau_video: vaTerminate(): output ID 0x05000000 is still allocated, destroying
vdpau_video: vaTerminate(): surface ID 0x03000011 is still allocated, destroying
vdpau_video: vaTerminate(): surface ID 0x03000012 is still allocated, destroying
vdpau_video: vaTerminate(): mixer ID 0x09000000 is still allocated, destroying
vdpau_video: vaTerminate(): glx_surface ID 0x08000000 is still allocated, destroying
terminate engine 
Exit... 

However, if I put the preliminary option in that you gave me the 5.1 sound is OK:

 CMPLAYER_MPV_OPTIONS="--channels=6" cmplayer
Create App instance 
"Qt Warning - invalid keysym: dead_actute" 
Create MainWindow instance 
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Initialize engine 
Initialize mpv with ("cmplayer-mpv", "--channels=6", "--no-config", "--idle", "--no-fs", "--mouse-movements", "--af=dummy:address=22564480", "--vo=null:address=22558640", "--softvol=yes", "--softvol-max=1000.0", "--fixed-vo", "--no-autosub", "--osd-level=0", "--quiet", "--no-consolecontrols", "--no-mouse-movements", "--subcp=utf8", "--ao=null,", "--ad-lavc-downmix=no") 
Make connections 
Audio: no audio
Recover states 
Try system tray icon 
Create system tray icon 
Start main event loop 
Playing: /home/test/download/wget/300/300_Trailer_1B_5.1-1080p-HDTN.mp4
[cache] Cache size set to 2018 KiB
Cache fill: 22.30% (460800 bytes)   
[input] Command vf: more than 1 arguments required.
[input] Command was defined at .                                                                        
Detected file format: QuickTime / MOV (libavformat)
Clip info:
 major_brand: isom
 minor_version: 512
 compatible_brands: isomiso2avc1mp41
 encoder: Lavf54.63.104
[stream] Video (+) --vid=1 (*) (h264)
[stream] Audio (+) --aid=1 --alang=eng (*) (ac3)
Trying to use hardware decoding.
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
AO: [alsa] 48000Hz 5.1(alsa) 6ch floatp
VO: [null] 1920x804 => 1920x804 vaapi
disable with "org.freedesktop.ScreenSaver" 
enable with "org.freedesktop.ScreenSaver" 

terminate loop 

Exiting... (Quit)
vdpau_video: vaTerminate(): output ID 0x05000000 is still allocated, destroying
vdpau_video: vaTerminate(): surface ID 0x03000000 is still allocated, destroying
vdpau_video: vaTerminate(): surface ID 0x03000016 is still allocated, destroying
vdpau_video: vaTerminate(): mixer ID 0x09000000 is still allocated, destroying
vdpau_video: vaTerminate(): glx_surface ID 0x08000000 is still allocated, destroying
terminate engine 
Exit... 

Last edited by gabu (2014-02-09 15:18:12)

Offline

#160 2014-02-09 15:23:23

Kosava
Member
From: Serbia
Registered: 2008-08-19
Posts: 127

Re: bomi - A powerful and easy-to-use multimedia player!

New git version downloaded, again not work Š and Ž font in cp1250 and UTF-8.


http://www.dodaj.rs/f/3B/Qq/4qgbGX8D/sc … 14-02-.png

Last edited by Kosava (2014-02-09 15:23:34)

Offline

#161 2014-02-10 00:38:27

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@bernd_b, sl1pkn07
I've just committed one line patch and I think it fixes your problems. Please try latest git source.

@gabu
Please try 'CMPLAYER_MPV_OPTIONS=-v cmplayer' (without channels option) and post the logs.

@Kosava
Please send me the subtitle file.

Offline

#162 2014-02-10 01:02:25

Kosava
Member
From: Serbia
Registered: 2008-08-19
Posts: 127

Re: bomi - A powerful and easy-to-use multimedia player!

Here it is http://www.4shared.com/office/eV7fTZB5b … OL_hr.html

But i think i figured probem. I uncheked "Enable encoding auto-detection" and now works fine, i deleted my settings, and problem go back to me again.
So maybe by default settings will be better maybe to turn off auto-detection ?

Offline

#163 2014-02-10 10:46:24

gabu
Member
Registered: 2009-08-06
Posts: 33

Re: bomi - A powerful and easy-to-use multimedia player!

So I just recompiled cmplayer-git to make sure I had the really latest version and:

 CMPLAYER_MPV_OPTIONS=-v cmplayer
Create App instance 
"Qt Warning - invalid keysym: dead_actute" 
Create MainWindow instance 
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Initialize engine 
Initialize mpv with ("cmplayer-mpv", "-v", "--no-config", "--idle", "--no-fs", "--mouse-movements", "--af=dummy:address=27904448", "--vo=null:address=27904480", "--softvol=yes", "--softvol-max=1000.0", "--fixed-vo", "--no-autosub", "--osd-level=0", "--quiet", "--no-consolecontrols", "--no-mouse-movements", "--subcp=utf8", "--ao=null,", "--ad-lavc-downmix=no") 
[cplayer] mpv git-7ae1ca6 (C) 2000-2014 mpv/MPlayer/mplayer2 projects
[cplayer]  built on 2014-02-10T10:32:12                                                                 
[cplayer] ffmpeg library versions:                                                                      
[cplayer]    libavutil       52.48.101                                                                  
[cplayer]    libavcodec      55.39.101                                                                  
[cplayer]    libavformat     55.19.104                                                                  
[cplayer]    libswscale      2.5.101                                                                    
[cplayer]    libswresample   0.17.104                                                                   
[cplayer]                                                                                               
[cplayer] Setting option 'v' = '' (flags = 8)                                                           
[cplayer] Setting option 'no-config' = '' (flags = 8)                                                   
[cplayer] Setting option 'idle' = '' (flags = 8)                                                        
[cplayer] Setting option 'no-fs' = '' (flags = 8)                                                       
[cplayer] Setting option 'mouse-movements' = '' (flags = 8)                                             
[cplayer] Setting option 'af' = 'dummy:address=27904448' (flags = 8)                                    
[cplayer] Setting option 'vo' = 'null:address=27904480' (flags = 8)                                     
[cplayer] Setting option 'softvol' = 'yes' (flags = 8)                                                  
[cplayer] Setting option 'softvol-max' = '1000.0' (flags = 8)                                           
[cplayer] Setting option 'fixed-vo' = '' (flags = 8)                                                    
[cplayer] Setting option 'no-autosub' = '' (flags = 8)                                                  
[cplayer] Setting option 'osd-level' = '0' (flags = 8)                                                  
[cplayer] Setting option 'quiet' = '' (flags = 8)                                                       
[cplayer] Setting option 'no-consolecontrols' = '' (flags = 8)                                          
[cplayer] Setting option 'no-mouse-movements' = '' (flags = 8)                                          
[cplayer] Setting option 'subcp' = 'utf8' (flags = 8)                                                   
[cplayer] Setting option 'ao' = 'null,' (flags = 8)                                                     
[cplayer] Setting option 'ad-lavc-downmix' = 'no' (flags = 8)                                           
[cplayer] Configuration: ./waf configure --disable-manpage-build --disable-pdf-build --disable-vf-dlopen-filters --disable-macosx-bundle --enable-iconv --disable-terminfo --disable-termcap --disable-termios --disable-shm --disable-libguess --disable-libsmbclient --disable-encoding --disable-joystick --disable-lirc --disable-vcd --disable-libbluray --enable-dvdread --enable-dvdnav --disable-enca --enable-mpg123 --disable-ladspa --disable-libbs2b --disable-lcms2 --enable-libswresample --disable-libavfilter --disable-vf-lavfi --disable-af-lavfi --disable-libavdevice --disable-libpostproc --disable-libavresample --disable-sdl2 --disable-sdl1 --disable-rsound --disable-sndio --disable-openal --disable-dsound --disable-wasapi --disable-cocoa --disable-wayland --disable-x11 --disable-xss --disable-xext --disable-xv --disable-xinerama --disable-xf86vm --disable-xf86xk --disable-gl-cocoa --disable-gl-x11 --disable-gl-wayland --disable-gl-win32 --disable-gl --disable-corevideo --disable-vdpau --disable-vdpau-gl-x11 --disable-vaapi --disable-vaapi-vpp --disable-vaapi-glx --disable-caca --disable-dvb --disable-dvbin --disable-jpeg --disable-direct3d --disable-vda-gl --disable-vdpau-decoder --disable-vdpau-hwaccel --disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-tv --disable-tv-v4l2 --disable-libv4l2 --disable-pvr --disable-audio-input --disable-lua --enable-oss-audio --enable-pulse --enable-jack --enable-alsa --disable-libquvi4                                                                                                   
[cplayer] Command line: '-v' '--no-config' '--idle' '--no-fs' '--mouse-movements' '--af=dummy:address=27904448' '--vo=null:address=27904480' '--softvol=yes' '--softvol-max=1000.0' '--fixed-vo' '--no-autosub' '--osd-level=0' '--quiet' '--no-consolecontrols' '--no-mouse-movements' '--subcp=utf8' '--ao=null,' '--ad-lavc-downmix=no'                                                                                      
[input] enable section 'default'                                                                        
[input] Falling back on default (hardcoded) input config                                                
[global] mp_find_user_config_file('fonts') -> '/home/test/.mpv/fonts'                                   
Make connections 
[cplayer] Audio: no audio
Recover states 
Try system tray icon 
Create system tray icon 
Start main event loop 
[global] mp_find_user_config_file('300_Trailer_1B_5.1-1080p-HDTN.mp4.conf') -> '/home/test/.mpv/300_Trailer_1B_5.1-1080p-HDTN.mp4.conf'                                                                         
[global] mp_find_user_config_file('watch_later/55C33FBD5F485E695AA00F6F2F9536A1') -> '/home/test/.mpv/watch_later/55C33FBD5F485E695AA00F6F2F9536A1'                                                             
[cplayer] Playing: /home/test/download/wget/300/300_Trailer_1B_5.1-1080p-HDTN.mp4
[file] File size is 188256280 bytes
[file] Opened: [file] /home/test/download/wget/300/300_Trailer_1B_5.1-1080p-HDTN.mp4                    
[cache] Cache size set to 2018 KiB
Cache fill: 22.30% (460800 bytes)   
[input] Command vf: more than 1 arguments required.
[input] Command was defined at .                                                                        
[demux] Trying demuxer: edl (force-level: normal)
[demux] Trying demuxer: cue (force-level: normal)                                                       
[demux] Trying demuxer: rawaudio (force-level: normal)                                                  
[demux] Trying demuxer: rawvideo (force-level: normal)                                                  
[demux] Trying demuxer: libass (force-level: normal)                                                    
[demux] Trying demuxer: mkv (force-level: normal)                                                       
[demux] Trying demuxer: lavf (force-level: normal)                                                      
[lavf] Found 'mov,mp4,m4a,3gp,3g2,mj2' at score=100 size=2048.                                          
[cache] Dropping cache at pos 188145251, cached range: 0-2066432.                                       
[cache] EOF reached.                                                                                    
[cache] EOF reached.                                                                                    
[cache] EOF reached.                                                                                    
[cache] EOF reached.                                                                                    
[cache] Dropping cache at pos 48, cached range: 188145251-188256280.                                    
[ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: max_analyze_duration 5000000 reached at 5000000 microseconds  
[lavf] demux_lavf: avformat_find_stream_info() finished after 91055 bytes.                              
[lavf] LAVF: build 3609448                                                                              
[demux] Detected file format: QuickTime / MOV (libavformat)
[global] mp_find_user_config_file('subfont.ttf') -> '/home/test/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/test/.mpv/fonts.conf'                         
[libass] Setting up fonts...                                                                            
[libass] Done.                                                                                          
[demux] Clip info:
[demux]  major_brand: isom
[demux]  minor_version: 512
[demux]  compatible_brands: isomiso2avc1mp41
[demux]  encoder: Lavf54.63.104
[cplayer] [stream] Video (+) --vid=1 (*) (h264)
[cplayer] [stream] Audio (+) --aid=1 --alang=eng (*) (ac3)
[cplayer] [V] fourcc:0x31637661  size:1920x804  fps:24.000
[vo/null] Setting option 'address' = '27904480' (flags = 0)                                             
[cache] [cache] blocking for STREAM_CTRL 8                                                              
[vd] Codec list:                                                                                        
[vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10                                          
[vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)        
[vd] Opening video decoder lavc:h264                                                                    
[vd] Trying to use hardware decoding.
[vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
[ad] Codec list:
[ad]     lavc:ac3 - ATSC A/52A (AC-3)                                                                   
[ad] Opening audio decoder lavc:ac3                                                                     
[ad] INFO: libavcodec "ac3" init OK!                                                                    
[ad] Initial decode succeeded after 1 packets.                                                          
[ad] Selected audio codec: ATSC A/52A (AC-3) [lavc:ac3]
[ad] AUDIO: 48000 Hz, 6 ch, floatp
[ad] Building audio filter chain for 48000Hz 5.1(side) 6ch floatp -> 0Hz stereo 2ch ??...               
[af] Adding filter dummy                                                                                
[af] Setting option 'address' = '27904448' (flags = 0)                                                  
[af] Audio filter chain:                                                                                
[af]   [in] 48000Hz 5.1(side) 6ch floatp                                                                
[af]   [dummy] 48000Hz stereo 2ch floatp                                                                
[af]   [out] 48000Hz stereo 2ch floatp                                                                  
[af]   [ao] 0Hz stereo 2ch ??                                                                           
[ao/pulse] requested format: 48000 Hz, stereo channels, floatp                                          
[ao/alsa] requested format: 48000 Hz, stereo channels, floatp                                           
[ao/alsa] using device: default                                                                         
[ao/alsa] using ALSA version: 1.0.27.2                                                                  
[ao/alsa] pcm opened in blocking mode                                                                   
[ao/alsa] got buffersize=16384 samples                                                                  
[ao/alsa] got period size 1024                                                                          
[ao/alsa] opened: 48000 Hz/2 channels/32 bps/16384 samples buffer/Float 32 bit Little Endian            
[cplayer] AO: [alsa] 48000Hz stereo 2ch floatp
[cplayer] AO: Description: ALSA-0.9.x-1.x audio output
[ad] Building audio filter chain for 48000Hz 5.1(side) 6ch floatp -> 48000Hz stereo 2ch floatp...       
[af] Audio filter chain:                                                                                
[af]   [in] 48000Hz 5.1(side) 6ch floatp                                                                
[af]   [dummy] 48000Hz stereo 2ch floatp                                                                
[af]   [out] 48000Hz stereo 2ch floatp                                                                  
[af]   [ao] 48000Hz stereo 2ch floatp                                                                   
[cplayer] Starting playback...                                                                          
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p                                        
[vd] VIDEO:  1920x804  24.000 fps  9383.2 kbps (1172.9 kB/s)                                            
[vd] VDec: vo config request - 1920 x 804 (vaapi)                                                       
[vd] VO Config (1920x804->1920x804,0x464)                                                               
[vf] Video filter chain:                                                                                
[vf]  [in] 1920x804 vaapi BT.709 (HD)/TV                                                                
[vf]  [out] 1920x804 vaapi BT.709 (HD)/TV                                                               
[cplayer] VO: [null] 1920x804 => 1920x804 vaapi
[cplayer] VO: Description: CMPlayer video output
[global] mp_find_user_config_file('fonts') -> '/home/test/.mpv/fonts'                                   
[global] mp_find_user_config_file('subfont.ttf') -> '/home/test/.mpv/subfont.ttf'                       
[global] mp_find_user_config_file('fonts.conf') -> '/home/test/.mpv/fonts.conf'                         
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] mp_find_user_config_file('fonts') -> '/home/test/.mpv/fonts'
[global] mp_find_user_config_file('subfont.ttf') -> '/home/test/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/test/.mpv/fonts.conf'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] mp_find_user_config_file('fonts') -> '/home/test/.mpv/fonts'
[global] mp_find_user_config_file('subfont.ttf') -> '/home/test/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/test/.mpv/fonts.conf'
[osd/libass] Setting up fonts...
[osd/libass] Done.
disable with "org.freedesktop.ScreenSaver" 
[cplayer] EOF code: 4  
[cplayer] 
[ad] Uninit audio filters...
[af] Removing filter dummy 
[ad] Uninit audio decoder.
enable with "org.freedesktop.ScreenSaver" 
[vd] Uninit video.
[cache] Terminating cache...
[cache] Cache exiting...
[ao/alsa] uninit: pcm closed
[cplayer] Creating non-video VO window.
^C

Offline

#164 2014-02-11 15:12:05

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@gabu

I found a weird thing. Can you do me a favor? Please test CMPlayer with 'CMPLAYER_MPV_OPTIONS=--channels=3 cmplayer'(it's not 6, it's 3) and check that all your 5.1 ch speakers work normally which means each speaker has it's own output (not down mixed and up mixed).
If it works, I can fix this problem.

@Kosava

I remember you've told same problem before, and I said 'turn off auto-detection or raise accuracy'.
I'll choose change accuray if it doesn't work for some locales. I can give the chance to set the default accury depeding translations like default encoding.

Offline

#165 2014-02-11 15:38:49

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: bomi - A powerful and easy-to-use multimedia player!

@bernd_b, sl1pkn07
I've just committed one line patch and I think it fixes your problems. Please try latest git source.

YEEEHA!!!! ;_;

what commit exactly?

and have great notice for you: https://github.com/mpv-player/mpv/commi … 777ae852d3 big_smile

Offline

#166 2014-02-11 15:49:51

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@sl1pkn07
Here: https://github.com/xylosper/cmplayer/co … 80bee3c80b (all other lines except '+    glDisable(GL_BLEND);' are just debugging stuffs)
And, I know the commit of mpv but it is not available for CMPlayer yet.
CMPlayer requires much more extensibility but current implementation of libmpv is not so different from old slave mode from the point of view in extensibiliy.
Till libmpv can provide such functionalities and stable API/ABI, forked mpv source will be still a part of CMPlayer, and... it will really take long time, I think.

Offline

#167 2014-02-11 15:53:42

gabu
Member
Registered: 2009-08-06
Posts: 33

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@gabu

I found a weird thing. Can you do me a favor? Please test CMPlayer with 'CMPLAYER_MPV_OPTIONS=--channels=3 cmplayer'(it's not 6, it's 3) and check that all your 5.1 ch speakers work normally which means each speaker has it's own output (not down mixed and up mixed).
If it works, I can fix this problem.

OK, I played an audio 5.1 test ac3 stream which puts out sounds to each channel in turn and even with the channels=3 setting the correct sounds come out of the correct 5.1 channels.

With no channels explicitly set the rear left and right come out of the front left and right respectively.

With channels=6 the sounds come out of the correct channels.

I gather this is what you were suspecting.

Offline

#168 2014-02-11 15:54:00

sl1pkn07
Member
From: Spanishtán
Registered: 2010-03-30
Posts: 371

Re: bomi - A powerful and easy-to-use multimedia player!

thanks for the info smile

Offline

#169 2014-02-11 21:48:08

bernd_b
Member
Registered: 2013-07-30
Posts: 164

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@bernd_b, sl1pkn07
I've just committed one line patch and I think it fixes your problems. Please try latest git source.

So it's much better with git from this evening.  The OSD (activated via TAB-Key) shows 50 dropped frames when playing 20 seconds of a h264 1080i-video (hardware acceleration activated). mpv plays this video without noticeable problems on the same pc. At least the file is playable at all. With the git-version before current one my computer got unusable when trying to play the same file for the same amount of seconds.

Offline

#170 2014-02-11 23:06:20

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@gabu
Yes, that's what I expected.
No matter what the --channels value, it seems that it works except --channels=2.
I think fix can be committed in couple of days.

@bernd_b
Does it depend on file or container or codec?
Better: Can you provide a sample file?
Also, please try 'CMPLAYER_MPV_OPTIONS=-v CMPLAYER_GL_DEBUG=1 cmplayer' and post the logs.

Offline

#171 2014-02-12 03:03:39

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@gabu please checkout latest git source. It should be fixed.

Offline

#172 2014-02-12 09:04:25

bernd_b
Member
Registered: 2013-07-30
Posts: 164

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@bernd_b
Does it depend on file or container or codec?

Well, yes and no. Of course, mpeg 2 SD -Playback doesn't need that much resources than h264 FullHD - but even mpeg2 -Playback isn't that smooth than compared to other players and mpv itself. Of course I can provide samples, but since they worked in previous versions and I have the described effects with any file I tried, I guess this will lead to nowhere. But - ask me for what you think you need in the light of this - I am glad to do what I can.

I'll try to post the requested log as soon as I am back at my home pc.

Last edited by bernd_b (2014-02-12 09:08:27)

Offline

#173 2014-02-12 10:45:31

gabu
Member
Registered: 2009-08-06
Posts: 33

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@gabu please checkout latest git source. It should be fixed.

Fine. Working OK now.

Thanks.

Offline

#174 2014-02-12 20:56:50

bernd_b
Member
Registered: 2013-07-30
Posts: 164

Re: bomi - A powerful and easy-to-use multimedia player!

xylosper wrote:

@bernd_b
Also, please try 'CMPLAYER_MPV_OPTIONS=-v CMPLAYER_GL_DEBUG=1 cmplayer' and post the logs.

[bernd_b@amd64-archlinux ~]$ CMPLAYER_MPV_OPTIONS=-v CMPLAYER_GL_DEBUG=1 cmplayer
Create App instance 
"Qt Warning - invalid keysym: dead_actute" 
Create MainWindow instance 
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/nvidia_drv_video.so
libva info: Found init function __vaDriverInit_0_33
libva info: va_openDriver() returns 0
Initialize engine 
Initialize mpv with ("cmplayer-mpv", "-v", "--no-config", "--idle", "--no-fs", "--mouse-movements", "--af=dummy:address=30292416", "--vo=null:address=30291424", "--softvol=yes", "--softvol-max=1000.0", "--fixed-vo", "--no-autosub", "--osd-level=0", "--quiet", "--no-consolecontrols", "--no-mouse-movements", "--subcp=utf8", "--ao=null,", "--ad-lavc-downmix=no") 
[cplayer] mpv git-7ae1ca6 (C) 2000-2014 mpv/MPlayer/mplayer2 projects
[cplayer]  built on 2014-02-11T19:37:34
[cplayer] ffmpeg library versions:
[cplayer]    libavutil       52.48.101
[cplayer]    libavcodec      55.39.101
[cplayer]    libavformat     55.19.104
[cplayer]    libswscale      2.5.101
[cplayer]    libswresample   0.17.104
[cplayer] 
[cplayer] Setting option 'v' = '' (flags = 8)
[cplayer] Setting option 'no-config' = '' (flags = 8)
[cplayer] Setting option 'idle' = '' (flags = 8)
[cplayer] Setting option 'no-fs' = '' (flags = 8)
[cplayer] Setting option 'mouse-movements' = '' (flags = 8)
[cplayer] Setting option 'af' = 'dummy:address=30292416' (flags = 8)
[cplayer] Setting option 'vo' = 'null:address=30291424' (flags = 8)
[cplayer] Setting option 'softvol' = 'yes' (flags = 8)
[cplayer] Setting option 'softvol-max' = '1000.0' (flags = 8)
[cplayer] Setting option 'fixed-vo' = '' (flags = 8)
[cplayer] Setting option 'no-autosub' = '' (flags = 8)
[cplayer] Setting option 'osd-level' = '0' (flags = 8)
[cplayer] Setting option 'quiet' = '' (flags = 8)
[cplayer] Setting option 'no-consolecontrols' = '' (flags = 8)
[cplayer] Setting option 'no-mouse-movements' = '' (flags = 8)
[cplayer] Setting option 'subcp' = 'utf8' (flags = 8)
[cplayer] Setting option 'ao' = 'null,' (flags = 8)
[cplayer] Setting option 'ad-lavc-downmix' = 'no' (flags = 8)
[cplayer] Configuration: ./waf configure --disable-manpage-build --disable-pdf-build --disable-vf-dlopen-filters --disable-macosx-bundle --enable-iconv --disable-terminfo --disable-termcap --disable-termios --disable-shm --disable-libguess --disable-libsmbclient --disable-encoding --disable-joystick --disable-lirc --disable-vcd --disable-libbluray --enable-dvdread --enable-dvdnav --disable-enca --enable-mpg123 --disable-ladspa --disable-libbs2b --disable-lcms2 --enable-libswresample --disable-libavfilter --disable-vf-lavfi --disable-af-lavfi --disable-libavdevice --disable-libpostproc --disable-libavresample --disable-sdl2 --disable-sdl1 --disable-rsound --disable-sndio --disable-openal --disable-dsound --disable-wasapi --disable-cocoa --disable-wayland --disable-x11 --disable-xss --disable-xext --disable-xv --disable-xinerama --disable-xf86vm --disable-xf86xk --disable-gl-cocoa --disable-gl-x11 --disable-gl-wayland --disable-gl-win32 --disable-gl --disable-corevideo --disable-vdpau --disable-vdpau-gl-x11 --disable-vaapi --disable-vaapi-vpp --disable-vaapi-glx --disable-caca --disable-dvb --disable-dvbin --disable-jpeg --disable-direct3d --disable-vda-gl --disable-vdpau-decoder --disable-vdpau-hwaccel --disable-radio --disable-radio-capture --disable-radio-v4l2 --disable-tv --disable-tv-v4l2 --disable-libv4l2 --disable-pvr --disable-audio-input --disable-lua --enable-oss-audio --enable-pulse --enable-jack --enable-alsa --disable-libquvi4
[cplayer] Command line: '-v' '--no-config' '--idle' '--no-fs' '--mouse-movements' '--af=dummy:address=30292416' '--vo=null:address=30291424' '--softvol=yes' '--softvol-max=1000.0' '--fixed-vo' '--no-autosub' '--osd-level=0' '--quiet' '--no-consolecontrols' '--no-mouse-movements' '--subcp=utf8' '--ao=null,' '--ad-lavc-downmix=no'
[input] enable section 'default'
[input] Falling back on default (hardcoded) input config
[global] mp_find_user_config_file('fonts') -> '/home/bernd_b/.mpv/fonts'
Make connections 
[cplayer] Audio: no audio
Recover states 
"" 
Try system tray icon 
Create system tray icon 
Start main event loop 
[global] mp_find_user_config_file('Shetland.ts.conf') -> '/home/bernd_b/.mpv/Shetland.ts.conf'
[global] mp_find_user_config_file('watch_later/2C019FC0A4C5AA0103B3BC0C36D01EAD') -> '/home/bernd_b/.mpv/watch_later/2C019FC0A4C5AA0103B3BC0C36D01EAD'
[cplayer] Playing: /mnt/sda9/ProjectX/Shetland.ts
[file] File size is 2682998196 bytes
[file] Opened: [file] /mnt/sda9/ProjectX/Shetland.ts
[input] Command vf: more than 1 arguments required.
[input] Command was defined at .
[demux] Trying demuxer: edl (force-level: normal)
[demux] Trying demuxer: cue (force-level: normal)
[demux] Trying demuxer: rawaudio (force-level: normal)
[demux] Trying demuxer: rawvideo (force-level: normal)
[demux] Trying demuxer: libass (force-level: normal)
[demux] Trying demuxer: mkv (force-level: normal)
[demux] Trying demuxer: lavf (force-level: normal)
[lavf] Found 'mpegts' at score=100 size=2048.
[ffmpeg/video] h264: Increasing reorder buffer to 2
[ffmpeg/video] h264: Increasing reorder buffer to 3
[ffmpeg/video] h264: mmco: unref short failure
[ffmpeg/video] h264: number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[ffmpeg/demuxer] mpegts: max_analyze_duration 5000000 reached at 5024000 microseconds
[ffmpeg/demuxer] mpegts: PES packet size mismatch
[ffmpeg/demuxer] mpegts: PES packet size mismatch
[lavf] demux_lavf: avformat_find_stream_info() finished after 0 bytes.
[lavf] LAVF: Program 132 
[lavf] PROGRAM_ID=132
[lavf] LAVF: build 3609448
[demux] Detected file format: MPEG-TS (MPEG-2 Transport Stream) (libavformat)
[global] mp_find_user_config_file('subfont.ttf') -> '/home/bernd_b/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/bernd_b/.mpv/fonts.conf'
[libass] Setting up fonts...
[libass] Done.
[cplayer] [stream] Video (+) --vid=1 (h264)
[cplayer] [stream] Audio (+) --aid=1 --alang=NAR (mp2)
[cplayer] [stream] Audio     --aid=2 --alang=eng (ac3)
[cplayer] [stream] Subs      --sid=1 --slang=eng (dvb_subtitle)
[cplayer] [V] fourcc:0x1B  size:1920x1080  fps:25.000
[vo/null] Setting option 'address' = '30291424' (flags = 0)
[vd] Codec list:
[vd]     lavc:h264 - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
[vd]     lavc:h264_vdpau (h264) - H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (VDPAU acceleration)
[vd] Opening video decoder lavc:h264
[vd] Trying to use hardware decoding.
[vd] Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [lavc:h264]
[ad] Codec list:
[ad]     lavc:mp2 - MP2 (MPEG audio layer 2)
[ad]     lavc:mp2float (mp2) - MP2 (MPEG audio layer 2)
[ad] Opening audio decoder lavc:mp2
[ad] INFO: libavcodec "mp2" init OK!
[ad] Initial decode succeeded after 1 packets.
[ad] Selected audio codec: MP2 (MPEG audio layer 2) [lavc:mp2]
[ad] AUDIO: 48000 Hz, 2 ch, s16p
[ad] Building audio filter chain for 48000Hz stereo 2ch s16p -> 0Hz empty 0ch ??...
[af] Adding filter dummy 
[af] Setting option 'address' = '30292416' (flags = 0)
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16p
[af]   [dummy] 48000Hz stereo 2ch s16p
[af]   [out] 48000Hz stereo 2ch s16p
[af]   [ao] 0Hz empty 0ch ??
[ao] Trying preferred audio driver 'alsa'
[ao/alsa] requested format: 48000 Hz, stereo channels, s16p
[ao/alsa] using device: default
[ao/alsa] using ALSA version: 1.0.27.2
[ao/alsa] pcm opened in blocking mode
[ao/alsa] got buffersize=16384 samples
[ao/alsa] got period size 1024
[ao/alsa] opened: 48000 Hz/2 channels/16 bps/16384 samples buffer/Signed 16 bit Little Endian
[cplayer] AO: [alsa] 48000Hz stereo 2ch s16p
[cplayer] AO: Description: ALSA-0.9.x-1.x audio output
[ad] Building audio filter chain for 48000Hz stereo 2ch s16p -> 48000Hz stereo 2ch s16p...
[af] Audio filter chain:
[af]   [in] 48000Hz stereo 2ch s16p
[af]   [dummy] 48000Hz stereo 2ch s16p
[af]   [out] 48000Hz stereo 2ch s16p
[af]   [ao] 48000Hz stereo 2ch s16p
[cplayer] Starting playback...
[vd] Pixel formats supported by decoder: vaapi_vld vdpau yuv420p
Cannot find locale for "nar" 
[vd] VIDEO:  1920x1080  25.000 fps    0.0 kbps ( 0.0 kB/s)
[vd] VDec: vo config request - 1920 x 1080 (vaapi)
[vd] VO Config (1920x1080->1920x1080,0x464)
[vf] Video filter chain:
[vf]  [in] 1920x1080 vaapi BT.709 (HD)/TV
[vf]  [out] 1920x1080 vaapi BT.709 (HD)/TV
[cplayer] VO: [null] 1920x1080 => 1920x1080 vaapi
[cplayer] VO: Description: CMPlayer video output
[global] mp_find_user_config_file('fonts') -> '/home/bernd_b/.mpv/fonts'
[global] mp_find_user_config_file('subfont.ttf') -> '/home/bernd_b/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/bernd_b/.mpv/fonts.conf'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] mp_find_user_config_file('fonts') -> '/home/bernd_b/.mpv/fonts'
[global] mp_find_user_config_file('subfont.ttf') -> '/home/bernd_b/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/bernd_b/.mpv/fonts.conf'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[global] mp_find_user_config_file('fonts') -> '/home/bernd_b/.mpv/fonts'
[global] mp_find_user_config_file('subfont.ttf') -> '/home/bernd_b/.mpv/subfont.ttf'
[global] mp_find_user_config_file('fonts.conf') -> '/home/bernd_b/.mpv/fonts.conf'
[osd/libass] Setting up fonts...
[osd/libass] Done.
[ffmpeg/video] h264: Increasing reorder buffer to 1
[ffmpeg/video] h264: Increasing reorder buffer to 2
[ffmpeg/video] h264: Increasing reorder buffer to 3
[ffmpeg/video] h264: mmco: unref short failure
[ffmpeg/video] h264: number of reference frames (0+5) exceeds max (4; probably corrupt input), discarding one
[ao/alsa] pause not supported by hardware
[ao/alsa] resume not supported by hardware
[ao/alsa] pause not supported by hardware
[cplayer] EOF code: 7  
[cplayer] 
[ad] Uninit audio filters...
[af] Removing filter dummy 
[ad] Uninit audio decoder.
[vd] Uninit video.
[ao/alsa] uninit: pcm closed
terminate loop 
[cplayer] 
[cplayer] Exiting... (Quit)
vdpau_video: vaTerminate(): output ID 0x05000000 is still allocated, destroying
vdpau_video: vaTerminate(): surface ID 0x03000016 is still allocated, destroying
vdpau_video: vaTerminate(): mixer ID 0x09000000 is still allocated, destroying
vdpau_video: vaTerminate(): glx_surface ID 0x08000000 is still allocated, destroying
terminate engine 
Exit... 

I fear there is nothing usable ...

Offline

#175 2014-02-13 02:18:37

xylosper
Member
Registered: 2011-04-16
Posts: 167

Re: bomi - A powerful and easy-to-use multimedia player!

@bernd_b

I'm afraid but you're right. I can't get usable informations from your logs.
One possible issue is hardware acceleration. Please disable it and try again.

Offline

Board footer

Powered by FluxBB