« A Blog Without Comments Is Like A Day Without SunshineHow to Make Pound Cake, Repeat After Me No More Recipe Videos »

Cinelerra Error Messages When Using YUV4MPEGSTREAM Rendering Option

04/25/10

  06:24:57 pm by wdawe, Categories: videos
Cinelerra Error Messages When Using YUV4MPEGSTREAM Rendering Option

When creating the deliverables for my latest Howcast.com video I couldn't remember the settings I used last time to export the high quality masters I needed. Cinelerra suggested these presets for the use pipe command line:

ffmpeg -f yuv4mpegpipe -i - -y -target dvd -ilme -ildct -hq -f mpeg2video %

but when I used them I received the following error message.

int YUVStream::write_frame(utint8_t**): write_frame() failed: system error (failed/write)

after some fiddling and Googeling I realized that the error message meant that ffmpeg wasn't returning any frames and the culprit was the -hq which isn't supported by my version of ffmpeg. I also had to change the -ilme -ildct to -flags +ilme+ildct and remove the -target dvd to keep ffmpeg from rescaling the video from it's native size giving me a pipe command line of:

ffmpeg -f yuv4mpegpipe -i - -y -flags +ilme+ildct -f mpeg2video %

Which gave a video that looked ok when played with ffplay but which had a purple bar across the top when played with mplayer. After a bit more fiddling I came up with the following pipe command line which gives good quality video that plays on both video players.

ffmpeg -f yuv4mpegpipe -i - -y -qmax 2 -f mov -vcodec mpeg2video %

I hope this alleviates your frustration when trying to use the YUV4MPEGSTREAM Rendering Option in Cinelerra.

No feedback yet


Form is loading...

October 2025
Mon Tue Wed Thu Fri Sat Sun
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
 << <   > >>

Wayne D's Blog

Cool web tools, EEPC tips and Linux info. Browse around, I'm sure you will find something to interest you.

Search

Random photo

Moving a window above the top bar in Gnome 3 classic shell

  XML Feeds

Photo albums software