How to convert a JPEG image to an HD video frame?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The VDR plugin 'pictures' (part of the original VDR archive)
uses a Perl script named 'pic2mpg', which converts a JPEG
image into an MPEG frame that can be displayed directly
by VDR's primary output device. This is done in essence
by the command sequence

  jpegtopnm $Pict |
  pnmscale --xscale=$ScaleW --yscale=$ScaleH |
  pnmpad --black --width $SW --height $SH |
  ppmtoy4m -F $framerate -I p -S 420mpeg2 |
  mpeg2enc -f 3 -b 12500 -a $aspect -q 1 -n $system2 -o $Mpeg

(see the actual script for the complete working environment).

While this works fine for SD video, I can't seen to figure
out how to make this work for an HD video output device.
The video frame should be a 1080i frame in my case (my tv
can't handle 1080p), but could optionally also be 720p or
1080p, depending on the actual tv's capabilities.

Can anybody give me a pointer how this script could generate
HD video frames?

Klaus

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


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux