libvlc_media_player_stop freezes

This forum is about all development around libVLC.
WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

libvlc_media_player_stop freezes

Postby WippelDa » 05 Jul 2010 19:26

Using libvlc 1.1.0 from git and Qt 4.5.2 running 2 instances of vlc (one for playback, one for background snapshot creation) i sometimes stuck on stop the playback.

These are my vlc_args

playback:

"-I", "dummy", /* Don't use any interface */
"--ignore-config", /* Don't use VLC's config */
"--verbose=3", //be much more verbose then normal for debugging purpose
"--plugin-path=plugins",
//"--extraintf=logger", //log anything
"--no-plugins-cache",
"--no-video-title-show",
// "--no-one-instance",
// "--no-dummy-quiet",
"--no-stats"};

background-snapshot-creation:
"-I", "dummy", /* no interface */
"--vout", "dummy", /* we don't want video (output) */
//"--snapshot-format=png"
"--no-keyboard-events",
//"--no-dvdnav-menu",
"--no-mouse-events",
"--no-audio", /* we don't want audio */
"--verbose=1", /* show only errors */
"--no-media-library", /* don't want that */
"--services-discovery", "", /* nor that */
"--no-video-title-show", /* nor the filename displayed */
"--no-stats", /* no stats */
"--ignore-config", /* don't use/overwrite the config */
"--no-sub-autodetect", /* don't want subtitles */
"--control", "", /* don't want interface (again) */
//"--no-inhibit", /* i say no interface ! */
"--no-disable-screensaver", /* wanna fight ? */
"--plugin-path=plugins",
"--extraintf", "" , /* ok, it will be a piece of cake */
"--no-plugins-cache"

This is the debug-output right after calling libvlc_media_player_stop

Code: Select all

[0x1a4147c8] main input debug: control type=0 [0x1a4147c8] main input debug: control: stopping input [0x15413b00] main audio output warning: received buffer in the future [0x1ac57078] main decoder debug: thread times: real 0m5.013012s, kernel 0m0.000000s, user 0m0.031200s [0x1ac57078] main decoder debug: removing module "faad" [0x1ac57078] main decoder debug: killing decoder fourcc `mp4a', 3 PES in FIFO [0x1a8f15f0] main audio filter debug: removing module "scaletempo" [0x155db8d0] main audio filter debug: removing module "bandlimited_resampler" [0x15413b00] aout_directx audio output debug: closing audio device [0x1aa788d0] aout_directx generic debug: DirectSoundThread exiting [0x1aa788d0] main generic debug: thread ended [0x1aa788d0] main generic debug: thread times: real 0m3.718010s, kernel 0m0.000000s, user 0m0.015600s [0x15413b00] main audio output debug: removing module "aout_directx" [0x155e3898] main audio filter debug: removing module "audio_format" [0x153fe1f0] main generic debug: removing module "float32_mixer" [0x1a4147c8] main input debug: releasing aout [0x154144a0] main decoder debug: thread times: real 0m5.113012s, kernel 0m0.015600s, user 0m0.109200s [0x154144a0] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped [0x154144a0] main decoder debug: removing module "avcodec" [0x154144a0] main decoder debug: killing decoder fourcc `h264', 0 PES in FIFO [0x1560ae78] main video output debug: [0] 2 0 [0x1560ae78] main video output debug: [1] 2 0 [0x1560ae78] main video output debug: [2] 2 0 [0x1560ae78] main video output debug: [3] 2 0 [0x1560ae78] main video output debug: [4] 2 0 [0x1560ae78] main video output debug: [5] 2 0 [0x1560ae78] main video output debug: [6] 0 0 [0x1560ae78] main video output debug: [7] 0 0 [0x1560ae78] main video output debug: [8] 0 0 [0x1560ae78] main video output debug: [9] 0 0 [0x1560ae78] main video output debug: [10] 0 0 [0x1560ae78] main video output debug: [11] 2 0 [0x1560ae78] main video output debug: [12] 2 0 [0x1560ae78] main video output debug: [13] 2 0 [0x1560ae78] main video output debug: [14] 2 0 [0x1560ae78] main video output debug: [15] 2 0 [0x1560ae78] main video output debug: [16] 2 0 [0x1560ae78] main video output debug: [17] 4 0 [0x1560ae78] main video output debug: [18] 4 0 [0x1560ae78] main video output debug: [19] 4 0 [0x1560ae78] main video output debug: [20] 4 0 [0x1560ae78] main video output debug: [21] 4 0 [0x1560ae78] main video output debug: [22] 4 0 [0x1560ae78] main video output debug: [23] 4 0 [0x1a4147c8] main input debug: saving a free vout [0xcb5b018] mp4 demux debug: freeing all memory [0x154078f0] mp4 stream warning: cannot free box tx3g, type unknown [0xcb5b018] main demux debug: removing module "mp4" [0x154078f0] main stream debug: removing module "stream_filter_record" [0x15538670] main access debug: removing module "filesystem" [0x1a4147c8] main input debug: Program doesn't contain anymore ES [0x1a4147c8] main input debug: thread ended [0x1a4147c8] main input debug: thread times: real 0m5.218012s, kernel 0m0.015600s, user 0m0.078000s [0x1a4147c8] main input debug: Destroying the input for 'R??tk??ppch??n.m4v' PlayerController change STATE to "STOPPED" <-- this is a qDebug() from my app [0x1560ae78] main video output debug: destroying useless vout [0x1a69e4b0] direct3d generic debug: Direct3D scene released successfully
From this point forward i am only able to kill the app thru the taskmanager.

I do not call any vlc functions from the event_manager callbacks.

Any suggestions?

regards
david

DsChAeK
Blank Cone
Blank Cone
Posts: 59
Joined: 01 Mar 2008 14:54
VLC version: newest
Operating System: windows

Re: libvlc_media_player_stop freezes

Postby DsChAeK » 05 Jul 2010 23:17

Sounds a little bit like my problem -> viewtopic.php?f=32&t=77732

WippelDa
Blank Cone
Blank Cone
Posts: 11
Joined: 21 Dec 2009 10:53

Re: libvlc_media_player_stop freezes

Postby WippelDa » 13 Jul 2010 15:18

Still haven't found a solution for my problem.... i also take a look at the vlc source.

no suggestions? a little hint? i would love to contribute something to this great project but need a entry point :)


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 22 guests