[x264-devel] Re: x264, ffmpeg and yuv4mpegpipe...

Andrew Church achurch at achurch.org
Thu Nov 2 14:07:22 CET 2006


>Basically, I want to pipe a vob out of ffmpeg, through yuvdeinterlace
>and y4mscaler and then into x264.
[...]
>But when I try to include x264 in the pipe directly I get weird
>scrolling and color shifting on the encoded video:
>    ffmpeg -t 30 -i vts_01_0.vob -f yuv4mpegpipe - | \
>        yuvdeinterlace19 -s0 | \
>        y4mscaler -v0 -I active=704x352+8+64 -O size=704x384 -O sar=1:1 | \
>        x264 -b 1000 -o dvd.264 - 704x384

     This is just a wild guess, but might x264's frame reads be returning
only partial data for some frames?  If x264 uses nonblocking reads, then
depending on how y4mscaler and x264 get scheduled, some of the reads could
end up short even if data is available.  I don't know enough about the x264
internals to tell whether this is actually the case, though.

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list