Author Topic: PCLinuxOS PVR resolution for save (need 720x576 PAL)  (Read 530 times)

Offline leaf

  • New Friend
  • *
  • Posts: 8
PCLinuxOS PVR resolution for save (need 720x576 PAL)
« on: October 15, 2012, 11:43:52 AM »
Hi
I have question.
How I can change resolution in PCLinuxOS PVR for save new video files?. I need 720x576. Now (if I remember) is always 640×480.
Regards.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15300
  • ┌∩┐(◕_◕)┌∩┐
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #1 on: October 15, 2012, 11:48:29 AM »
Any good? It was only a very quick search and haven't read through it in any detail

http://pclosmag.com/html/Issues/201103/page11.html
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline leaf

  • New Friend
  • *
  • Posts: 8
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #2 on: October 15, 2012, 12:18:41 PM »
I cant find on this page from your link, any information about resolution, in window in this program there aren't any place with resolution. There are bitrate, frames per seconds etc.
I capture video and I need 720x576, because now my pictures is crop.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10647
  • MLUs Forever!
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #3 on: October 20, 2012, 06:08:27 AM »
What are you recording from?

What is its native resolution?

EDIT:
           I had a quick look at the utility .....  /usr/sbin/pclinuxos-pvr .......  and line 198 to 200 seems to be what you are looking for .....

Quote
     <button><input file icon="gtk-media-record"></input>
        <label>Record Video</label>
        <action>killall tvtime;let L=$LENGTH*60+1 && timeout $L mencoder tv:// -tv channel=$CHANNEL driver=v4l2:device=$DEVICE:input=0:width=680:height=480:alsa:buffersize=131072 -vf pp=fp lavdeint -ovc lavc -fps $FPS -lavcopts vcodec=mpeg4:vbitrate=$VBR:vhq:ildct:ilme:mbd=2 lavdeint $FOURCC -oac mp3lame -lameopts cbr:br=$AUDIO_BITRATE -o "$HOME/Recordings/`date +%m-%d-%Y-%H%M`.${VBR}kbps.$FILE_EXT" &</action>
      </button>

You could try editing the resolution there to see if it will do as you wish.

« Last Edit: October 20, 2012, 06:22:40 AM by Just17 »
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline leaf

  • New Friend
  • *
  • Posts: 8
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #4 on: October 22, 2012, 11:28:56 AM »
Just17
I capture from video tape-recorder via video grabber with audio.
Still video is 640x480, but doesn't matter - I did my work in XP. :-/
When I captured in VLC video has 720x576, but sound was bad etc.
Regards, and thanks for Your advice.

Online Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10647
  • MLUs Forever!
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #5 on: October 22, 2012, 12:02:18 PM »
Did you make the changes I suggested in my previous post?

I would have expected it to work for you .....
MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline leaf

  • New Friend
  • *
  • Posts: 8
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #6 on: October 22, 2012, 12:20:01 PM »
Did you make the changes I suggested in my previous post?
Yes, I did.
I think that it has any union with f4l2, because when I put in terminal "v4l2-ctl -v width=720,height=576", Kdenlive capture as 720x576, (default about 640x480), but unfortunately PCLinuxOS PVR not. Unluckily kdenlive capture too fast (doesn't keep 25), so...
I had to comeback to XP for solution my problem.
Regards.

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #7 on: October 22, 2012, 01:01:53 PM »
My last work for capture, was this script...

Code: [Select]
#!/bin/bash
#kdialog --title "VideoDub for analoge TV-CARDS" --msgbox "Welcome to VideoDub !\nThe capture will starts, after closing the preview window!"
#
 NAME=$(kdialog --title "Capture save ..." --getsavefilename $HOME/videos/"capture.avi")
if  [ "$NAME" = "" ]; then
     exit
    else
#
# create video directory
#
        if [ ! -d $HOME/videos ]; then
        mkdir -p "$HOME/videos"
        fi
#
# Information
#
    kdialog --title "VideoDub" --msgbox "The capture can you exit with \n\nCTRL+c\n\!"
#
# Audio and Video capturing
#
    arecord -f cd -t wav $NAME.wav & xterm -e mencoder tv:// -v -tv driver=v4l2:width=704:height=576:input=3:device=/dev/video0 -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -noautoexpand -nosound -o $NAME
    killall arecord
#xterm -e mencoder -tv driver=v4l2:width=704:height=576:input=3:alsa tv:// immediatemode=0 -oac copy -ovc lavc -lavcopts vcodec=mjpeg:aspect=4/3 -aspect 4:3 -o $NAME
#
# Information
#
    kdialog --title "VideoDub" --msgbox "The capture is stored in $HOME/videos/$NAME !"
#
fi

Long time ago, when i wrote it...
Maybe you can use it

Good luck
Daniel

Offline leaf

  • New Friend
  • *
  • Posts: 8
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #8 on: October 23, 2012, 01:58:20 AM »
Daniel,
where put Your script? into terminal?

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3735
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #9 on: October 23, 2012, 10:46:38 AM »
Copy'nPaste it, and save it as VideoDub.sh.
Make it executable. If it don't start, open a terminal in the
directory, where you have stored the script, and type
Code: [Select]
./VideoDub.shto see what goes wrong.

I think in kdialog is something changed since 2008  ::)

Good luck
Daniel

Offline leaf

  • New Friend
  • *
  • Posts: 8
Re: PCLinuxOS PVR resolution for save (need 720x576 PAL)
« Reply #10 on: October 23, 2012, 12:33:50 PM »
daniel
Thank You