> but its not giving 0 transition time. if you find any other method please > shaere
The way video files are commonly encoded is that intermediate "full" frames are stored and for the in-between frames, the delta to the previous/full frame is stored. If your start position is not one of these full frames, you should expect a very small delay. Even if the above were not applicable, what you really want is mplayer to seek forward to the beginning of the loop when it is close to end of loop. Here is what I recommend you to try (dirty hack; may be as an exercise). Get mplayer to say play from a fifo (mkfifo test). Write a program/script to generate the portion of the video file that you want to be in the loop and send it to the "test" fifo. This way, mplayer will not be "seeking back" at the end of the loop. Here, the fifo test is just an example. Find a similar mechanism. Problems that need to be resolved: 1. you need to pass the video header in the beginning. sometimes mplayer can play broken videos too? 2. how do you seek in the file to the point where your loop ends and stops. SB -- l...@iitd - http://tinyurl.com/ycueutm
