NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 47 48 49 50 51 … 125 Next »
ExternalRecorder problems

 
  • 0 Vote(s) - 0 Average
ExternalRecorder problems
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#11
2006-05-27, 03:17 AM
i actualkly had vlc playing the stream in gbpvr using timeshift last night..Big Grin
[the nasa feed] by upping the output time delay...but i noticed vlc's odd behavior that it doesn't really correct the timestamps in the stream so it's total time/etc. are way off.. [known vlc problem] and ff/rw are pretty much unusable...
so i decided to pipe vlc into mencoder to just fix the timestamps and it worked! didn't even use over 10%cpu either! Smile
ff/rw worked great! [no seekeing from start of file] then i tried to pipe into ffmpeg [which can do same thing] and it wouldn't work..
i'll have to check the line to make sure it's still working but i had it there for a while..tried mencoder straight for encode but it sometimes can't open web streams..
the vlc->mencoder trick does get 29fps with almost no cpu usage..
but the startup times are sometimes long so may have to try more than once to get it to stream/transcode successfully..
will put up the command-line i used later..i wanna recheck it..

basically just use "-" [no quotes]for output filename from vlc and for input to mencoder with a | in the middle and copy streams but add the -idx option to re-index...will post example later
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pz1
Offline

Senior Member

Posts: 740
Threads: 16
Joined: Jan 2006
#12
2006-05-27, 06:05 AM
pBS Wrote:basically just use "-" [no quotes]for output filename from vlc and for input to mencoder with a | in the middle and copy streams but add the -idx option to re-index...will post example later

Looks interesting. I'll wait for that example.
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#13
2006-05-27, 08:07 AM
pBS Wrote:i actualkly had vlc playing the stream in gbpvr using timeshift last night..Big Grin
Wow! I'm impressed.
Quote:...but i noticed vlc's odd behavior that it doesn't really correct the timestamps in the stream so it's total time/etc. are way off.. [known vlc problem] and ff/rw are pretty much unusable...
Would that be why it seems to take a random length of time before the recording dies? Sometimes it happens immediately and I get a 0byte mpeg file; sometimes it records a few seconds of mpeg before dying. The NASA stream seems a bit flaky anyway, even for regular playback. That's why I suggest Research TV for testing plugin configuration since its stream seems really consistent.
Quote:..tried mencoder straight for encode but it sometimes can't open web streams..
Maybe mplayer piped into mencoder? VLC uses its own internal proprietary codecs, I guess, whereas mplayer uses standard external codecs.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
pz1
Offline

Senior Member

Posts: 740
Threads: 16
Joined: Jan 2006
#14
2006-05-27, 08:58 AM
ubu Wrote:Sometimes it happens immediately and I get a 0byte mpeg file; sometimes it records a few seconds of mpeg before dying.

I had that too a couple of times. A 0byte mpg in the Manual recordings directory. Later I did find a couple of larger mpg files in the GBPVR instalaltion directory. So it may be worthwhile for you to look around there. I have not bene able yet to reproduce this behaviour consistently

P
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#15
2006-05-30, 08:00 AM
here's a working example..seems to drop the framerate even tho it doesn't use hardly any cpu power...not sure why it's so slow..
yea,i WISH vlc would fix the dang timestamp code...both ffmpeg and moencoder have no problem with it but vlc seems to have forgotten it alltogether!!
it makes files that have outrageous time totals and don't skip properly..
[skips often have to seek from the beginning of the movie!]
i looked everywhere for the options for the timestamps or related settings and they don't seem to exist...seems they aren't using all of the libav codecs or have modded them somehow..
i think a lot of this would be fixed if we tried some older versions...the last several just aren't quite right...and i used to do all sorts of cool stuff with it...used to be able to capture with it,but now it's very unstable in that regard..[even tho they added new cap options! i suspect they broke it]
so try some older versions and let everyone know if you find a version that handles the timestamps corretly..i know there is one and it ain't the new ones!
here's my code to pipe vlc into mencoder..mencoder is just copying and re-muxing with corrected timestamps...you'll notice all the errors vlc generates....but mencoder fixes it perfectly! Smile
this solution isn't very usable...too slow to start..it works on occasion with timeshifting and UBU...

Code:
vlc.exe --no-sout-ffmpeg-interlace-me  "mms://media-wm.cac.washington.edu/ResearchTV Live (HIGH)" --avi-index --sout-ffmpeg-hurry-up --sout=#transcode{vcodec=mp2v,vb=1500,scale=1,acodec=mp2a,ab=128,channels=2}:duplicate{dst=std{access=file,mux=ps,url=-}} | mencoder  - -vf harddup -noskip  -of mpeg   -ovc copy -oac copy -idx -lavcopts vcodec=mpeg2video:vmax_b_frames=2:keyint=15:acodec=mp2:abitrate=128:autoaspect -ofps 30  -o k:\mpg\test4.mpg
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
ubu
Offline

Posting Freak

Posts: 792
Threads: 54
Joined: Jan 2006
#16
2006-05-30, 11:26 AM
pBS Wrote:here's my code to pipe vlc into mencoder..mencoder is just copying and re-muxing with corrected timestamps...you'll notice all the errors vlc generates....but mencoder fixes it perfectly! Smile
Wow! That's some parameter list! Big Grin

But I'm confused now. I don't have any problem recording (and using timeshift) with the Research TV url. That's always worked for me. It's the NASA TV stream (the one that pz1 would like to watch) that seems to be causing VLC to crash.

Quote:this solution isn't very usable...too slow to start..it works on occasion with timeshifting and UBU...
Have you tried using mplayer instad of VLC? Since mencoder is part of the mplayer project, I wondered if it would do a better job than VLC.
[SIZE=1]GBPVR v1.3.11 [/SIZE][SIZE=1]HVR-1250, [/SIZE][SIZE=1]ES7300[/SIZE][SIZE=1], 4GB, GeForce 9300, LianLi, Vista.[/SIZE]
[SIZE=1]GBPVR v1.0.08 [/SIZE][SIZE=1]PVR-150, [/SIZE][SIZE=1]P4 2.26GHz, [/SIZE][SIZE=1]1GB,[/SIZE][SIZE=1] GeForce 6200, [/SIZE]Coupden, XP[SIZE=1]
[/SIZE]

Author: UbuStream plugin, UbuRadio plugin, EPGExtra utility.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#17
2006-05-30, 07:00 PM
will try that...i figured since it was related,that it would produce same results as mencoder...tho on second thought...mplayer probably does read web streams better...will also try the nasa stream too...that one always played well for me..
[maybe it's cuz i'm down the street from nasa!..lol]
was hoping they'd put ina little bit longer delay in the external plugin cuz while for some streams it does allow timeshifting,some are slow to startup...

am looking into a directshow alternative that should be faster to start and hopefully wil allow any stream directshow can play to be transcoded..
[not sure if Real media is even playable with directshow]
will let ya know what i find if it's usefull...Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#18
2006-05-30, 07:17 PM
interesting...the nasa feed did lockup vlc for me first time tried it...then i went and reset the vlc options and it played fine...Smile
can't get it to break now...lol
not sure what was kicking it off...
[i'm using vlc alpha ver.]
do you know what the native frame rate of that feed is? i still get crazy bitrates..i think that's what's wrong with the timelines...104857Kbps is so out of bounds i bet the players are choking on that large a number..
[normally even high-bitrate dvd is only 9800k]
i will see if constraining the max-bitrate fixes the timelines and seeking...that would be awesome!
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#19
2006-05-30, 07:40 PM
seems that windows is trying to open the video using the WMV9 DMO first...and that's what's probably crashing for you..after that fails it uses its own code to read the stream and that works for me..
i also have the WMV9 VCM codecs installed so that may also be why i can play them...[like WMV9 codecs for VFW interfaces]
hope that helps a bit..
still can't get the max bitrate to go down..i really believe that is the answer to the skip problem...just no ffmpeg options to restrain it..still looking..
[makes output file invalid...mpeg can't have bitrates that high..out of spec]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pz1
Offline

Senior Member

Posts: 740
Threads: 16
Joined: Jan 2006
#20
2006-06-24, 06:27 AM
pBS Wrote:will try that...i figured since it was related,that it would produce same results as mencoder...tho on second thought...mplayer probably does read web streams better...will also try the nasa stream too...that one always played well for me..

Did you have a look into the Mplayer in the meantime? I haven't had much time for experimenting lately. In principle Mplayer seems a better solution, because it does not rely on it's own codecs. Also the Mplayer community seems to be more active than the VLC group.

pz
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  ISO playback with XDVD problems Bigmaz 23 7,691 2008-03-06, 06:28 AM
Last Post: hasso
  yapi2xml problems mnbryant2001 3 2,190 2008-02-29, 11:07 PM
Last Post: zehd
  Problems with HIP Joe Cool 0 1,188 2008-01-20, 07:09 PM
Last Post: Joe Cool
  ExternalRecorder doesn't show in Plugin List mkenyon2 1 1,305 2007-12-21, 07:37 PM
Last Post: mkenyon2
  Zap2XML problems Mogal 3 2,499 2007-10-27, 01:56 PM
Last Post: leecole
  anyone else using HIP and have problems when sound is muted? Wakalaka 15 4,554 2007-04-16, 07:03 PM
Last Post: Wakalaka
  dvd2mpeg problems jam_zhou 12 4,427 2007-03-12, 10:52 PM
Last Post: indigest
  showburner problems jschoef 0 1,241 2007-02-21, 06:25 AM
Last Post: jschoef
  Community and Blue problems reboot 3 1,665 2007-01-06, 06:44 PM
Last Post: reboot
  Problems with Comskip volksman 13 4,118 2007-01-02, 09:52 PM
Last Post: volksman

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode