Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to -ss in ffmpeg to the file, that is being received via pipe? So that I start reading it from a given timecode? I am not encoding the file.

Thanks

share|improve this question
    
Have you tried it already? – slhck Mar 2 '12 at 22:06
    
yeah, it always starts from 0 – user861181 Mar 2 '12 at 22:10
    
Maybe you can add the commands you're using and provide a sample file for others to try. I don't know if it's actually possible, but I fear it's not. – slhck Mar 2 '12 at 23:28

So it is definitely impossible.

here is what I was trying to achieve:

<wget command here> - | ffmpeg -ss 00:00:03 -t 00:00:10 -i - -y -g 1 -vcodec copy -acodec copy <name of the file>

Bad news: the file WILL be downloaded from 00:00:00

Good news: downloading WILL stop at 00:00:10

I guess something close to the desired goal of having a 7-second long clip that starts at 03 initial seconds is achievable through librtmp / streaming and then seeking to the desired timecode, but that sounds like an overkill for what I am doing.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .