On Mon, Aug 18, 2008 at 11:06 AM, vmrsss <vmrsss at gmail.com> wrote:
On 18 Aug 2008, at 15:50, Josh Joy wrote:
On 18 Aug 2008, at 06:42, Josh Joy wrote:
mkfifo fifo.y4m ffmpeg -i test.mp4 -an -f yuv4mpegpipe - > fifo.y4m & x264 --quiet --crf 18 -o video.264 fifo.y4m
For some reason, ffmpeg just sits here
try -f yuv4mpegpipe -y fifo.y4m <https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-user>
It still sits there, doesnt process. Do I have to compile ffmpeg or x264 in a special way to allow named pipes to work? I ran some other tests on my system and it seems named pipes work with other scripts/executables
It must work, have you removed the - and > ? Try to run the commands from different shells, to avoid silly problems.
I ran the following in bash and ksh, though nothing happens or process....too strange.. mkfifo input.y4m ffmpeg -i test.mp4 -an -f yuv4mpegpipe -y input.y4m & x264 --progress --output video.264 input.y4m All I see is Output #0, yuv4mpegpipe, to 'input.y4m': Stream #0.0(eng): Video: rawvideo, yuv420p, 768x576, q=2-31, 200 kb/s, 25.00 tb(c) Stream mapping: Stream #0.1 -> #0.0 Press [q] to stop encoding Though there is no encoding happening...no progress, cpu usage is at 0%....I'm not sure what it's waiting for or why it's not starting.. Thanks, Josh