shorton
11th October 2005, 16:06
Greetings:
I'm working on a project to serve raw YCbCr encoded "stills" to CCE and/or QuEnc. I'm getting some help reading my particular raw YUV file format with Rawsource via a different thread.
If Wilbert, Warpenterprises, gurus et.al. are able to tweak Rawsource to allow reading of my raw YUV files, I'm one step closer. I can see the next hurdle though and figured a different thread would be appropriate for this Rawsource usage question.
Until we decided to use Rawsource, I was reading RGB bmp's using Imagesource i.e.:
ImageSource("somefile.bmp", end = 59, fps = 29.97)
But now I'll hopefully be reading my raw YUV files with Rawsource i.e.
Rawsource("somefile.yuv", 720, 480, "UYVY")
Each raw file is one frame. How can I construct/serve the same 60 frames at 29.95 fps as I did with Imagesource example above? Duplicate the function line 60 times in my avs script? That's fine if that's the way, but I don't know what to do about the frame rate.
I will be opening the avs and serving frames (if that's the right way to say it) directly with my mpeg encoders CCE/QuEnc.
Hopefully this is a easy question for you guys experienced with Avisynth. I'm still learning it (obviously :)).
Thanks very much for the time to help. Best, Scott
I'm working on a project to serve raw YCbCr encoded "stills" to CCE and/or QuEnc. I'm getting some help reading my particular raw YUV file format with Rawsource via a different thread.
If Wilbert, Warpenterprises, gurus et.al. are able to tweak Rawsource to allow reading of my raw YUV files, I'm one step closer. I can see the next hurdle though and figured a different thread would be appropriate for this Rawsource usage question.
Until we decided to use Rawsource, I was reading RGB bmp's using Imagesource i.e.:
ImageSource("somefile.bmp", end = 59, fps = 29.97)
But now I'll hopefully be reading my raw YUV files with Rawsource i.e.
Rawsource("somefile.yuv", 720, 480, "UYVY")
Each raw file is one frame. How can I construct/serve the same 60 frames at 29.95 fps as I did with Imagesource example above? Duplicate the function line 60 times in my avs script? That's fine if that's the way, but I don't know what to do about the frame rate.
I will be opening the avs and serving frames (if that's the right way to say it) directly with my mpeg encoders CCE/QuEnc.
Hopefully this is a easy question for you guys experienced with Avisynth. I'm still learning it (obviously :)).
Thanks very much for the time to help. Best, Scott