Request for adding audio track cmd in RC interface

Feature requests for VLC.
vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

Request for adding audio track cmd in RC interface

Postby vlcrcuser » 24 Aug 2006 03:25

It's nice that vlc.exe can change the audio track and audio mode in RC interface module.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Aug 2006 17:59

I'll try to add that this week end. (try == if i remember)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

That's great

Postby vlcrcuser » 25 Aug 2006 22:03

I'll try to add that this week end. (try == if i remember)
Thanks in advance.
Let me know when you're ready, I'll be happy to test them.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 26 Aug 2006 00:13

http://trac.videolan.org/vlc/changeset/16350 adds the "atrack", "vtrack" and "strack" commands. The other command you were looking for is "achan" (unless you meant something else when talking about audio mode) and is already available.
The should be include in tomorrow's nightly builds.

Tell me if they work as intended.

Best regards,
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

Postby vlcrcuser » 28 Aug 2006 03:01

Hi,

It's seem to me that's the new atrack cmd for RC interface is working properly as expected. However, the new vlc.exe-20060827-318 version having problem when start the video screen, therefore I could not test the vtrack and strack cmds.

Best Regards
HDN

Here is a debug screen:

main debug: `D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB' gives access `' demux `' path `D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB'
main debug: creating demux: access='' demux='' path='D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB'
main debug: looking for access2 module: 5 candidates
vcd debug: trying .cue file: D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.cue
access_file debug: opening file `D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 374206 kbytes/s
main debug: creating demux: access='' demux='' path='D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB'
main debug: looking for demux2 module: 46 candidates
main debug: using demux2 module "ps"
main debug: looking for a subtitle file in D:\Documents and Settings\Huu\My Documents\My Videos\
main debug: `D:\Documents and Settings\Huu\My Documents\My Videos\Adieu Mon Pays - Khanh Ly.VOB' successfully opened
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps warning: garbage at input, trying to resync...
ps warning: found sync code
ps warning: garbage at input, trying to resync...
ps warning: found sync code
main debug: selecting program id=0
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "libmpeg2"
main debug: thread 5024 (decoder) created at priority 0 (input/decoder.c:168)
main debug: thread 5036 (input) created at priority 1 (input/input.c:264)
libmpeg2 debug: 720x480 (display 720,480), aspect 768000, sar 32:27, 29.971 fps
main debug: no usable vout present, spawning one
main debug: looking for decoder module: 27 candidates
main debug: using decoder module "a52"
main debug: Registering subpicture channel, ID: 2
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
main debug: thread 5116 (decoder) created at priority 2 (input/decoder.c:168)
a52: A/52 channels:2 samplerate:48000 bitrate:448000
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
aout_directx debug: found device: Primary Sound Driver
aout_directx debug: found device: SoundMAX Digital Audio
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
aout_directx debug: device supports A/52 over S/PDIF
aout_directx debug: creating DirectSoundThread
main debug: thread 4744 (DirectSound Notification Thread) created at priority 15 (directx.c:372)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: input 'a52 ' 48000 Hz Stereo frame=1536 samples/1792 bytes
main debug: filter(s) 'a52 '->'fl32' 48000 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "a52tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main debug: window size: 853x480
main debug: looking for video output module: 6 candidates
direct3d debug: creating DirectXEventThread
main debug: waiting for thread completion
direct3d debug: DirectXCreateWindow
direct3d debug: created video sub-window
main debug: thread 5320 (DirectX Events Thread) created at priority 0 (direct3d.c:178)
direct3d debug: DirectXEventThread running
main debug: using video output module "direct3d"
direct3d error: Could not create the D3D device! (hr=0x8876017C)
direct3d error: cannot initialize Direct3D
main debug: waiting for thread completion
main debug: thread 5328 (video output) created at priority 1 (video_output/video_output.c:463)
main error: video output creation failed
direct3d debug: DirectXEventThread terminating
direct3d debug: DirectXCloseWindow
direct3d debug: WinProc WM_DESTROY
main debug: thread times: real 0m0.140625s, kernel 0m0.031250s, user 0m0.000000s
main debug: thread 5320 joined (direct3d.c:256)
main debug: removing module "direct3d"
main debug: thread times: real 0m0.093750s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 5328 joined (video_output/video_output.c:479)
main error: cannot delete object (691, (null)) with children
main error: failed to create video output
main debug: EOF reached
main debug: waiting decoder fifos to empty
main debug: closing input
main debug: removing module "libmpeg2"
main debug: thread times: real 4m20.437500s, kernel 0m0.000000s, user 0m0.031250s
main debug: thread 5024 joined (input/decoder.c:200)
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing module "a52"
main debug: thread times: real 4m20.296875s, kernel 0m0.015625s, user 0m0.078125s
main debug: thread 5116 joined (input/decoder.c:200)
main debug: killing decoder fourcc `a52 ', 0 PES in FIFO
main debug: removing module "a52tofloat32"
main debug: removing module "bandlimited_resampler"
aout_directx debug: closing audio device
aout_directx debug: DirectSoundThread exiting
main debug: thread times: real 4m20.312500s, kernel 0m0.000000s, user 0m0.000000s

vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

update info

Postby vlcrcuser » 28 Aug 2006 15:52

It seem to me the video problem only occurs on the ATI video cards

Best Regards,

HDN

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 29 Aug 2006 16:17

try changing the video output module back to DirectDraw in the preferences.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

atrack,vtrack status.

Postby vlcrcuser » 30 Aug 2006 00:57

try changing the video output module back to DirectDraw in the preferences.
Video screen works, also vtrack cmd. I don't have any file with 2 subtitles therefore, I couldn't check strack yet. I'll try with some DVD movie that have 2 subtitles and let you know the status of strack command.

My suggestion: when VLC response any command to the host, it should return the current cmd + value. This make the host handles the response easier in multi-thread apps.
Example

Host ----------------- vlc response --------------- current vlc response

get_time ----------- get_time=10 --------------- 10
is_playing ----------- is_playing=0/1 ------------- 0/1

Some current cmds response with cmd + value, ex. atrack, adev...

Have you plan to add the sound effect/equalizer cmd for RC interface ?

Best Regards,

HDN

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 30 Aug 2006 11:21

I'll see what i can do about returning commands' names with the values (it'll most likely break other people's setups so i'm not sure that it's a good idea to change current behavior).

About the equalizer, support for changing it through the rc interface isn't planed, but it shouldn't be hard to do. (Best thing would be to just list the whole bunch of commands which you need)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

vlcrcuser
Blank Cone
Blank Cone
Posts: 27
Joined: 23 Aug 2006 14:59

RC cmds

Postby vlcrcuser » 30 Aug 2006 15:09

I'll see what i can do about returning commands' names with the values (it'll most likely break other people's setups so i'm not sure that it's a good idea to change current behavior).
I understood your concern. How's about add a switch to the code, default response=current response., New response=Cmd+Value(s). It isn't importance, the current response cmds are fined to me. Again, It's just the suggestion for future cmds or If there is a change in RC interface module
About the equalizer, support for changing it through the rc interface isn't planed, but it shouldn't be hard to do. (Best thing would be to just list the whole bunch of commands which you need)
Actually, I don't need the equalize cmds at all but others may needed. So It's up to you .

Best Regards,

HDN


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 6 guests