Re: [vdr] Convert video clip to .vdr format

2007-09-16 Thread Clemens Kirchgatterer
Anssi Hannula [EMAIL PROTECTED] wrote:

 Dick Streefland wrote:
  VDR User [EMAIL PROTECTED] wrote:
  | I think a better idea is to just install a codec that plays
  | whatever format your camera videos are in and use the mplayer
  | plugin.
  
  But I have a rather underpowered VDR machine with a full-featured
  DVB-S card, so I really need to use the hardware MPEG decoder.
 
 Mplayer can play MPEG files using the hardware MPEG decoder without 
 re-encoding.

but it's NOT an mpeg file he wants to play! so we're back to where we
started from. ;-)

c.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Convert video clip to .vdr format

2007-09-16 Thread Friedhelm Büscher
Hi Dick,

i wrote a small shellscript which does the job. It looks, if the original video 
is a mpg
or different and do the right steps to get a vdr-video. You need mencoder and 
genindex for
the script. Let me know, if this works for you, too.

regards,
Friedhelm.


Dick Streefland wrote:
 I'm trying to convert video clips from my camera (KonicaMinolta A200)
 to .vdr format, so that I can watch them using vdr, but so far I had
 no success. The format is MJPEG 640x480 30fps, with PCM audio
 (7875x16x1). I can convert it to MPEG4 with:
 
 transcode -i $in -x mov,ffbin -y ffmpeg -F mpeg4 -N 0x55 --no_audio_adjust 
 -E 11025,16,1 -o $out
 
 but i cannot convert it to MPEG2. I found some hints that I could use
 mplayer to do the conversion, something like:
[..]

 
 However, when I play this with vdr (after generating the index.vdr file
 with genindex), this video is not the right size, it skips every few
 seconds and there is no sound.
 
 What do I have to do to get a proper vdr recording?
 

#!/bin/bash

set -x

VIDEODIR=/video0;

if [ $# -lt 1 ];
then
echo 2 `basename $0`: import mpeg file in vdr
echo 2 Usage: `basename $0` filename.mpg
exit 1
fi

if [ ! -d $VIDEODIR ];
then
echo 2 Target video directory does not exist
exit 1
fi

echo $1

BASENAME=`echo $1 |perl -pe  's#^.*/(.*)\..*?$#$1#' | perl -pe 's# #_#g'`
SUFFIX=`echo $1 | perl -pe 's#^.*\.##'`

DATE=`date '+%F.%H:%M.50.50.rec'`;
TARGETDIR=$VIDEODIR/$2/$BASENAME/$DATE;

mkdir -p $TARGETDIR

if [ $SUFFIX  mpg ]; then
nice mencoder -ofps 25 -oac lavc -ovc lavc -of mpeg \
-mpegopts format=dvd -vf scale=720:576,harddup \
-srate 48000 -af lavcresample=48000 -lavcopts \

vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=2:acodec=mp2:abitrate=192:aspect=4/3
 \
-o $TARGETDIR/001.mpg $1

nice genindex -i $TARGETDIR/001.mpg -r -d $TARGETDIR -s 400
rm $TARGETDIR/001.mpg
else
nice genindex -i $* -r -d $TARGETDIR -s 400
fi
touch $VIDEODIR/.update
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Gentoo, vdr and extra plugins

2007-09-16 Thread JJussi
On Sunday, 16. Septemberta 2007 09:05:45 you wrote:
 [blocks B ] app-cdr/cdrtools (is blocking app-cdr/cdrkit-1.1.6)
 [blocks B ] app-cdr/cdrkit (is blocking
 app-cdr/cdrtools-2.01.01_alpha25)

OK, I manage find versio combination where there is no blocking  anymore.. ;-)

-- 
JJussi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Gentoo, vdr and extra plugins

2007-09-16 Thread JJussi
On Saturday, 15. Septemberta 2007 19:43:41 Michael Mauch wrote:
 vdrconvert (and also the CVS version) is in the gentoo-de overlay.
 http://gentoo-wiki.com/HOWTO_Turboprint has an English description how
 to use that overlay (stop at the gensync gentoo-de line).

I almost managed...

htpc vdrconvert # emerge -p vdrconvert

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N] app-cdr/cdrtools-2.01.01_alpha25  USE=unicode 
[ebuild  N] media-video/vdrconvert-0.2.1-r1  USE=dvd mp3 vcd -divx 
[blocks B ] app-cdr/cdrtools (is blocking app-cdr/cdrkit-1.1.6)
[blocks B ] app-cdr/cdrkit (is blocking app-cdr/cdrtools-2.01.01_alpha25)

Both cdrkit and cdrtools are required by vdrconvert...


 Or grab the ebuild and all its gazillion dependencies from
 http://www.gentoo.de/viewcvs/media-video/?root=gentoo-x86.

OK, maybe this approach works..

-- 
JJussi

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Convert video clip to .vdr format

2007-09-16 Thread VDR User
On 9/16/07, Clemens Kirchgatterer [EMAIL PROTECTED] wrote:
 Anssi Hannula [EMAIL PROTECTED] wrote:

  Dick Streefland wrote:
   VDR User [EMAIL PROTECTED] wrote:
   | I think a better idea is to just install a codec that plays
   | whatever format your camera videos are in and use the mplayer
   | plugin.
  
   But I have a rather underpowered VDR machine with a full-featured
   DVB-S card, so I really need to use the hardware MPEG decoder.
 
  Mplayer can play MPEG files using the hardware MPEG decoder without
  re-encoding.

 but it's NOT an mpeg file he wants to play! so we're back to where we
 started from. ;-)

Right, it's M-JPEG format.  No conversion should be necessary to play
his files, just installing the proper codec and using the mplayer
plugin should be fine.  There is FFmpeg MJPEG decoder.  Here are some
packages to explore:

http://mjpeg.sourceforge.net/
avifile-mjpeg-plugin - MJPEG video plugin for libavifile
cortado - streaming applet for Ogg formats
luvcview - USB Video Class grabber
motioneye - ppm/jpg snapshots or mjpeg compressed video on Vaio Laptops
3gpwiz - 3gp movie wizard
libmjpegtools-dev - MJPEG video capture/editting/playback MPEG encoding
libmjpegtools0 - MJPEG video capture/editting/playback MPEG encoding
libmpeg4ip-0 - end-to-end system to explore streaming multimedia
libmpeg4ip-dev - end-to-end system to explore streaming multimedia
libmpeg4ip-doc - end-to-end system to explore streaming multimedia -
documentation
mjpegtools - MJPEG video capture/editting/playback MPEG encoding
mpeg4ip-server - end-to-end system to explore streaming multimedia

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Convert video clip to .vdr format

2007-09-16 Thread Steffen Barszus
VDR User schrieb:
 On 9/16/07, Clemens Kirchgatterer [EMAIL PROTECTED] wrote:
   
 Anssi Hannula [EMAIL PROTECTED] wrote:

 
 Dick Streefland wrote:
   
 VDR User [EMAIL PROTECTED] wrote:
 | I think a better idea is to just install a codec that plays
 | whatever format your camera videos are in and use the mplayer
 | plugin.

 But I have a rather underpowered VDR machine with a full-featured
 DVB-S card, so I really need to use the hardware MPEG decoder.
 
 Mplayer can play MPEG files using the hardware MPEG decoder without
 re-encoding.
   
 but it's NOT an mpeg file he wants to play! so we're back to where we
 started from. ;-)
 

 Right, it's M-JPEG format.  No conversion should be necessary to play
 his files, just installing the proper codec and using the mplayer
 plugin should be fine.  There is FFmpeg MJPEG decoder.  Here are some
 packages to explore:
   
SO conversion IS needed ! It needs to be transcoded on the fly to mpeg1 
at least to be usable in his setup - which is impossible because the vdr 
is not big enough. But the solution got allready proposed. Any mpeg1/2 + 
genindex should be fine

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] astra und hotbird ueber diseqc schalter?

2007-09-16 Thread Oliver Joa
Hi,

ich habe mir heute einen zweiten LNB auf die Schuessel gebaut um Hotbird 
empfangen zu koennen. Jetzt weiss ich nur noch nicht wie ich beide LNB 
am geschicktesten mit meinem VDR verbinde (Beide LNB jeweils Quad). Ich 
habe 2 DVB Karten. Die professionelle Variante waere wohl einen 
Multiswitch einzubauen. Dagegen spricht der Preis und dass er extra 
Strom benoetigt. Zum Hintergrund: Hotbird ist nur fuer meine Frau, da es 
hier 2 Sender in ihrer Muttersprache gibt. Hauptsaechlich wird also 
Astra benutzt, nur gelegentlich Hotbird. Deswegen dachte ich mir ob es 
nicht auch mit einem einfachen Diseqc Schalter ginge, z.B. den folgenden 
von Reichelt:

Axing DiSEQC-V2.0-Umschalter

D.h. ich wollte an die erste DVB Karte den LNB von Astra anschliessen 
und an die zweite DVB Karte den Diseqc-Umschalter mit jeweils Astra und 
Hotbird. So koennte man dann falls noetig gleichzeitig 2 verschiedene 
Sender von Astra aufnehmen, oder astra und hotbird gleichzeitig. Zweimal 
von Hotbird ginge dann zwar nicht, ist aber nicht wichtig.

Ist sowas moeglich? Bzw. kann man sowas beim VDR konfigurieren? Momentan 
habe ich an der ersten DVB Karte Astra und an der zweiten Hotbird. Ich 
musste dazu in der Channels.conf die Sender entsprechend auf die Karten 
binden ueber das CA-Feld. Wie wuerde das ueber den Schalter gemacht, da 
ja z.b. RTL (Astra) sowohl direkt ueber DVB-Karte 1 als auch ueber den 
Schalter ueber Karte 2 erreichbar sein sollte.

Hat jemand so eine Konfiguration laufen?

Danke

Gruss

Olli

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Convert video clip to .vdr format

2007-09-16 Thread Dick Streefland
Friedhelm Büscher [EMAIL PROTECTED] wrote:
| i wrote a small shellscript which does the job. It looks, if the original 
video is a mpg
| or different and do the right steps to get a vdr-video. You need mencoder and 
genindex for
| the script. Let me know, if this works for you, too.

Thanks! It works, I only get a few audio glitches in the first few
seconds.

BTW: where did you get your genindex.c source from? My version does
not have any options.

-- 
Dick


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] astra und hotbird ueber diseqc schalter?

2007-09-16 Thread Artur Skawina
Oliver Joa wrote:
 Hi,
 
 ich habe mir heute einen zweiten LNB auf die Schuessel gebaut um Hotbird 
 empfangen zu koennen. Jetzt weiss ich nur noch nicht wie ich beide LNB 
 am geschicktesten mit meinem VDR verbinde (Beide LNB jeweils Quad). Ich 
 habe 2 DVB Karten. Die professionelle Variante waere wohl einen 
 Multiswitch einzubauen. Dagegen spricht der Preis und dass er extra 

the easiest way would be two 21 diseqc switches - no vdr patches required,
just the usual diseqc config.

artur

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


[vdr] Exist: windows media player that plays unaltered vdr files?

2007-09-16 Thread Torgeir Veimo
Subject says it all. It's just way too much work to transcode files  
if I want to send a clip to friends.


--
Torgeir Veimo
[EMAIL PROTECTED]



___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Exist: windows media player that plays unaltered vdr files?

2007-09-16 Thread Steffen Barszus
Torgeir Veimo schrieb:
 Subject says it all. It's just way too much work to transcode files if 
 I want to send a clip to friends.
VLC and mpui can do that. Also some direct show filter exist that make 
it possible to play unaltered files.

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Exist: windows media player that plays unaltered vdr files?

2007-09-16 Thread VDR User
On 9/16/07, Steffen Barszus [EMAIL PROTECTED] wrote:
 Torgeir Veimo schrieb:
  Subject says it all. It's just way too much work to transcode files if
  I want to send a clip to friends.
 VLC and mpui can do that. Also some direct show filter exist that make
 it possible to play unaltered files.

I dream of the day vdr recordings are something more supported then
the current mpeg-pes format!

:(

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] Exist: windows media player that plays unaltered vdr files?

2007-09-16 Thread Stone
On 9/16/07, VDR User [EMAIL PROTECTED] wrote:

 On 9/16/07, Steffen Barszus [EMAIL PROTECTED] wrote:
  Torgeir Veimo schrieb:
   Subject says it all. It's just way too much work to transcode files if
   I want to send a clip to friends.
  VLC and mpui can do that. Also some direct show filter exist that make
  it possible to play unaltered files.

 I dream of the day vdr recordings are something more supported then
 the current mpeg-pes format!



WMP may not work, but mplayer does. You can get that for windows.
___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr