This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Capture from a HD-PVR over USB?

Tags: None
(comma "," separated)
ubuntuaddicted
Registered Member
Posts
206
Karma
0

Capture from a HD-PVR over USB?

Mon Nov 22, 2010 5:26 pm
There is an HD capture device from Haugpauge called the HD-PVR. I have read that it can be captured from using cat /dev/videoX > foo.ts. I am curious if there is any way to be able to use Kdenlive to be able to capture from this external USB device? The device is here: http://www.hauppauge.com/site/products/data_hdpvr.html

Mythtv can currently use it as an input to capture HD tv over component cables. That info is here: http://www.mythtv.org/wiki/Hauppauge_HD-PVR

Apparently driver support has been added to kernel 2.6.29.1 and above. Is this an easy thing to incorporate?

Next question if it's not, will I need to convert the video captured via the cat command to from whatever is in the .ts file to DNxHD first to be able to edit it easily in kdenlive?

Any responses are welcome.
ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Capture from a HD-PVR over USB?

Wed Nov 24, 2010 7:03 pm
bump
ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Capture from a HD-PVR over USB?

Tue Nov 30, 2010 4:42 pm
bump
ddennedy
Registered Member
Posts
1315
Karma
1

Re: Capture from a HD-PVR over USB?

Tue Dec 07, 2010 6:30 am
Kdenlive can not capture from this device.


ubuntuaddicted
Registered Member
Posts
206
Karma
0

Re: Capture from a HD-PVR over USB?

Tue Dec 07, 2010 4:26 pm
thanks for the replies guys. that's too bad for me.
two4two
Registered Member
Posts
17
Karma
0

Re: Capture from a HD-PVR over USB?

Sun Nov 11, 2012 1:03 pm
In terminal session enter commands:

# Set the HD PVR's video settings

# Audio IN 0=RCABack 1=RCAFront 2=SPDIF

# Video Input IN 0=component, 1=s-vid1(front) 2=composite1(front)

# if using SPDIF the ctrl "audio_encoding" has to be 4 [3=AAC - 4=AC3] or you get an empty file

# audio_encoding [3=AAC - 4=AC3]

# I found to use the SPDIF the STB has to also send AC3 or you get silence

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 -c audio_encoding=4

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 --set-audio-input=1

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 --set-input=1

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 -c video_bitrate_mode=1

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 -c video_bitrate=13500000

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 -c video_peak_bitrate=20200000

sudo /usr/bin/v4l2-ctl --verbose -d /dev/video1 --set-ctrl brightness=125 --set-ctrl contrast=60 --set-ctrl hue=15 --set-ctrl saturation=85 --set-ctrl sharpness=130





# Capture footage to the capture drive

ffmpeg -i /dev/video1 -vcodec copy -acodec ac3 -ab 448k ~/capture.mp4


Then import the clip into Kdenlive. It is my preferred method. I get great capture, and I can edit in the BEST editor out there. The only drawback is you can't monitor when using the line command. If you absolutely MUST monitor while capturing, perhaps try Smplayer? Or VLC? There is also the "T' feature in the command line that plays stdin, but I have not used it with my ffmpeg command so I can't say how it may be accomplished.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], kde-naveen, Sogou [Bot], Yahoo [Bot]