Page 1 of 1
VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 11 Sep 2009 10:05
by michaeldjcox
I have an application that uses VLC to stream mpeg-2 to a file.
Another application - SageTV then starts playing the file.
This all works fine with version 0.9.8.
With version 1.0.0 and version 1.1.0 sageTV is unable to check the file size.
VLC seems to have exclusive use of the file.
is this a bug?
is there anyway to change this behaviour please as I'd love to able to say my plugin uses the latest VLC.
Many thanks,
Michael
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 11 Sep 2009 10:29
by Jean-Baptiste Kempf
Can you detail your command line and your message?
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 11 Sep 2009 10:42
by michaeldjcox
vlc.exe <the url> --sout="#transcode{vcodec=mp2v,vb=4000,scale=1,width=720,height=576,acodec=mpga,ab=128,channels=2}
:duplicate{dst=std{access=file,mux=ts,dst='test.mpg'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:5001 --rc-quiet
I don't have some example URLs on me at the moment but will update later if needed.
Also not sure if its relevant but with 0.9.8 if I ran SageTv client playing the file on the same box as VLC was transcoding the video would stutter - SageTv said this was because another application was accessing the file using a particular call - will paste this later if relevant.
Thanks for your fast response.
Michael
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 18 Sep 2009 18:36
by michaeldjcox
Somebody please!
With VLC.1.0.0 and VLC1.1.0 an app cannot read a MPEG2 file produced by VLC while VLC is writing to it.
It worked fine in VLC 0.9.8 and VLC 0.9.9.
Does anybody out there know why and if the old behaviour can still be achieved?
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 25 Sep 2009 00:55
by michaeldjcox
I tried the above command line in 1.0.2 - I get audio but no video.
Any ideas pls - something in the command line is not working anymore.
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 26 Sep 2009 16:59
by Jean-Baptiste Kempf
Messages!
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 29 Sep 2009 00:02
by michaeldjcox
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" "http://playlist.yahoo.com/makeplaylist.dll?id=1369080&segment=149773" --sout="#transcode{vcodec=mp2v,vb=4000,scale=1,width=720,height=576,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,dst='C:\webfeedencoder\tmp\NASATV_test.mpg'}}" --sout-transcode-audio-sync -I rc --rc-host=localhost:5001 --rc-quiet --extraintf=logger --logfile="C:\webfeedencoder\logs\NASATV_streamtompg_test.log" -vvv
Only gives me a mpga audio stream numbered zero.
In earlier versions I get the video too.
Log messages posted here:
http://www.keepandshare.com/doc/view.ph ... 18293&da=y
Don't feel qualified to pick out the important lines!
Michael
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 05 Oct 2009 20:14
by Jean-Baptiste Kempf
paste the logs here I can't see anything on that --please stay polite-- website.
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 07 Oct 2009 18:36
by michaeldjcox
I think the following messages are the key ones:
Code: Select all
main error: Streaming / Transcoding failed
main error: VLC could not open the encoder.
main debug: TIMER module_need() : 131.000 ms - Total 131.000 ms / 1 intvls (Avg 131.000 ms)
stream_out_transcode error: cannot find video encoder (module:any fourcc:mp2v)
avcodec debug: ffmpeg codec (Windows Media Video 3) stopped
I cannot paste the full log here - its too long - but you can find it at the (now public shared link)
http://www.keepandshare.com/doc/view.ph ... 18293&da=y
Thank you,
Michael
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 08 Oct 2009 16:46
by michaeldjcox
I think the answer may be the same as:
viewtopic.php?f=14&t=66101&p=220209&hil ... v+#p220209
I may need to specify fps.
Checking tonite.
Re: VLC1.0.0 vs VLC 0.9.8 streaming
Posted: 12 Oct 2009 11:13
by michaeldjcox
Confirm - this was the problem.
fps=<framespersecond>
now needs to be added to the transcode command.
Michael