H264 : 086h

Feature requests for VLC.
trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

H264 : 086h

Postby trok » 10 Jun 2008 13:47

I don't know why but with VLC I cant use VLC as Server to stream video in H264.
Have you found an issue to fixe this problem ? Perhaps 086i... (I dream about that all the time a new release is build) :cry:

Use condition:
I use a VLC as server to provide a video stream over my LAN and I use an other VLC as client to read this stream. I use a RTSP connection between the 2 VLC (Server & client).
Last edited by trok on 13 Jun 2008 20:42, edited 1 time in total.

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: H264 : 086a VS 086h

Postby Jean-Baptiste Kempf » 10 Jun 2008 18:14

Messages ?
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.

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 10 Jun 2008 21:03

What do you think about this trace ? (Full verbose)
main debug: looking for vod server module: 1 candidate
vod_rtsp debug: allowing up to 0 connections
main: creating httpd
main debug: net: listening to 192.168.1.2 port 65532
main debug: thread 3988 (httpd host thread) created at priority 0 (network/httpd.c:1078)
main debug: using vod server module "vod_rtsp"
main debug: waiting for thread completion
main debug: thread 4176 (input) created at priority 1 (input/input.c:265)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`description'
main debug: looking for sout stream module: 1 candidate
main debug: using sout stream module "stream_out_description"
main debug: set sout option: sout-transcode-vcodec to h264
main debug: set sout option: sout-transcode-vb to 1024
main debug: set sout option: sout-transcode-scale to 1
main debug: set sout option: sout-transcode-acodec to mpga
main debug: set sout option: sout-transcode-ab to 64
main warning: option mux is unknown
stream_out_transcode debug: codec audio=mpga 0Hz 0 channels 64Kb/s
stream_out_transcode debug: codec video=h264 0x0 scaling: 1.000000 1024kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=222' gives access `rtsp' demux `' path `mafreebox.freebox.fr/freeboxtv/stream?id=222'
main debug: creating demux: access='rtsp' demux='' path='mafreebox.freebox.fr/freeboxtv/stream?id=222'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/MP2T'
main debug: thread 4428 (stream out) created at priority 1 (input/demux.c:341)
main debug: using access_demux module "live555"
main debug: creating demux: access='' demux='ts' path=''
main debug: looking for a subtitle file in C:\ProgramZ\VLC
main debug: starting in async mode
main debug: `rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=222' successfully opened
main debug: looking for demux2 module: 1 candidate
main debug: using demux2 module "ts"
ts debug: pid[68] unknown
ts debug: pid[70] unknown
ts debug: pid[69] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=63 version=25 current_next=1
ts debug: * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=18 pid_pcr=68
ts debug: * es pid=68 type=2 fcc=mpgv
main debug: selecting program id=1
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread
ts debug: * es pid=69 type=3 fcc=mpga
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "mpeg_audio"
main debug: stream out mode -> no decoder thread
ts debug: * es pid=70 type=6 dr->i_tag=0x56
ts debug: * EBU Teletext descriptor
ts debug: * es pid=70 type=6 fcc=telx
ts warning: first packet for pid=70 cc=0xc
ts warning: first packet for pid=68 cc=0xc
ts warning: first packet for pid=69 cc=0x7
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "ffmpeg"
main debug: looking for audio filter2 module: 5 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: looking for audio filter2 module: 5 candidates
audio_format debug: fl32->s16l, bits per sample: 32
main debug: using audio filter2 module "audio_format"
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: size 544x576 fps=25.000
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`h264'
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
main debug: looking for encoder module: 10 candidates
main debug: using encoder module "x264"
main debug: removing module "x264"
libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps
main warning: dts != current_pts (-1307711)
main warning: vout synchro warning: pts != current_date (-40000)
stream_out_transcode debug: decoder aspect is 576000:432000
stream_out_transcode debug: source pixel aspect is 1.411765:1
stream_out_transcode debug: scaled pixel aspect is 1.411765:1
stream_out_transcode debug: source 544x576, crop 544x576, destination 544x576, padding 544x576
stream_out_transcode debug: encoder aspect is 576000:432000
main debug: looking for encoder module: 10 candidates
main debug: using encoder module "x264"
main debug: control type=0
main debug: control: stopping input
main debug: closing input
main debug: thread times: real 0m1.828125s, kernel 0m0.031250s, user 0m1.062500s
main debug: thread 4428 joined (input/demux.c:366)
ts debug: pid list:
ts debug: - pid[0] seen
ts debug: - pid[66] seen
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing an input
main debug: removing module "libmpeg2"
main debug: removing module "x264"
ts debug: - pid[68] seen
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing an input
main debug: removing module "mpeg_audio"
main debug: removing module "ffmpeg"
main debug: removing module "mpgatofixed32"
main debug: removing module "audio_format"
ts debug: - pid[69] seen
main debug: Program doesn't contain anymore ES
ts debug: - pid[70] seen
ts debug: - pid[8191] seen
main debug: removing module "ts"
main debug: removing module "live555"
main debug: destroying sout
main debug: destroying chain... (name=transcode)
main debug: destroying chain... (name=description)
main debug: removing module "stream_out_description"
main debug: destroying chain done
main debug: removing module "stream_out_transcode"
main debug: destroying chain done
main debug: thread times: real 0m2.156250s, kernel 0m0.015625s, user 0m0.000000s
main debug: thread 4176 joined (input/input.c:412)
vod_rtsp debug: created RTSP url: /T
vod_rtsp debug: media has 2 declared ES
vod_rtsp debug: - ES mpga (/T/trackID=0)
vod_rtsp debug: - ES h264 (/T/trackID=1)
main debug: Connection from 192.168.1.2
vod_rtsp debug: RtspCallback query: type=7
vod_rtsp debug: RtspCallback query: type=8
vod_rtsp debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=3954-3955
vod_rtsp debug: HTTPD_MSG_SETUP: unicast ip=192.168.1.2 port=3954
vod_rtsp debug: new session: 41, connections: 0
vod_rtsp debug: RtspCallback query: type=8
vod_rtsp debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=3956-3957
vod_rtsp debug: HTTPD_MSG_SETUP: unicast ip=192.168.1.2 port=3956
vod_rtsp debug: RtspCallback query: type=9
vod_rtsp debug: HTTPD_MSG_PLAY for session: 41
main debug: waiting for thread completion
main debug: thread 4152 (input) created at priority 1 (input/input.c:265)
main debug: stream=`transcode'
main debug: looking for sout stream module: 1 candidate
main debug: stream=`rtp'
main debug: looking for sout stream module: 1 candidate
main debug: set sout option: sout-rtp-dst to 192.168.1.2
main debug: set sout option: sout-rtp-port-video to 3956
main debug: set sout option: sout-rtp-port-audio to 3954
main debug: using sout stream module "stream_out_rtp"
main debug: set sout option: sout-transcode-vcodec to h264
main debug: set sout option: sout-transcode-vb to 1024
main debug: set sout option: sout-transcode-scale to 1
main debug: set sout option: sout-transcode-acodec to mpga
main debug: set sout option: sout-transcode-ab to 64
main warning: option mux is unknown
stream_out_transcode debug: codec audio=mpga 0Hz 0 channels 64Kb/s
stream_out_transcode debug: codec video=h264 0x0 scaling: 1.000000 1024kb/s
main debug: using sout stream module "stream_out_transcode"
main debug: `rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=222' gives access `rtsp' demux `' path `mafreebox.freebox.fr/freeboxtv/stream?id=222'
main debug: creating demux: access='rtsp' demux='' path='mafreebox.freebox.fr/freeboxtv/stream?id=222'
main debug: looking for access_demux module: 1 candidate
live555 debug: RTP subsession 'video/MP2T'
main debug: thread 4420 (stream out) created at priority 1 (input/demux.c:341)
main debug: using access_demux module "live555"
main debug: creating demux: access='' demux='ts' path=''
main debug: looking for a subtitle file in C:\ProgramZ\VLC
main debug: starting in sync mode
main debug: `rtsp://mafreebox.freebox.fr/freeboxtv/stream?id=222' successfully opened
main debug: looking for demux2 module: 1 candidate
main debug: using demux2 module "ts"
ts debug: pid[69] unknown
ts debug: pid[68] unknown
ts debug: pid[70] unknown
ts debug: PATCallBack called
ts debug: new PAT ts_id=63 version=25 current_next=1
ts debug: * number=1 pid=66
ts debug: PMTCallBack called
ts debug: new PMT program number=1 version=18 pid_pcr=68
ts debug: * es pid=68 type=2 fcc=mpgv
main debug: selecting program id=1
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: stream out mode -> no decoder thread
ts debug: * es pid=69 type=3 fcc=mpga
main debug: looking for packetizer module: 17 candidates
main debug: using packetizer module "mpeg_audio"
main debug: stream out mode -> no decoder thread
ts debug: * es pid=70 type=6 dr->i_tag=0x56
ts debug: * EBU Teletext descriptor
ts debug: * es pid=70 type=6 fcc=telx
ts warning: first packet for pid=69 cc=0x4
ts warning: first packet for pid=70 cc=0xa
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192
main debug: adding a new input
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mpga'
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "mpeg_audio"
main debug: looking for encoder module: 10 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: found encoder MPEG Audio layer 1/2
main debug: using encoder module "ffmpeg"
main debug: looking for audio filter2 module: 5 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: looking for audio filter2 module: 5 candidates
audio_format debug: fl32->s16l, bits per sample: 32
main debug: using audio filter2 module "audio_format"
main debug: looking for sout access module: 1 candidate
main debug: set sout option: sout-udp-raw to (null)
main debug: set sout option: sout-udp-ttl to 200
main debug: net: connecting to 192.168.1.2 port 3954
main debug: thread 4432 (sout write thread) created at priority 15 (udp.c:268)
access_output_udp debug: udp access output opened(192.168.1.2:3954)
main debug: using sout access module "access_output_udp"
stream_out_rtp debug: access out udp{raw,ttl=200}:192.168.1.2:3954
stream_out_rtp debug: maximum RTP packet size: 1450 bytes
stream_out_rtp debug: sdp=v=0
o=- 4442250000 1 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6h
c=IN IP4 192.168.1.2
m=audio 3954 RTP/AVP 14
b=AS:64
a=rtpmap:14 MPA/90000

mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:192
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: size 544x576 fps=25.000
main debug: adding a new input
stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`h264'
main debug: looking for decoder module: 28 candidates
main debug: using decoder module "libmpeg2"
main debug: looking for encoder module: 10 candidates
main debug: using encoder module "x264"
main debug: removing module "x264"
libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps
main warning: dts != current_pts (-1293266)
main warning: vout synchro warning: pts != current_date (-40000)
stream_out_transcode debug: decoder aspect is 576000:432000
stream_out_transcode debug: source pixel aspect is 1.411765:1
stream_out_transcode debug: scaled pixel aspect is 1.411765:1
stream_out_transcode debug: source 544x576, crop 544x576, destination 544x576, padding 544x576
stream_out_transcode debug: encoder aspect is 576000:432000
main debug: looking for encoder module: 10 candidates
main debug: using encoder module "x264"
main debug: looking for sout access module: 1 candidate
main debug: set sout option: sout-udp-raw to (null)
main debug: set sout option: sout-udp-ttl to 200
main debug: net: connecting to 192.168.1.2 port 3956
main debug: thread 4440 (sout write thread) created at priority 15 (udp.c:268)
access_output_udp debug: udp access output opened(192.168.1.2:3956)
main debug: using sout access module "access_output_udp"
stream_out_rtp debug: access out udp{raw,ttl=200}:192.168.1.2:3956
stream_out_rtp debug: we found a startcode for NAL with TYPE:6
stream_out_rtp debug: we found a startcode for NAL with TYPE:7
stream_out_rtp debug: we found a startcode for NAL with TYPE:8
stream_out_rtp debug: maximum RTP packet size: 1450 bytes
stream_out_rtp debug: sdp=v=0
o=- 4442250000 2 IN IP4 127.0.0.1
s=NONE
t=0 0
a=tool:vlc 0.8.6h
c=IN IP4 192.168.1.2
m=audio 3954 RTP/AVP 14
b=AS:64
a=rtpmap:14 MPA/90000
m=video 3956 RTP/AVP 96
b=AS:1024
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=4d4033;sprop-parameter-sets=Z01AM5p0BECTf+ADAAIiAAADAAIAAAMAZR4wZUA=,aO48gA==;
Next nothing.......
Last edited by trok on 13 Jun 2008 20:42, edited 1 time in total.

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 10 Jun 2008 21:04

I try with last build of this night (090) and unfortunatly it's not better. :(
I have juste the sound and no image (not a black screen => nothing).
Last edited by trok on 13 Jun 2008 20:43, edited 1 time in total.

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 13 Jun 2008 08:03

90 read => no answer !!
Nobody have a little idea about this old regression ?

vibes992000
Blank Cone
Blank Cone
Posts: 61
Joined: 29 Feb 2008 12:05
VLC version: 0.86i
Operating System: Windows XP
Location: INDIA
Contact:

Re: H264 : 086h

Postby vibes992000 » 17 Jun 2008 17:23

Please note that when we use VLC to stream H.264 then the client takes 15 seconds extra to start the video. Generally the Voice is preceded before audio for first 15 seconds .. i.e have u waited for at-least 30 seconds on the client side after pressing start button ??
vibs

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 17 Jun 2008 19:37

Of sure ! So this problem is very old since 086b :(

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 18 Jul 2008 15:07

No issue to fixe this very very old bug ? It will be nice to do something for new version... To my mind it's more important that add a commande line like "hide window" or anything else.
We talk about the motor of your software and not his F*** design.

fyi => 086i always buggy (you have this bug in the 8 older version and not before). Winmerge between 086a and 086b shall help you.

Thanks !

fulchiero
Blank Cone
Blank Cone
Posts: 12
Joined: 15 Oct 2007 18:28

Re: H264 : 086h

Postby fulchiero » 21 Jul 2008 03:55

Please note that when we use VLC to stream H.264 then the client takes 15 seconds extra to start the video. Generally the Voice is preceded before audio for first 15 seconds .. i.e have u waited for at-least 30 seconds on the client side after pressing start button ??
How often do you have keyframes in the video? We put one in every 5 seconds when RTP streaming H.264. You might not get video until you get a "real' frame. Just a thought...

vibes992000
Blank Cone
Blank Cone
Posts: 61
Joined: 29 Feb 2008 12:05
VLC version: 0.86i
Operating System: Windows XP
Location: INDIA
Contact:

Re: H264 : 086h

Postby vibes992000 » 21 Jul 2008 07:37

Please note that when we use VLC to stream H.264 then the client takes 15 seconds extra to start the video. Generally the Voice is preceded before audio for first 15 seconds .. i.e have u waited for at-least 30 seconds on the client side after pressing start button ??
How often do you have keyframes in the video? We put one in every 5 seconds when RTP streaming H.264. You might not get video until you get a "real' frame. Just a thought...
I haven't configured or changed key frames in streaming. Its default values only. I'm using VLM script as given under

Code: Select all

new test broadcast setup test input "dshow://" setup test option dshow-vdev="Osprey-230 Video Device 1" setup test option dshow-adev="Osprey-230 Audio Device 1" setup test option dshow-size="" setup test output #transcode{vcodec=h264,vb=96,scale=0.5,acodec=mp2a,ab=16,channels=1}:duplicate{dst=std{access=http,mux=ts,dst=:80}} setup test enabled control test play
vibs

Heion
New Cone
New Cone
Posts: 6
Joined: 23 Jul 2008 11:31

Re: H264 : 086h

Postby Heion » 02 Aug 2008 16:26

I have trouble streaming and transcoding H264 as well, see my post here: viewtopic.php?f=4&t=48480#p154577

trok
Blank Cone
Blank Cone
Posts: 70
Joined: 09 Jun 2008 22:36

Re: H264 : 086h

Postby trok » 04 Aug 2008 09:47

I think the dev who done this codec has left the VLC team and now nobody can correct bugs in this software part. So it's a new bug between 086a and 086b. It's not possible to understand what have change with a file comparator between 086a and 086b (as winmerge, kdiff, beyound compare) ?

Heion
New Cone
New Cone
Posts: 6
Joined: 23 Jul 2008 11:31

Re: H264 : 086h

Postby Heion » 05 Aug 2008 20:43

If that's true, then I hope VLC as a whole can prioritize this. H264 is a popular and widely used video compression these days, I'm starting to use it myself and need proper support for it in VLC. Of course, VLC plays H264 files, but transcoding/streaming them is not possible at the moment.


Return to “VLC media player Feature Requests”

Who is online

Users browsing this forum: No registered users and 28 guests