Question about streaming h264 stream

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
DaveH
New Cone
New Cone
Posts: 4
Joined: 03 Apr 2009 11:41

Question about streaming h264 stream

Postby DaveH » 03 Apr 2009 11:57

I'm trying to multicast a H264 AVC stream from a server to a number of client pc's but it doesnt seem to work properly. The incoming stream is H264 MPEG4/AVC, and my output is going to be MPEG2, but all I can seem to get working is the audio?
Any ideas would be appreciated.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Question about streaming h264 stream

Postby Jean-Baptiste Kempf » 04 Apr 2009 14:53

Paste messages and command line if you want help.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

DaveH
New Cone
New Cone
Posts: 4
Joined: 03 Apr 2009 11:41

Re: Question about streaming h264 stream

Postby DaveH » 05 Apr 2009 19:46

Paste messages and command line if you want help.
Ok will do tomorrow
Thanks
Rgds
Dave

DaveH
New Cone
New Cone
Posts: 4
Joined: 03 Apr 2009 11:41

Re: Question about streaming h264 stream

Postby DaveH » 08 Apr 2009 18:01

Hi, sorry for the delay in getting back to you.
I've tried this using one the recent nightly builds and also with the current stable 9.9 version
both on Windows 2003 and on OpenSUSE 11.1 and also with version 9.4 on Ubuntu, all with the same results.
The command lines I'm trying are:

"C:\Program Files\VideoLAN\VLC\vlc.exe" udp://@x.x.x.x:2001 --sout=#transcode{vcodec=mp2v,vb=2048,scale=1,acodec=mpga,ab=256,channels=1}
:standard{access=http,mux=ts,dst=y.y.y.y:8080}}

The incoming udp stream is H264 and I'm trying to transcode it to mpeg2 if possible,
the error message I get on the client pc's is:
"VLC can't recognise the input's format:
the format of http://y.y.y.y:8080 cannot be detected have a look at the log for details."

the log on the client says:
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
qt4 debug: New item: http://y.y.y.y:8080
main debug: adding item `http://y.y.y.y:8080' ( http://y.y.y.y:8080 )
main debug: rebuilding array of current - root Playlist
main debug: rebuild done - 1 items, index -1
main debug: starting new item
main debug: processing request item http://y.y.y.y:8080 node null skip 0
main debug: resyncing on http://y.y.y.y:8080
main debug: http://y.y.y.y:8080 is at 0
main debug: creating new input thread
main debug: Creating an input for 'http://y.y.y.y:8080'
main debug: waiting for thread initialization
main debug: thread started
main debug: thread 5564 (input) created at priority 1 (../../src/input/input.c:370)
main debug: `http://y.y.y.y:8080' gives access `http' demux `' path `y.y.y.y:8080'
qt4 debug: Updating the stream status: 3
main debug: creating demux: access='http' demux='' path='y.y.y.y:8080'
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='y.y.y.y:8080'
main debug: looking for access module: 2 candidates
access_http debug: http: server='y.y.y.y' port=8080 file='(null)
main debug: net: connecting to y.y.y.y port 8080
main debug: connection: Resource temporarily unavailable
main debug: connection succeeded (socket = 5596)
access_http debug: protocol 'HTTP' answer code 200
access_http debug: Content-Type: application/octet-stream
main debug: using access module "access_http"
main debug: TIMER module_Need() : 328.000 ms - Total 328.000 ms / 1 intvls (Avg 328.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: creating demux: access='http' demux='' path='y.y.y.y:8080'
main debug: looking for demux module: 52 candidates
avformat debug: detected format: mp3
avformat debug: Trying to seek before the beginning
avformat error: av_find_stream_info failed
lua debug: Trying Lua scripts in C:\Documents and Settings\Application Data\vlc\lua\playlist
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\lua\playlist
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\appletrailers.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\break.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\canalplus.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\dailymotion.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\france2.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\googlevideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\joox.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\lelombrik.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\megavideo.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\metacafe.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube.lua
lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\\lua\playlist\youtube_homepage.lua
lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\\share\lua\playlist
ps error: cannot peek
vobsub debug: could not read vobsub IDX file
main debug: TIMER module_Need() : 28.000 ms - Total 28.000 ms / 1 intvls (Avg 28.000 ms)
main error: no suitable demux module for `http/://y.y.y.y:8080'
main debug: removing module "access_http"
main debug: finished input
main debug: waitpipe: object killed
main debug: dying input
main debug: thread ended
qt4 debug: Updating the stream status: 8
main debug: dead input
main debug: thread times: real 0m10.359441s, kernel 0m0.000000s, user 0m0.031250s
main debug: thread 5564 joined (../../src/playlist/engine.c:244)
main debug: TIMER input launching for 'http://y.y.y.y:8080' : 10418.000 ms - Total 10418.000 ms / 1 intvls (Avg 10418.000 ms)
main debug: starting new item
main debug: changing item without a request (current 0/1)
main debug: nothing to play


and the log in the server says:
main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
main info: creating httpd
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
main warning: trying to send non-dated packet to stream output!
avcodec warning: Missing reference picture
(h264@00BA7880)
avcodec warning: Missing reference picture
(h264@00BA7880)
avcodec warning: Missing reference picture
(h264@00BA7880)

I'm not sure if I'm doing something wrong or if it's just not going to work, but I get the same error on the server if I try:
"C:\Program Files\VideoLAN\VLC\vlc.exe" udp://@x.x.x.x:2001 :sout=#standard{access=http,mux=raw,dst=y.y.y.y:8080}
which I think should just give me the raw stream at http:\\y.y.y.y:8080, am I right?

any idea's
rgds
Dave

DaveH
New Cone
New Cone
Posts: 4
Joined: 03 Apr 2009 11:41

Re: Question about streaming h264 stream

Postby DaveH » 22 Apr 2009 12:24

Does anyone know if this can be done?
From what I can see happening, VLC can read and play the incoming stream but is not able to read and output the stream at the same time possibly because of the x264 encoder?

Any help would be appreciated.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 86 guests