H264 stream from Sony SNC-RZ50P

About encoding, codec settings, muxers and filter usage
Dalamaar
New Cone
New Cone
Posts: 3
Joined: 07 Nov 2008 12:15

H264 stream from Sony SNC-RZ50P

Postby Dalamaar » 07 Nov 2008 13:27

Hello everyone,

I try to run a H264 stream from the network camera Sony SNC-RZ50P with VLC. I still don't know much about video and streaming stuff, so I hope you can help me. I've tried several ways to run the stream, but it still won't work. I used VLC 0.8.6i and 0.9.4 for all attempts.

At the beginning I tried to get the stream with iexplorer and firefox via "http://<ip_adr>/h264", but both browsers downloaded the stream, when I choosed "open with VLC".

Then I used the "open network stream" option with udp and http. With both protocols I got an input bitrate, but no stream bitrate or an image on the screen. Here are the logs of all tries:

HTTP with VLC 0.8.6i

Code: Select all

main debug: adding playlist item `http://137.226.188.54/h264' ( http://137.226.188.54/h264 ) main debug: creating new input thread main debug: waiting for thread completion main debug: thread 4428 (input) created at priority 1 (input/input.c:265) main debug: `http://137.226.188.54/h264' gives access `http' demux `' path `137.226.188.54/h264' main debug: creating demux: access='http' demux='' path='137.226.188.54/h264' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "http" main debug: creating access 'http' path='137.226.188.54/h264' main debug: looking for access2 module: 7 candidates access_http debug: http: server='137.226.188.54' port=80 file='/h264 main debug: net: connecting to 137.226.188.54 port 80 main debug: connection in progress access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: video/h264 access_http debug: Pragma: no-cache main debug: using access2 module "access_http" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 25773 bytes in 0s - 141 kbytes/s main debug: creating demux: access='http' demux='' path='137.226.188.54/h264' main debug: looking for demux2 module: 45 candidates ffmpeg debug: detected format: mp3 ffmpeg error: av_find_stream_info failed ps error: cannot peek vobsub debug: could not read vobsub IDX file main error: no suitable demux module for `http/://137.226.188.54/h264' main debug: removing module "access_http" main debug: thread times: real 0m21.406250s, kernel 0m0.015625s, user 0m0.062500s main debug: thread 4428 joined (input/input.c:412)
HTTP with VLC 0.9.4

Code: Select all

qt4 debug: New item: http://137.226.188.54/h264 main debug: adding item `http://137.226.188.54/h264' ( http://137.226.188.54/h264 ) main debug: rebuilding array of current - root Wiedergabeliste main debug: rebuild done - 1 items, index -1 main debug: starting new item main debug: processing request item http://137.226.188.54/h264 node null skip 0 main debug: resyncing on http://137.226.188.54/h264 main debug: http://137.226.188.54/h264 is at 0 main debug: creating new input thread main debug: Creating an input for 'http://137.226.188.54/h264' main debug: waiting for thread initialization main debug: thread started main debug: thread 5596 (input) created at priority 1 (input/input.c:370) qt4 debug: Updating the stream status: 3 main debug: `http://137.226.188.54/h264' gives access `http' demux `' path `137.226.188.54/h264' main debug: creating demux: access='http' demux='' path='137.226.188.54/h264' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "http" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'http' path='137.226.188.54/h264' main debug: looking for access module: 2 candidates access_http debug: http: server='137.226.188.54' port=80 file='/h264 main debug: net: connecting to 137.226.188.54 port 80 main debug: connection: Resource temporarily unavailable main debug: connection succeeded (socket = 5612) access_http debug: protocol 'HTTP' answer code 200 access_http debug: Content-Type: video/h264 access_http debug: Pragma: no-cache main debug: using access module "access_http" main debug: TIMER module_Need() : 458.000 ms - Total 458.000 ms / 1 intvls (Avg 458.000 ms) qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 2 main debug: Using AStream*Stream main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 11877 bytes in 0s - 69 kbytes/s main debug: creating demux: access='http' demux='' path='137.226.188.54/h264' main debug: looking for demux module: 51 candidates avformat debug: detected format: mp3 main debug: incoming request - stopping current input main debug: waitpipe: object killed main debug: socket 5612 polling interrupted main debug: dying input avformat error: av_find_stream_info failed lua debug: Trying Lua scripts in C:\Documents and Settings\admin\Application Data\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\appletrailers.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\break.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\canalplus.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\dailymotion.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\france2.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\googlevideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\joox.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\lelombrik.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\megavideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\metacafe.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\youtube.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\youtube_homepage.lua lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC 0.9.4\\share\lua\playlist ps error: cannot peek main debug: dying input vobsub debug: could not read vobsub IDX file main debug: TIMER module_Need() : 6429.000 ms - Total 6429.000 ms / 1 intvls (Avg 6429.000 ms) main error: no suitable demux module for `http/://137.226.188.54/h264' main debug: removing module "access_http" main debug: thread ended qt4 debug: Updating the stream status: 8 main debug: dead input main debug: thread times: real 0m7.109375s, kernel 0m0.046875s, user 0m0.015625s main debug: thread 5596 joined (playlist/engine.c:244) main debug: TIMER input launching for 'http://137.226.188.54/h264' : 7155.000 ms - Total 7155.000 ms / 1 intvls (Avg 7155.000 ms)
UDP with VLC 0.8.6i

Code: Select all

main debug: adding playlist item `udp://@:30000' ( udp://@:30000 ) main debug: creating new input thread main debug: waiting for thread completion main debug: thread 4440 (input) created at priority 1 (input/input.c:265) main debug: `udp://@:30000' gives access `udp' demux `' path `@:30000' main debug: creating demux: access='udp' demux='' path='@:30000' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "udp" main debug: creating access 'udp' path='@:30000' main debug: looking for access2 module: 6 candidates access_udp debug: opening server=:0 local=:30000 main debug: net: connecting to '[]:0@[]:30000' main debug: looking for network module: 1 candidate ipv6 warning: cannot create socket (Winsock error 10047) main debug: using network module "ipv6" main debug: removing module "ipv6" main debug: looking for network module: 1 candidate ipv4 debug: resolving :30000... ipv4 debug: resolving :0... main debug: using network module "ipv4" main debug: removing module "ipv4" main debug: using access2 module "access_udp" main debug: pre buffering access_udp debug: no RTP header detected main debug: creating demux: access='udp' demux='' path='@:30000' main debug: looking for demux2 module: 45 candidates ts warning: TS module discarded (lost sync) ffmpeg debug: detected format: mp3 ffmpeg error: av_find_stream_info failed ps error: cannot peek vobsub debug: could not read vobsub IDX file main error: no suitable demux module for `udp/://@:30000' main debug: removing module "access_udp" main debug: thread times: real 0m21.140625s, kernel 0m0.015625s, user 0m0.046875s main debug: thread 4440 joined (input/input.c:412)
UDP with VLC 0.9.4

Code: Select all

qt4 debug: New item: udp://@:30000 main debug: adding item `udp://@:30000' ( udp://@:30000 ) main debug: rebuilding array of current - root Wiedergabeliste main debug: rebuild done - 2 items, index 0 main debug: starting new item main debug: processing request item udp://@:30000 node null skip 0 main debug: resyncing on udp://@:30000 main debug: udp://@:30000 is at 1 main debug: creating new input thread main debug: Creating an input for 'udp://@:30000' main debug: thread started main debug: waiting for thread initialization main debug: thread 5624 (input) created at priority 1 (input/input.c:370) main debug: `udp://@:30000' gives access `udp' demux `' path `@:30000' main debug: creating demux: access='udp' demux='' path='@:30000' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "udp" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: creating access 'udp' path='@:30000' main debug: looking for access module: 1 candidate qt4 debug: Updating the stream status: 3 access_udp debug: opening server=:0 local=:30000 main debug: net: opening any datagram port 30000 main debug: using access module "access_udp" main debug: TIMER module_Need() : 21.000 ms - Total 21.000 ms / 1 intvls (Avg 21.000 ms) qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 2 main debug: Using AStream*Block main debug: pre buffering main debug: creating demux: access='udp' demux='' path='@:30000' main debug: looking for demux module: 51 candidates avformat debug: detected format: mp3 main debug: incoming request - stopping current input main debug: waitpipe: object killed main debug: socket 5612 polling interrupted main debug: dying input avformat error: av_find_stream_info failed lua debug: Trying Lua scripts in C:\Documents and Settings\admin\Application Data\vlc\lua\playlist lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\appletrailers.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\break.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\canalplus.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\dailymotion.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\france2.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\googlevideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\joox.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\lelombrik.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\megavideo.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\metacafe.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\youtube.lua lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC 0.9.4\\lua\playlist\youtube_homepage.lua lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC 0.9.4\\share\lua\playlist ps error: cannot peek vobsub debug: could not read vobsub IDX file main debug: TIMER module_Need() : 7285.000 ms - Total 7285.000 ms / 1 intvls (Avg 7285.000 ms) main error: no suitable demux module for `udp/://@:30000' qt4 debug: Hide the Interaction Dialog main debug: removing module "access_udp" main debug: thread ended main debug: dead input main debug: thread times: real 0m16.500000s, kernel 0m0.031250s, user 0m0.031250s main debug: thread 5624 joined (playlist/engine.c:244) qt4 debug: Updating the stream status: 8 main debug: TIMER input launching for 'udp://@:30000' : 16548.001 ms - Total 16548.001 ms / 1 intvls (Avg 16548.000 ms)
In all cases it seems, that VLC doesn't know which type of codec it shall use. (see "detected format: mp3" and "av_find_stream_info failed") Perhaps the RZ50P doesn't send the needed codec information? Or VLC can't read it?

I also tried the other codecs of the camera. With MJPEG there are no problems and MPEG4 has at least no problems with the codec. With HTTP there came "packetizer_mpegvideo debug: waiting for sequence start". UDP starts to give a video, but after a second it stops and VLC begins to post "cannot decode one frame" till I stop the stream.

Thanks in advance!

Greetings, Dalamaar

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests