Arthur,
I have a script that contains:
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -flags ilme+ildct -f
mpeg2video $1
that I pipe cinelerra rendering to. Works for me.
I guess you could use the pipe directly in cinelerra by changing the $1
to a % sign. I use a script and have several different pipe command
strings in it all but one of which is commented out.
mpeg2enc and ffmpeg change, or have in the past, their command line
arguments so when they have updated, things that did work stopped
working. If all else fails, try the documentation for the version of
mpeg2enc or ffmpeg you are using to see what works.
In looking at your
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -ilme -ildct -hq -f
mpeg2video %
command, I think the "-ilme -ildct" may be causing the problem depending
on the version of ffmpeg. My line uses "-flags ilme+ildct" instead which
is what is required by my version.
Regards,
John
On 03/03/2010 11:28 PM, [email protected] wrote:
Thanks for the quick reply, ffmpeg -f yuv4mpegpipe -i - -y -target
ntsc-dvd % gives me "bad header magic" and "parameter out of range" errors.
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -ilme -ildct -hq -f
mpeg2video % gives me : int
YUVStream::write_frame(uint8_t**):write_frame() failed: system error
(failed read/write)
ffmpeg -f yuv4mpegpipe -i - -y -target ntsc-dvd -f mpeg2video % gives me
: "bad header magic" and "parameter out of range" errors.
mpeg2enc -v 1 -r 16 -M 4 -4 1 -2 1 -H -R 0 -D 10 -E -10 -g 6 -G 9 -I 1 -f 8 -o
$1 gives me: int YUVStream::write_frame(uint8_t**):write_frame() failed: system
error (failed read/write)
I'm still willing to try, any more suggestions? Bye the way, I'm very impressed
by the quick responses from this community and I hope this program works well
for others.
Thanks!