vod nad x264

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
johnnylq
Blank Cone
Blank Cone
Posts: 40
Joined: 09 Sep 2005 01:36
Location: Peru

vod nad x264

Postby johnnylq » 27 Sep 2005 23:54

hi to all; well I have transcode a *mpg video to h264 with "mencoder"(Mplayer), this wiht tha *.avi container; I can see the video from my vlc 0.8.4-test-1 but when I try to put it in the vod enviroment Ihave the next error:

*********************************************************************************************
[00000278] access_file access debug: opening file `/home/jlaura/videos/Eminemx264mencoder.avi'
[00000154] main module debug: using access2 module "access_file"
[00000283] main private debug: pre buffering
[00000283] main private debug: received first data for our buffer
[00000283] main private debug: prebuffering done 1408981 bytes in 0s - 576196 kbytes/s
[00000272] main input debug: creating demux: access='' demux='' path='/home/jlaura/videos/Eminemx264mencoder.avi'
[00000284] main demuxer debug: looking for demux2 module: 40 candidates
[00000283] avi private debug: found Chunk fourcc:46464952 (RIFF) size:24911280 pos:0
[00000283] avi private debug: found LIST chunk: 'AVI '
[00000283] avi private debug: <list 'AVI '>
[00000283] avi private debug: found Chunk fourcc:5453494c (LIST) size:370 pos:12
[00000283] avi private debug: found LIST chunk: 'hdrl'
[00000283] avi private debug: <list 'hdrl'>
[00000283] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000283] avi private debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE 352x240
[00000283] avi private debug: found Chunk fourcc:5453494c (LIST) size:192 pos:88
[00000283] avi private debug: found LIST chunk: 'strl'
[00000283] avi private debug: <list 'strl'>
[00000283] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000283] avi private debug: strh: type:vids handler:0x34363268 samplesize:0 29.97fps
[00000283] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000283] avi private debug: strf: video:h264 352x240 planes:1 24bpp
[00000283] avi private debug: found Chunk fourcc:70727076 (vprp) size:68 pos:212
[00000283] avi private warning: unknown chunk (not loaded)
[00000283] avi private debug: </list 'strl'>
[00000283] avi private debug: found Chunk fourcc:5453494c (LIST) size:94 pos:288
[00000283] avi private debug: found LIST chunk: 'strl'
[00000283] avi private debug: <list 'strl'>
[00000283] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:300
[00000283] avi private debug: strh: type:auds handler:0x00000050 samplesize:0 38.28fps
[00000283] avi private debug: found Chunk fourcc:66727473 (strf) size:18 pos:364
[00000283] avi private debug: strf: audio:0x0050 channels:2 44100Hz 0bits/sample 218kb/s
[00000283] avi private debug: </list 'strl'>
[00000283] avi private debug: </list 'hdrl'>
[00000283] avi private debug: found Chunk fourcc:5453494c (LIST) size:48 pos:390
[00000283] avi private debug: found LIST chunk: 'INFO'
[00000283] avi private debug: <list 'INFO'>
[00000283] avi private debug: found Chunk fourcc:54465349 (ISFT) size:36 pos:402
[00000283] avi private debug: ISFT: software : MEncoder dev-CVS-050927-15:52-3.3.5
[00000283] avi private debug: </list 'INFO'>
[00000283] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:3642 pos:446
[00000283] avi private debug: found Chunk fourcc:5453494c (LIST) size:24559336 pos:4096
[00000283] avi private debug: skipping movi chunk
[00000283] avi private debug: found Chunk fourcc:31786469 (idx1) size:347840 pos:24563440
[00000283] avi private debug: idx1: index entry:21740
[00000283] avi private debug: </list 'AVI '>
[00000283] avi private debug: * LIST-root size:24911288 pos:0
[00000283] avi private debug: + RIFF-AVI size:24911280 pos:0
[00000283] avi private debug: | + LIST-hdrl size:370 pos:12
[00000283] avi private debug: | | + avih size:56 pos:24
[00000283] avi private debug: | | + LIST-strl size:192 pos:88
[00000283] avi private debug: | | | + strh size:56 pos:100
[00000283] avi private debug: | | | + strf size:40 pos:164
[00000283] avi private debug: | | | + vprp size:68 pos:212
[00000283] avi private debug: | | + LIST-strl size:94 pos:288
[00000283] avi private debug: | | | + strh size:56 pos:300
[00000283] avi private debug: | | | + strf size:18 pos:364
[00000283] avi private debug: | + LIST-INFO size:48 pos:390
[00000283] avi private debug: | | + ISFT size:36 pos:402
[00000283] avi private debug: | + JUNK size:3642 pos:446
[00000283] avi private debug: | + LIST-movi size:24559336 pos:4096
[00000283] avi private debug: | + idx1 size:347840 pos:24563440
[00000284] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
[00000284] avi demuxer debug: stream[0] rate:30000 scale:1001 samplesize:0
[00000284] avi demuxer debug: stream[0] video(h264) 352x240 24bpp 29.970030fps
[00000272] main input debug: selecting program id=0
[00000284] avi demuxer debug: stream[1] rate:44100 scale:1152 samplesize:0
[00000284] avi demuxer debug: stream[1] audio(0x50) 2 channels 44100Hz 0bits
[00000284] avi demuxer debug: stream[0] created 9545 index entries
[00000284] avi demuxer debug: stream[1] created 12195 index entries
[00000284] avi demuxer debug: stream[0] length:318 (based on index)
[00000284] avi demuxer debug: stream[1] length:318 (based on index)
[00000109] main module debug: using demux2 module "avi"
[00000272] main input debug: looking for a subtitle file in /home/jlaura/videos/
[00000286] main packetizer debug: looking for packetizer module: 16 candidates
[00000248] main module debug: using packetizer module "packetizer_h264"
[00000272] main input debug: stream out mode -> no decoder thread
[00000306] main packetizer debug: looking for packetizer module: 16 candidates
[00000083] main module debug: using packetizer module "mpeg_audio"
[00000272] main input debug: stream out mode -> no decoder thread
[00000272] main input debug: starting in asynch mode
[00000272] main input debug: meta information:
[00000272] main input debug: - 'Opción' = ' HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE'
[00000272] main input debug: `/home/jlaura/videos/Eminemx264mencoder.avi' successfully opened
[00000284] avi demuxer debug: old:0 < new 0
[00000284] avi demuxer debug: old:0 < new 0
[00000286] packetizer_h264 packetizer debug: found NAL_SPS
[00000286] packetizer_h264 packetizer debug: found NAL_PPS
[00000306] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:224
[00000273] main stream output debug: adding a new input
[00000273] main stream output debug: adding a new input
[00000284] avi demuxer warning: cannot skip packet, track disabled
[00000248] main module debug: unlocking module "packetizer_h264"
[00000286] main packetizer debug: killing decoder fourcc `h264', 0 PES in FIFO
[00000273] main stream output debug: removing an input
[00000284] avi demuxer warning: cannot skip packet, track disabled
[00000083] main module debug: unlocking module "mpeg_audio"
[00000306] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO
[00000273] main stream output debug: removing an input
[00000272] main input debug: EOF reached
[00000272] main input debug: closing input
[00000283] avi private debug: free chunk avih
[00000283] avi private debug: free chunk strh
[00000283] avi private debug: free chunk strf
[00000283] avi private warning: unknown chunk (not unloaded)
[00000283] avi private debug: free chunk LIST
[00000283] avi private debug: free chunk strh
[00000283] avi private debug: free chunk strf
[00000283] avi private debug: free chunk LIST
[00000283] avi private debug: free chunk LIST
[00000283] avi private debug: free chunk ISFT
[00000283] avi private debug: free chunk LIST
[00000283] avi private debug: free chunk JUNK
[00000283] avi private debug: free chunk LIST
[00000283] avi private debug: free chunk idx1
[00000283] avi private debug: free chunk RIFF
[00000283] avi private debug: free chunk LIST
[00000109] main module debug: unlocking module "avi"
[00000154] main module debug: unlocking module "access_file"
[00000272] main input debug: destroying sout
[00000274] main private debug: destroying chain... (name=description)
[00000199] main module debug: unlocking module "stream_out_description"
[00000274] main private debug: destroying chain done
[00000272] main input debug: thread 1101011888 joined (src/input/input.c:386)
[00000268] vod_rtsp private debug: created rtsp url: /Test
[00000268] vod_rtsp private debug: media has 2 declared ES
[00000268] vod_rtsp private debug: - ES mpga (/Test/trackid=0)
[00000268] vod_rtsp private debug: - ES h264 (/Test/trackid=1)
[00000268] vod_rtsp private error: cannot add this stream (unsupported codec: h264)
*********************************************************************************************************

can anyone tell me if you put a video h264 into vod enviroment???...if there are a way to make this??
..........
Another problem is that I can't see the video trancoded from my VLC -0.8.2, I don't know why???

...ps sorry for my english

someone64
Blank Cone
Blank Cone
Posts: 14
Joined: 13 Aug 2007 02:49
VLC version: 1.1.4
Operating System: Windows, Ubuntu

Re: vod nad x264

Postby someone64 » 06 Oct 2007 03:23

You cannot use H264 video codec with VOD, only MPEG 1/2/4.

lyes
New Cone
New Cone
Posts: 4
Joined: 05 Feb 2008 18:24

Re: vod nad x264

Postby lyes » 13 Feb 2008 17:28

i found the problem !

dont use

new video_name vod enabled

but

new vdeo_name vod

...

setup video_name enabled


And the H264 contained in the ts video work in vod perfectly !!

squirrel_gym
New Cone
New Cone
Posts: 1
Joined: 17 Dec 2008 16:10

Re: vod nad x264

Postby squirrel_gym » 17 Dec 2008 16:20

I have tried what you did but it does not work ... It seems like no data is sent ...

> new video vod
> setup video input /home/imanol/servidor_media/video1.avi
> setup video enabled


[00000295] [Medio: video] main input debug: waiting for thread completion
[00000295] [Medio: video] main input debug: thread 3012348816 (input) created at priority 0 (input/input.c:265)
[00000296] [Medio: video] main stream output debug: stream=`description'
[00000297] [Medio: video] main private debug: looking for sout stream module: 1 candidate
[00000297] [Medio: video] main private debug: using sout stream module "stream_out_description"
[00000295] [Medio: video] main input debug: `/home/imanol/servidor_media/video1.avi' gives access `' demux `' path `/home/imanol/servidor_media/video1.avi'
[00000295] [Medio: video] main input debug: creating demux: access='' demux='' path='/home/imanol/servidor_media/video1.avi'
[00000299] [Medio: video] main demuxer debug: looking for access_demux module: 2 candidates
[00000295] [Medio: video] main input debug: creating access '' path='/home/imanol/servidor_media/video1.avi'
[00000302] [Medio: video] main access debug: looking for access2 module: 5 candidates
[00000302] [Medio: video] vcd access debug: trying .cue file: /home/imanol/servidor_media/video1.cue
[00000302] [Medio: video] vcd access debug: could not find .cue file
[00000302] [Medio: video] access_file access debug: opening file `/home/imanol/servidor_media/video1.avi'
[00000302] [Medio: video] main access debug: using access2 module "access_file"
[00000308] [Medio: video] main private debug: pre-buffering...
[00000308] [Medio: video] main private debug: received first data for our buffer
[00000295] [Medio: video] main input debug: creating demux: access='' demux='' path='/home/imanol/servidor_media/video1.avi'
[00000309] [Medio: video] main demuxer debug: looking for demux2 module: 45 candidates
[00000308] [Medio: video] avi private debug: found Chunk fourcc:46464952 (RIFF) size:1375276 pos:0
[00000308] [Medio: video] avi private debug: found LIST chunk: 'AVI '
[00000308] [Medio: video] avi private debug: <list 'AVI '>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:5453494c (LIST) size:4588 pos:12
[00000308] [Medio: video] avi private debug: found LIST chunk: 'hdrl'
[00000308] [Medio: video] avi private debug: <list 'hdrl'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
[00000308] [Medio: video] avi private debug: avih: streams:1 flags: HAS_INDEX 320x136
[00000308] [Medio: video] avi private debug: found Chunk fourcc:5453494c (LIST) size:4244 pos:88
[00000308] [Medio: video] avi private debug: found LIST chunk: 'strl'
[00000308] [Medio: video] avi private debug: <list 'strl'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
[00000308] [Medio: video] avi private debug: strh: type:vids handler:0x34363278 samplesize:0 10.00fps
[00000308] [Medio: video] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
[00000308] [Medio: video] avi private debug: strf: video:H264 320x136 planes:1 24bpp
[00000308] [Medio: video] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:4120 pos:212
[00000308] [Medio: video] avi private debug: </list 'strl'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:5453494c (LIST) size:260 pos:4340
[00000308] [Medio: video] avi private debug: found LIST chunk: 'odml'
[00000308] [Medio: video] avi private debug: <list 'odml'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:686c6d64 (dmlh) size:248 pos:4352
[00000308] [Medio: video] avi private warning: unknown chunk (not loaded)
[00000308] [Medio: video] avi private debug: </list 'odml'>
[00000308] [Medio: video] avi private debug: </list 'hdrl'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:3576 pos:4608
[00000308] [Medio: video] avi private debug: found Chunk fourcc:5453494c (LIST) size:1350492 pos:8192
[00000308] [Medio: video] avi private debug: skipping movi chunk
[00000308] [Medio: video] avi private debug: found Chunk fourcc:31786469 (idx1) size:16528 pos:1358692
[00000308] [Medio: video] avi private debug: idx1: index entry:1033
[00000308] [Medio: video] avi private debug: found Chunk fourcc:5453494c (LIST) size:48 pos:1375228
[00000308] [Medio: video] avi private debug: found LIST chunk: 'INFO'
[00000308] [Medio: video] avi private debug: <list 'INFO'>
[00000308] [Medio: video] avi private debug: found Chunk fourcc:54465349 (ISFT) size:36 pos:1375240
[00000308] [Medio: video] avi private debug: ISFT: software : MEncoder dev-CVS-051014-22:10-3.4.4
[00000308] [Medio: video] avi private debug: </list 'INFO'>
[00000308] [Medio: video] avi private debug: </list 'AVI '>
[00000308] [Medio: video] avi private debug: * LIST-root size:1375284 pos:0
[00000308] [Medio: video] avi private debug: + RIFF-AVI size:1375276 pos:0
[00000308] [Medio: video] avi private debug: | + LIST-hdrl size:4588 pos:12
[00000308] [Medio: video] avi private debug: | | + avih size:56 pos:24
[00000308] [Medio: video] avi private debug: | | + LIST-strl size:4244 pos:88
[00000308] [Medio: video] avi private debug: | | | + strh size:56 pos:100
[00000308] [Medio: video] avi private debug: | | | + strf size:40 pos:164
[00000308] [Medio: video] avi private debug: | | | + JUNK size:4120 pos:212
[00000308] [Medio: video] avi private debug: | | + LIST-odml size:260 pos:4340
[00000308] [Medio: video] avi private debug: | | | + dmlh size:248 pos:4352
[00000308] [Medio: video] avi private debug: | + JUNK size:3576 pos:4608
[00000308] [Medio: video] avi private debug: | + LIST-movi size:1350492 pos:8192
[00000308] [Medio: video] avi private debug: | + idx1 size:16528 pos:1358692
[00000308] [Medio: video] avi private debug: | + LIST-INFO size:48 pos:1375228
[00000308] [Medio: video] avi private debug: | | + ISFT size:36 pos:1375240
[00000309] [Medio: video] avi demuxer debug: AVIH: 1 stream, flags HAS_INDEX
[00000309] [Medio: video] avi demuxer debug: stream[0] rate:10 scale:1 samplesize:0
[00000309] [Medio: video] avi demuxer debug: stream[0] video(H264) 320x136 24bpp 10.000000fps
[00000295] [Medio: video] main input debug: selecting program id=0
[00000309] [Medio: video] avi demuxer debug: stream[0] created 1033 index entries
[00000309] [Medio: video] avi demuxer debug: stream[0] length:103 (based on index)
[00000309] [Medio: video] main demuxer debug: using demux2 module "avi"
[00000295] [Medio: video] main input debug: looking for a subtitle file in /home/imanol/servidor_media/
[00000311] [Medio: video] main packetizer debug: looking for packetizer module: 17 candidates
[00000311] [Medio: video] main packetizer debug: using packetizer module "packetizer_h264"
[00000295] [Medio: video] main input debug: stream out mode -> no decoder thread
[00000295] [Medio: video] main input debug: starting in async mode
[00000295] [Medio: video] main input debug: meta information:
[00000295] [Medio: video] main input debug: - 'Opci�n' = ' HAS_INDEX'
[00000295] [Medio: video] main input debug: `/home/imanol/servidor_media/video1.avi' successfully opened
[00000309] [Medio: video] avi demuxer debug: old:0 < new 0
[00000311] [Medio: video] packetizer_h264 packetizer debug: found NAL_SPS
[00000311] [Medio: video] packetizer_h264 packetizer debug: found NAL_PPS
[00000296] [Medio: video] main stream output debug: adding a new input
[00000309] [Medio: video] avi demuxer warning: cannot skip packet, track disabled
[00000311] [Medio: video] main packetizer debug: removing module "packetizer_h264"
[00000311] [Medio: video] main packetizer debug: killing decoder fourcc `H264', 0 PES in FIFO
[00000296] [Medio: video] main stream output debug: removing an input
[00000295] [Medio: video] main input debug: EOF reached
[00000295] [Medio: video] main input debug: closing input
[00000308] [Medio: video] avi private debug: free chunk avih
[00000308] [Medio: video] avi private debug: free chunk strh
[00000308] [Medio: video] avi private debug: free chunk strf
[00000308] [Medio: video] avi private debug: free chunk JUNK
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000308] [Medio: video] avi private warning: unknown chunk (not unloaded)
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000308] [Medio: video] avi private debug: free chunk JUNK
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000308] [Medio: video] avi private debug: free chunk idx1
[00000308] [Medio: video] avi private debug: free chunk ISFT
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000308] [Medio: video] avi private debug: free chunk RIFF
[00000308] [Medio: video] avi private debug: free chunk LIST
[00000309] [Medio: video] main demuxer debug: removing module "avi"
[00000302] [Medio: video] main access debug: removing module "access_file"
[00000295] [Medio: video] main input debug: destroying sout
[00000297] main private debug: destroying chain... (name=description)
[00000297] main private debug: removing module "stream_out_description"
[00000297] main private debug: destroying chain done
[00000295] [Medio: video] main input debug: thread 3012348816 joined (input/input.c:412)
[00000290] vod_rtsp private debug: created RTSP url: /video
[00000290] vod_rtsp private debug: media has 1 declared ES
[00000290] vod_rtsp private debug: - ES h264 (/video/trackID=0)
[00000290] vod_rtsp private debug: deleting media: /video
[00000290] vod_rtsp private debug: - Removing ES h264

can anyone tell me how to put a video h264 into vod enviroment???

Thx.

IANIRE.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 2 guests