Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.