Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem streaming video over internet with vlc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
skakz
Guru
Guru


Joined: 03 Jul 2004
Posts: 380
Location: Ischia/Napoli/Italia/Terra

PostPosted: Thu Nov 02, 2006 4:33 pm    Post subject: problem streaming video over internet with vlc Reply with quote

I'm trying to stream a video source over internet with vlc.
the server has a dsl internet line (32Kb/s uploading limitation), so I must use transcode and reduce the bitrate both of video and audio.



Code:
sk@omega ~ $ vlc -vvv temp.avi --sout '#transcode{vcodec=mp4v,vb=128,scale=0.75,acodec=mpga,ab=32,channels=1}:std{access=http,mux=ts,url=:25123}'


seems vlc is ignoring my audio command-line options....

debug:
Quote:
VLC media player 0.8.5 Janus
[00000001] main vlc debug: opening config file /home/sk/.vlc/vlcrc
[00000001] main vlc debug: checking builtin modules
[00000001] main vlc debug: checking plugin modules
[00000001] main vlc debug: loading plugins cache file /home/sk/.vlc/cache/plugins-04081e.dat
[00000001] main vlc debug: recursively browsing `modules'
[00000001] main vlc debug: recursively browsing `/usr/lib64/vlc'
[00000001] main vlc debug: recursively browsing `plugins'
[00000001] main vlc debug: module bank initialized, found 206 modules
[00000001] main vlc debug: opening config file /home/sk/.vlc/vlcrc
[00000001] main vlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT SSE SSE2 FPU
[00000001] main vlc debug: looking for memcpy module: 4 candidates
[00000001] main vlc debug: using memcpy module "memcpymmxext"
[00000265] main playlist debug: waiting for thread completion
[00000265] main playlist debug: thread 1082132800 (playlist) created at priority 0 (playlist/playlist.c:184)
[00000266] main private debug: waiting for thread completion
[00000266] main private debug: thread 1090525504 (preparser) created at priority 0 (playlist/playlist.c:210)
[00000267] main interface debug: looking for interface module: 1 candidate
[00000267] main interface debug: using interface module "hotkeys"
[00000267] main interface debug: thread 1098918208 (interface) created at priority 0 (interface/interface.c:231)
[00000269] main interface debug: looking for interface module: 1 candidate
[00000269] main interface debug: using interface module "screensaver"
[00000269] main interface debug: thread 1107310912 (interface) created at priority 0 (interface/interface.c:231)
[00000265] main playlist debug: adding playlist item `Star Wars - Episodio IV - Una Nuova Speranza.avi' ( Star Wars - Episodio IV - Una Nuova Speranza.avi )
[00000271] main interface debug: looking for interface module: 4 candidates
[00000271] main interface debug: using interface module "wxwidgets"
[00000271] main interface debug: thread 1115703616 (manager) created at priority 0 (interface/interface.c:216)
[00000271] wxwidgets interface debug: Using last windows config '(-1,0,0,1024,768)(0,54,421,415,112)(6,0,0,-1,150)'
[00000271] wxwidgets interface debug: id=0 p=(54,421) s=(415,112)
[00000271] wxwidgets interface debug: id=6 p=(0,0) s=(-1,150)
[00000265] main playlist debug: nothing requested, starting
[00000265] main playlist debug: creating new input thread
[00000274] main input debug: waiting for thread completion
[00000274] main input debug: thread 1124096320 (input) created at priority 0 (input/input.c:261)
[00000274] main input debug: creating statistics handler
[00000276] main stream output debug: stream=`transcode'
[00000277] main private debug: looking for sout stream module: 1 candidate
[00000276] main stream output debug: stream=`std'
[00000280] main private debug: looking for sout stream module: 1 candidate
[00000280] main private debug: set sout option: sout-standard-access to http
[00000280] main private debug: set sout option: sout-standard-mux to ts
[00000280] main private warning: Option sout-standard-url is deprecated. You should use sout-standard-dst instead.
[00000280] main private debug: set sout option: sout-standard-dst to :25123
[00000280] stream_out_standard private debug: creating `http/ts://:25123'
[00000280] stream_out_standard private debug: using `http/ts://:25123'
[00000282] main private debug: looking for sout access module: 1 candidate
[00000282] main private: creating httpd
[00000282] main private debug: net: listening to port 25123
[00000285] main http server debug: thread 1132489024 (httpd host thread) created at priority 0 (network/httpd.c:1076)
[00000282] main private debug: using sout access module "access_output_http"
[00000280] stream_out_standard private debug: access opened
[00000286] main private debug: looking for sout mux module: 1 candidate
[00000286] mux_ts private debug: shaping=200000 pcr=70000 dts_delay=400000
[00000286] main private debug: using sout mux module "mux_ts"
[00000276] main stream output debug: muxer support adding stream at any time
[00000280] stream_out_standard private debug: mux opened
[00000280] main private debug: using sout stream module "stream_out_standard"
[00000277] main private debug: set sout option: sout-transcode-vcodec to mp4v
[00000277] main private debug: set sout option: sout-transcode-vb to 128
[00000277] main private debug: set sout option: sout-transcode-scale to 0.75
[00000277] main private debug: set sout option: sout-transcode-acodec to mpga
[00000277] main private debug: set sout option: sout-transcode-ab to 32
[00000277] main private debug: set sout option: sout-transcode-samplerate to 22050
[00000277] main private debug: set sout option: sout-transcode-channels to 1
[00000277] stream_out_transcode private debug: codec audio=mpga 22050Hz 1 channels 32Kb/s
[00000277] stream_out_transcode private warning: bad aspect ratio
[00000277] stream_out_transcode private debug: codec video=mp4v 0x0 scaling: 0.750000 128kb/s
[00000277] main private debug: using sout stream module "stream_out_transcode"
[00000274] main input debug: `Star Wars - Episodio IV - Una Nuova Speranza.avi' gives access `' demux `' path `Star Wars - Episodio IV - Una Nuova Speranza.avi'
[00000274] main input debug: creating demux: access='' demux='' path='Star Wars - Episodio IV - Una Nuova Speranza.avi'
[00000287] main demuxer debug: looking for access_demux module: 2 candidates
[00000274] main input debug: creating access '' path='Star Wars - Episodio IV - Una Nuova Speranza.avi'
[00000290] main access debug: looking for access2 module: 2 candidates
[00000290] access_file access debug: opening file `Star Wars - Episodio IV - Una Nuova Speranza.avi'
[00000290] main access debug: using access2 module "access_file"
[00000294] main private debug: pre-buffering...
[00000294] main private debug: received first data for our buffer
[00000294] main private debug: pre-buffering done 1408981 bytes in 0s - 524374 kbytes/s
[00000274] main input debug: creating demux: access='' demux='' path='Star Wars - Episodio IV - Una Nuova Speranza.avi'
[00000295] main demuxer debug: looking for demux2 module: 44 candidates
[00000294] avi private debug: found Chunk fourcc:46464952 (RIFF) size:734048830 pos:0
[00000294] avi private debug: found LIST chunk: 'AVI '
[00000294] avi private debug: <list 'AVI '>
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:8830 pos:12
[00000294] avi private debug: found LIST chunk: 'hdrl'
[00000294] avi private debug: <list 'hdrl'>
[00000294] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000294] avi private debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 544x224
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
[00000294] avi private debug: found LIST chunk: 'strl'
[00000294] avi private debug: <list 'strl'>
[00000294] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000294] avi private debug: strh: type:vids handler:0x64697678 samplesize:0 25.00fps
[00000294] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000294] avi private debug: strf: video:XVID 544x224 planes:1 24bpp
[00000294] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
[00000294] avi private debug: </list 'strl'>
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:4234 pos:4340
[00000294] avi private debug: found LIST chunk: 'strl'
[00000294] avi private debug: <list 'strl'>
[00000294] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:4352
[00000294] avi private debug: strh: type:auds handler:0x00000000 samplesize:0 38.28fps
[00000294] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:4416
[00000294] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 84kb/s
[00000294] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:4454
[00000294] avi private debug: </list 'strl'>
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:260 pos:8582
[00000294] avi private debug: found LIST chunk: 'odml'
[00000294] avi private debug: <list 'odml'>
[00000294] avi private debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:8594
[00000294] avi private warning: unknown chunk (not loaded)
[00000294] avi private debug: </list 'odml'>
[00000294] avi private debug: </list 'hdrl'>
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:56 pos:8850
[00000294] avi private debug: found LIST chunk: 'INFO'
[00000294] avi private debug: <list 'INFO'>
[00000294] avi private debug: found Chunk fourcc:54465349 (ISFT) size:44 pos:8862
[00000294] avi private debug: ISFT: software : VirtualDubMod 1.5.10.2 (build 2540/release)
[00000294] avi private debug: </list 'INFO'>
[00000294] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1318 pos:8914
[00000294] avi private debug: found Chunk fourcc:5453494c (LIST) size:726771830 pos:10240
[00000294] avi private debug: skipping movi chunk
[00000294] avi private debug: found Chunk fourcc:31786469 (idx1) size:7266752 pos:726782078
[00000294] avi private debug: idx1: index entry:454172
[00000294] avi private debug: </list 'AVI '>
[00000294] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1458 pos:734048838
[00000294] avi private debug: * LIST-root size:734050304 pos:0
[00000294] avi private debug: + RIFF-AVI size:734048830 pos:0
[00000294] avi private debug: | + LIST-hdrl size:8830 pos:12
[00000294] avi private debug: | | + avih size:56 pos:24
[00000294] avi private debug: | | + LIST-strl size:4244 pos:88
[00000294] avi private debug: | | | + strh size:56 pos:100
[00000294] avi private debug: | | | + strf size:40 pos:164
[00000294] avi private debug: | | | + JUNK size:4120 pos:212
[00000294] avi private debug: | | + LIST-strl size:4234 pos:4340
[00000294] avi private debug: | | | + strh size:56 pos:4352
[00000294] avi private debug: | | | + strf size:30 pos:4416
[00000294] avi private debug: | | | + JUNK size:4120 pos:4454
[00000294] avi private debug: | | + LIST-odml size:260 pos:8582
[00000294] avi private debug: | | | + dmlh size:248 pos:8594
[00000294] avi private debug: | + LIST-INFO size:56 pos:8850
[00000294] avi private debug: | | + ISFT size:44 pos:8862
[00000294] avi private debug: | + JUNK size:1318 pos:8914
[00000294] avi private debug: | + LIST-movi size:726771830 pos:10240
[00000294] avi private debug: | + idx1 size:7266752 pos:726782078
[00000294] avi private debug: + JUNK size:1458 pos:734048838
[00000295] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
[00000295] avi demuxer debug: stream[0] rate:25 scale:1 samplesize:0
[00000295] avi demuxer debug: stream[0] video(XVID) 544x224 24bpp 25.000000fps
[00000274] main input debug: selecting program id=0
[00000295] avi demuxer debug: stream[1] rate:44100 scale:1152 samplesize:0
[00000295] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits
[00000295] avi demuxer debug: stream[0] created 179426 index entries
[00000295] avi demuxer debug: stream[1] created 274746 index entries
[00000295] avi demuxer debug: stream[0] length:7177 (based on index)
[00000295] avi demuxer debug: stream[1] length:7177 (based on index)
[00000295] main demuxer debug: using demux2 module "avi"
[00000274] main input debug: looking for a subtitle file in /media/KZONE/filmz/Star Wars/
[00000297] main packetizer debug: looking for packetizer module: 16 candidates
[00000297] main packetizer debug: using packetizer module "packetizer_mpeg4video"
[00000274] main input debug: stream out mode -> no decoder thread
[00000315] main packetizer debug: looking for packetizer module: 16 candidates
[00000315] main packetizer debug: using packetizer module "mpeg_audio"
[00000274] main input debug: stream out mode -> no decoder thread
[00000274] main input debug: starting in synch mode
[00000274] main input debug: meta information:
[00000274] main input debug: - 'Impostazione' = ' HAS_INDEX IS_INTERLEAVED'
[00000274] main input debug: `Star Wars - Episodio IV - Una Nuova Speranza.avi' successfully opened
[00000295] avi demuxer debug: old:0 < new 0
[00000295] avi demuxer debug: old:0 < new 0
[00000276] main stream output debug: adding a new input
[00000277] stream_out_transcode private debug: creating video transcoding from fcc=`mp4v' to fcc=`mp4v'
[00000321] main decoder debug: looking for decoder module: 21 candidates
[00000321] ffmpeg decoder debug: libavcodec initialized (interface 3344640 )
[00000321] ffmpeg decoder debug: postprocessing disabled
[00000321] ffmpeg decoder debug: using direct rendering
[00000321] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000321] main decoder debug: using decoder module "ffmpeg"
[00000322] main encoder debug: looking for encoder module: 6 candidates
[00000322] ffmpeg encoder debug: libavcodec already initialized
[00000322] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000322] main encoder debug: using encoder module "ffmpeg"
[00000322] main encoder debug: removing module "ffmpeg"
[00000277] stream_out_transcode private debug: decoder aspect is 1049142:432000
[00000277] stream_out_transcode private debug: source pixel aspect is 0.999999:1
[00000277] stream_out_transcode private debug: scaled pixel aspect is 0.998282:1
[00000277] stream_out_transcode private debug: source 544x224, crop 544x224, destination 416x172, padding 416x172
[00000277] stream_out_transcode private debug: encoder aspect is 1043042:432000
[00000322] main encoder debug: looking for encoder module: 6 candidates
[00000322] ffmpeg encoder debug: libavcodec already initialized
[00000322] ffmpeg encoder debug: found encoder MPEG-4 Video
[00000322] main encoder debug: using encoder module "ffmpeg"
[00000286] main private debug: adding a new input
[00000286] mux_ts private debug: adding input codec=mp4v pid=68
[00000286] mux_ts private debug: new PCR PID is 68
[00000342] main private debug: looking for crop padd module: 1 candidate
[00000342] ffmpeg private debug: input: 416x172 -> 544x224
[00000342] ffmpeg private debug: input: 544x224 I420 -> 416x172 I420
[00000342] ffmpeg private debug: libavcodec already initialized
[00000342] main private debug: using crop padd module "ffmpeg"
[00000315] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:128
[00000276] main stream output debug: adding a new input
[00000277] stream_out_transcode private debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
[00000343] main decoder debug: looking for decoder module: 21 candidates
[00000343] main decoder debug: using decoder module "mpeg_audio"
[00000344] main encoder debug: looking for encoder module: 6 candidates
[00000344] ffmpeg encoder debug: libavcodec already initialized
[00000344] ffmpeg encoder debug: found encoder MPEG Audio layer 1/2
[00000344] main encoder debug: using encoder module "ffmpeg"
[00000345] main private debug: looking for audio filter2 module: 5 candidates
[00000345] mpgatofixed32 private debug: mpga->fl32, bits per sample: 0
[00000345] main private debug: using audio filter2 module "mpgatofixed32"
[00000348] main private debug: looking for audio filter2 module: 5 candidates
[00000348] linear_resampler private debug: fl32/44100KHz/1->s16l/22050KHz/1
[00000348] main private debug: using audio filter2 module "linear_resampler"
[00000355] main private debug: looking for audio filter2 module: 5 candidates
[00000355] audio_format private debug: fl32->s16l, bits per sample: 32
[00000355] main private debug: using audio filter2 module "audio_format"
[00000286] main private debug: adding a new input
[00000286] mux_ts private debug: adding input codec=mpga pid=69
[00000343] mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128
[00000322] ffmpeg encoder warning: almost fed libavcodec with a frame in the past (current: 1162390659916028, last: 1162390659996028)


as you can see audio bitrate is 128 and channels are 2..
Quote:
mpeg_audio decoder debug: MPGA channels:2 samplerate:44100 bitrate:128


i've tried others audio codecs too.. but problem is always the same..
any and all suggestions are appreciated
_________________
Linux Registered User n.340423
Linux User Group Ischia
www.tush.it
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum