I actually got ffmpeg to do an encoding session but nothing ever came out to display.
I gave up and use Freevo as a frontend, with TVTIME for my low-end analog card, and vdr-xine to connect to anther box running my VDR to sat.
Norm
So you managed to get ffmpeg to record a stream from VDR/analogTV ????
Could you send me your channels.conf (looks like you're in the same part of the world as me :))? What type of card are you using?
Love to but I deleted them from vdr already. I don't know if FFMPEG was actually doing anything because I couldn't get anything to show -- it was encoding.. what who knows. I'm in Canada btw -- is that the same area?
I have a Hauppauge WinTV to GO card -- basic analog no encoder and not supported by ivtv. Apparently its much easier if you have a card supported by ivtv.
KOMOTEST1:4:B7C12D0:C:0:301:300:0:32001:0:0:0:0
I've made some changes to the above that I used to get some output. I also use C0 rather then C12 but that varies depending on your card. You also need to put in a frequency instead of the '4'. I don't recall the program I used to get them but I know xawtv will show them as well.
When you run VDR at the console, you should see it trying to start ffmpeg -- does it give you an error? I also had issue where the plugin had configured PAL resolutions and no NTSC resolutions so FFMPEG had issues with the mixed command line for NTSC but a PAL resolution that was incompatible. It involved modifying the source code to get it past that point. If this is the blocker, it should give you an error in the vdr output though...
Also, did you apply all the recommended patches from the vdr wiki page? I use the German pages because the english ones are way out of date for most of the plugins.
Norm
On Tue, 2006-05-16 at 08:55 -0700, Simon Baxter wrote:
I actually got ffmpeg to do an encoding session but nothing ever came out to display.
I gave up and use Freevo as a frontend, with TVTIME for my low-end analog card, and vdr-xine to connect to anther box running my VDR to sat.
Norm
So you managed to get ffmpeg to record a stream from VDR/analogTV ????
Could you send me your channels.conf (looks like you're in the same part of the world as me :))? What type of card are you using?
Love to but I deleted them from vdr already. I don't know if FFMPEG was actually doing anything because I couldn't get anything to show -- it was encoding.. what who knows. I'm in Canada btw -- is that the same area?
Well, the same landmass and TV standard :) I'm a New Zealander, lived in the UK for several years using VDR with DVB-T, moved to Washington 3 months ago
I have a Hauppauge WinTV to GO card -- basic analog no encoder and not supported by ivtv. Apparently its much easier if you have a card supported by ivtv.
Mine's a WinTV-USB2 - similarly not supported by ivtv
KOMOTEST1:4:B7C12D0:C:0:301:300:0:32001:0:0:0:0
Where did you come up with the 301/300?
I've made some changes to the above that I used to get some output. I also use C0 rather then C12 but that varies depending on your card. You also need to put in a frequency instead of the '4'. I don't recall the program I used to get them but I know xawtv will show them as well.
I can't get xawtv to work for FC5 :( I wasn't sure about the frequency - as tvtime just stores 'channel 4' and not the frequency. So didn't know what the thing wanted in the way of channel definitions.
When you run VDR at the console, you should see it trying to start ffmpeg -- does it give you an error? I also had issue where the plugin had configured PAL resolutions and no NTSC resolutions so FFMPEG had issues with the mixed command line for NTSC but a PAL resolution that was incompatible. It involved modifying the source code to get it past that point. If this is the blocker, it should give you an error in the vdr output though...
I don't get anything on the console when I change channels???
Also, did you apply all the recommended patches from the vdr wiki page? I use the German pages because the english ones are way out of date for most of the plugins.
I applied all the patches against VDR - but no others.
Norm
Simon
KOMOTEST1:4:B7C12D0:C:0:301:300:0:32001:0:0:0:0
Where did you come up with the 301/300?
Not really sure -- probably from the plugin readme.
I've made some changes to the above that I used to get some output. I also use C0 rather then C12 but that varies depending on your card. You also need to put in a frequency instead of the '4'. I don't recall the program I used to get them but I know xawtv will show them as well.
I can't get xawtv to work for FC5 :(
Try scantv that comes with xawtv -- xawtv might not work but hopefully scantv does.
Also, did you apply all the recommended patches from the vdr wiki page? I use the German pages because the english ones are way out of date for most of the plugins.
I applied all the patches against VDR - but no others.
There are patches to the plugin you need to do -- check out http://www.vdr-wiki.de/wiki/index.php/Analogtv-plugin
You can also look at this post http://www.linuxtv.org/pipermail/vdr/2006-May/009257.html It helped me as well.
Norm
KOMOTEST1:4:B7C12D0:C:0:301:300:0:32001:0:0:0:0
Where did you come up with the 301/300?
Not really sure -- probably from the plugin readme.
I've made some changes to the above that I used to get some output. I also use C0 rather then C12 but that varies depending on your card. You also need to put in a frequency instead of the '4'. I don't recall the program I used to get them but I know xawtv will show them as well.
I can't get xawtv to work for FC5 :(
Try scantv that comes with xawtv -- xawtv might not work but hopefully scantv does.
Have found tvtime for FC5 works: [root@media ~]# tvtime-scanner -d /dev/video1 Reading configuration from /etc/tvtime/tvtime.xml Reading configuration from /root/.tvtime/tvtime.xml Scanning using TV standard NTSC. /root/.tvtime/stationlist.xml: No existing NTSC station list "Custom". Scanning from 44.00 MHz to 958.00 MHz. Found a channel at 52.50 MHz (51.75 - 53.25 MHz), adding to channel list. Found a channel at 54.75 MHz (54.50 - 54.75 MHz), adding to channel list. Found a channel at 56.00 MHz (55.25 - 56.75 MHz), adding to channel list. Found a channel at 59.25 MHz (59.00 - 59.25 MHz), adding to channel list. Found a channel at 66.25 MHz (64.50 - 68.00 MHz), adding to channel list. Found a channel at 76.50 MHz (75.00 - 78.00 MHz), adding to channel list. Found a channel at 85.50 MHz (84.75 - 86.00 MHz), adding to channel list.
Also, did you apply all the recommended patches from the vdr wiki page? I use the German pages because the english ones are way out of date for most of the plugins.
I applied all the patches against VDR - but no others.
I've applied the main one for 'player-analogtv.c'. Will re-check which ones I applied to get it to compile...
There are patches to the plugin you need to do -- check out http://www.vdr-wiki.de/wiki/index.php/Analogtv-plugin
You can also look at this post http://www.linuxtv.org/pipermail/vdr/2006-May/009257.html It helped me as well.
Yeah - that was my post :))
Found a channel at 52.50 MHz (51.75 - 53.25 MHz), adding to channel list.
You would use 52500 has the frequency as it is in hertz.
Also, did you apply all the recommended patches from the vdr wiki page? I use the German pages because the english ones are way out of date for most of the plugins.
I applied all the patches against VDR - but no others.
I've applied the main one for 'player-analogtv.c'. Will re-check which ones I applied to get it to compile...
There are patches to the plugin you need to do -- check out http://www.vdr-wiki.de/wiki/index.php/Analogtv-plugin
You can also look at this post http://www.linuxtv.org/pipermail/vdr/2006-May/009257.html It helped me as well.
Yeah - that was my post :))
Well it helped me even if it didn't help you out hehe...
Norm
You would use 52500 has the frequency as it is in hertz.
So, I recompiled the plugin and now I'm getting some action:
11:50:52 Switching to channel 0 on device 4 11:50:52 Switching to channel 0 on device 5 11:50:52 Channel: KOMO, SID=12003, 52.50 MHz (???), NTSC 11:50:52 Video device: /dev/video1 11:50:52 Video source: 0:Television 11:50:52 Encoder must be restarted 11:50:54 Switching to channel 1 on device 5 11:50:54 Switching to channel 1 on device 4 11:50:54 NEW Audio-PID=80, Video-PID=160 11:50:54 runEncoder(Apid=80, Vpid=160) 11:50:54 ffmpeg -f mpeg1video -s 352x288 -ad /dev/dsp:14 -ar 44.1 -vd /dev/video1 -ac 1 -b 2000 -ab 80 -y -hq -re -title analogTV -author analogTV -copyright GPL -comment analogTV -aspect 4:3 -tvstd NTSC /tmp/.analogtv.avi & 11:50:54 nice() failed, 13:Permission denied FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --incdir=/usr/include/ffmpeg --enable-mp3lame --enable-libogg --enable-vorbis --enable-theora --enable-faad --enable-faac --enable-libgsm --enable-xvid --enable-x264 --enable-a52 --enable-a52bin --enable-dts --enable-pp --enable-shared --enable-pthreads --enable-gpl --disable-opts --disable-strip libavutil version: 49.0.0 libavcodec version: 51.7.0 libavformat version: 50.3.0 built on Mar 17 2006 10:19:16, gcc: 4.1.0 20060304 (Red Hat 4.1.0-3) ffmpeg: unrecognized option '-hq' 11:50:54 flush_buffer()
Can't work out why the '-hq' doesn't work, but modified the sourcefile to remove the option. Now I get:
12:51:47 Switching to channel 0 on device 5 12:51:47 Channel: KOMOTEST1, SID=12003, 52.50 MHz (???), NTSC 12:51:47 Video device: /dev/video1 12:51:47 Video source: 0:Television 12:51:47 Receiver #1 attached 12:51:47 Switching to channel 1 on device 5 12:51:47 NEW Audio-PID=80, Video-PID=160 12:51:47 runEncoder(Apid=80, Vpid=160) 12:51:47 ffmpeg -f mpeg1video -s 352x288 -ad /dev/dsp:14 -ar 44.1 -vd /dev/video1 -ac 1 -b 2000 -ab 80 -y -re -title analogTV -author analogTV -copyright GPL -comment analogTV -aspect 4:3 -tvstd NTSC /tmp/.analogtv.avi & 12:51:47 nice() failed, 13:Permission denied <snip>
I'm not sure where 'nice' is being called - and this error doesn't occur if run as 'root'. Will have to see what I get, when I'm local to the machine again and can see the picture. I still have problems - and a recording doesn't write any data to 001.vdr....but at least the plugin's doing something now.
On Tue, 2006-05-16 at 13:57 -0700, Simon Baxter wrote:
12:51:47 Switching to channel 1 on device 5 12:51:47 NEW Audio-PID=80, Video-PID=160 12:51:47 runEncoder(Apid=80, Vpid=160) 12:51:47 ffmpeg -f mpeg1video -s 352x288 -ad /dev/dsp:14 -ar 44.1 -vd /dev/video1 -ac 1 -b 2000 -ab 80 -y -re -title analogTV -author analogTV -copyright GPL -comment analogTV -aspect 4:3 -tvstd NTSC /tmp/.analogtv.avi & 12:51:47 nice() failed, 13:Permission denied
<snip>
I'm not sure where 'nice' is being called - and this error doesn't occur if run as 'root'. Will have to see what I get, when I'm local to the machine again and can see the picture. I still have problems - and a recording doesn't write any data to 001.vdr....but at least the plugin's doing something now.
This is where I left it and gave up. Hopefully someone can solve this problem for you. I didn't have the issue with the -hq switch. I'm running this version of ffmpeg: FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --enable-gpl --enable-mp3lame --enable-libogg --enable-vorbis --enable-pp --enable-faac --enable-faad --enable-a52 --enable-xvid --enable-dts --enable-pp --enable-shared --enable-pthreads libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 built on May 7 2006 14:54:44, gcc: 4.0.3
Norm
This is where I left it and gave up. Hopefully someone can solve this problem for you. I didn't have the issue with the -hq switch. I'm running this version of ffmpeg: FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard configuration: --prefix=/usr --enable-gpl --enable-mp3lame --enable-libogg --enable-vorbis --enable-pp --enable-faac --enable-faad --enable-a52 --enable-xvid --enable-dts --enable-pp --enable-shared --enable-pthreads libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 built on May 7 2006 14:54:44, gcc: 4.0.3
Norm
Sorry Norm - this is where I leave it too. I can't get a live picture, can't record anything and am shopping for a PVR-250 instead :)