problem whith my DV camera, or VLC?

About encoding, codec settings, muxers and filter usage
aleextra1
New Cone
New Cone
Posts: 9
Joined: 13 Jan 2006 15:22

problem whith my DV camera, or VLC?

Postby aleextra1 » 08 Feb 2006 09:44

Hi!

In my post: viewtopic.php?t=16873 I describe my problem whith errors like.. "late picture skipped".

I have made a test. All on linux.

get a raw stream from DV Camera and convert do mpeg:

Code: Select all

dvgrab -|ffmpeg -f dv -i - -s 320x288 -b 200 -f mpeg -y - >test.mpeg&
this symbol at the end "&" everything is doing in background.

now, I start vlc:

Code: Select all

vlc --ttl=12 -vvv test.mpeg --no-audio --sout '#transcode{vcodec=DIV3,scale=1,vb=200,fps=18}:std{access=mmsh,mux=asfh,url=:8081}'
Wow! It works fine :) But.. vlc can go to the end of the file a1.mpeg!! This is not possible, because to this file is still inserting a stream from camera ( dvgrab -|ffmpeg..etc).

It seems like my dv cam too slow sending raw signal, or vlc reading too fast. Is that possible?

I am really sorry about my english.. :( I hope so someone understand that.

thanks for help

h2g2bob
Blank Cone
Blank Cone
Posts: 46
Joined: 02 Oct 2005 13:09
Location: Exeter, UK

Hello

Postby h2g2bob » 10 Feb 2006 02:17

I'm not sure how it can get to the end of the file, I reckon it's to do with how linux opens it's files (I think it keeps it in the same state as when it's opened, I know you can delete files which are open and they keep on playing)

Anyway, I think you could use this: you can pipe data into vlc. If you give - as a filename, it'll open it just like any other file.

VLC uses ffmpeg to encode/decode files, so you should be able to just do

Code: Select all

dvgrab - | vlc -
h2g2bob

aleextra1
New Cone
New Cone
Posts: 9
Joined: 13 Jan 2006 15:22

Postby aleextra1 » 10 Feb 2006 07:00

it is not so easy. Correct code, to pipe raw steram into vlc is:

Code: Select all

dvgrab - | vlc - :demux=rawdv
And it stops play after 10 mintes:

Code: Select all

[00000255] stream_out_transcode private debug: late picture skipped (344603)
This number at the end of line is diffrent in every line of errors

For first 10 minutes there is no problem to streaming and playng. After exactly 10 minut vlc printing this error in stdout, to console :(


thanks for help :)
Mik


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 6 guests