Back Forum Reply New

encoding image sequence for HDTV

hi there. I am new to this so perhaps someone can help me out.
I want to investigate taking an image sequence (jpegs) and I want to encode them and display them on a HDTV.
So far i have guessed that I can use a fairly standard PC graphics card with DVi out and connect it to a PC monitor capable of displaying High def (1920 pixels wide..have I got this bit right?)
I need to take my image sequence, currently jpegs at 3008 x 1962 pixels and encode them into some sort of movie to be played on a PC and displayed on the screen as if it were a High def broadcast.

Ideally this would be done from the command line on a linux server but for now can someone point me in the direction of what type of encoding software and/or format I need to be aiming for.
I hope this makes sense.

thanks

I've only tested it at 1920x1080.  Not elegant, but it does work.  There might be a tweaked version of mpeg2enc for HD resolution on Linux, but I haven't looked.  You'll have to modify this for Linux, or run it under Wine.

showthread.php?t=109077

JPGs--gt;Mencoder--gt;UNCOMPRESSED.AVI--gt;AviSynth--gt;YV12--gt;Avs2yuv--gt;Mpeg2enc--gt;output.mpg

I'll post the batch file later today.Perhaps Mplayer can  resize and run the image sequences?  That would be the simplest method.

Thanks. Looks complicated. I have done a Linux JPGs--gt;Mencoder--gt;UNCOMPRESSED.AVI--gt; part. I havent found a way to view it in anything yet. My linux box is a server so the lack of sound card makes totem crash. This looks like a good start. i shall eagerly await your batch file

Okay, as mentioned, not pretty and not tested in Linux.

You'll need the following apps to get the JPGs into HD Mpeg2-

Mencoder - the one I'm using is dated 11/29/05
AviSynth
AVS2YUV:  loren...synth/avs2yuv/
Mpeg2enc tweaked for HD, PLUS the specific Cygwin1.dll - both found at the bottom of this page:  

I did this with directories of .PNG files, you'll have to make a few modifications for your JPGs

mencoder mf--*.png -mf w=1920:h=1080:fps=29.97:type=png -ovc raw -vf format=yv12 -oac copy -o output.aviYou can skip the encoding to MPEG2 HD if you want and just encode your JPG sequence into HD Resolution XVID or h264.  Check the mencoder docs for the syntax - it would be some modifications to the quot;-ovcquot; options on the line.  You'll need to use a high bitrate and a pretty fast PC with any of these options. Look around for something like   quot;-ovc xvid -xvidencopts quot; in the Mencoder manual.I have an Avisynth script (OUT.AVS) which has a few lines in it:

SetMemoryMax(256)
Avisource(quot;C:\output.aviquot;)
ConverttoYV12()
#Spline36Resize(1920,1080) #Not really necessary

Finally, OUT.AVS is fed into Mpeg2enc

avs2yuv out.avs -o - | mpeg2enc --no-constraints -H -f 3 -G 15 -n n -r 24 -M 2 -c -K hi-res -V 448 -D 10 -b 25000 -a 3 -I 0 -a 2 -F 4 -s -o output.m2vok thanks for your help. I am trying to understand what I am doing at the moment. sorry to be a bit of a newbie.
so far I have used my linux box and mencoder to create an uncompressed avi:

mencoder mf--*.jpg -mf w=1920:h=1080:fps=25:type=jpg -ovc raw -vf format=yv12 -oac copy -o output.avi

Then in Windows with virtualdub (and XviD codec) I have saved the file as an avi with xvid mpeg4 codec. My 296mb file is now 2 Mb. It plays very slowly on my old Xp1800 machine but I expect that.

ok here is the thing.

I am working on an TV animation project for standard definition broadcast but we are aware that we should be looking into doing it high def to make it future proof. We have a SD editing suite and all is fine. I want to get hold of a high def TV and view some of the footage we have shot on it and be able to say quot;There you go, that is what it will look like in high defquot;.

If I take my xvid mpeg4 file and play it on a fast PC with a decent graphics card hooked up to a high def tv is my statement be true or is there another process to go through. (we are keeping our jpegs at full res as if they were quot;film negquot;)

Also if we were to be asked to deliver the production as high def  and showed up at a broadcaster with a hard drive what file format would they expect to see? (I'm talking about the BBC here but I don't need to be that specific yet.)

I hope these questions make some sort of sense!

Thanks


Originally Posted by Matt_K
If I take my xvid mpeg4 file and play it on a fast PC with a decent graphics card hooked up to a high def tv is my statement be true or is there another process to go through. (we are keeping our jpegs at full res as if they were quot;film negquot;)

Also if we were to be asked to deliver the production as high def  and showed up at a broadcaster with a hard drive what file format would they expect to see? (I'm talking about the BBC here but I don't need to be that specific yet.)

Thanks

You'll get a general idea as to what the material will look like in HD.  Colors will be inaccurate.  

You should render your source frames in PNG or TGA format if you're saving them as masters.

Delivery format is almost always the decision of the client.
¥
Back Forum Reply New