[vlc-devel] Re: sout h264
hartman at videolan.org
Mon Oct 17 17:39:10 CEST 2005
OK, i just ran into this issue myself and it is definitely NOT fixed.
The cause is quite simply actually. It's this line in livedotcom.cpp
if( i_pts != tk->i_pts && !tk->b_muxed )
p_block->i_dts = ( tk->fmt.i_cat == VIDEO_ES ) ? 0 : i_pts;
p_block->i_pts = i_pts;
This causes blocks with i_dts == 0 to be sent to the h264 packetizer
which doesn't know how to fix this and sends packets with the i_dts=0
to stream_output which doesn't accept this, because it needs an i_dts
Just receive and stream to MPEG-TS or anything else and you will get
I added a ticket for this:
On 13 sep 2005, at 18:19, Tom Van Leeuwen wrote:
> I'm trying to save a streamed H264 video (encoded with QT7-pro and
> streaming with Darwin) to a file using VLC. Unfortunately I get
> error messages.
> Following piece of code is the culprit (stream_output.c):
> if( p_buffer->i_dts <= 0 )
> msg_Warn( p_sout, "trying to send non-dated packet to
> stream output!");
> block_Release( p_buffer );
> return VLC_SUCCESS;
> It seams that i_dts has a zero value.
> Anybody any suggestions on how to solve this ?
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel