Vladimir Eremeev wrote:
> Sorry, I will be more precise.
> 
> Michel Bardiaux <[EMAIL PROTECTED]> writes:
> 
>>>> What does ffmpeg -i say about your output file? 
> 
> Original output file.

It is the original (input to your program) or output (of your program). 
Cant be both.

So please post (again)! ffmpeg -i p8211<etc>.mpg, ffmpeg -vcodec copy 
p8.mpg, ffmpeg -i p8.mpg, *and* ffmpeg -i on the *output* of your program.

>  
>> No, all wrong. Dont you notice you have mpeg2 in, but mpeg1 in the 
>> output? That's because you put the spec of p8.mpg after the file, it 
>> must be before.
> 
> Now all correct. :)

No, *everything* has to be before p8.mpg, even -f dvd if you really want 
that.

[snip]

>>> VLC and Kaffeine seem to use another method, or use some other fields in 
> the 
>>> file. I must set up them also.
>  
>> I cant comment on that if you are not more precise. *Which* other method?
>  
> That was only my supposition. 
> You have named two methods, and said that ffmpeg uses the second one, and 
> calculates the duration correctly. I just supposed that since vlc and 
> kaffeine 
> don't calculate the movie duration correctly, they don't use that method, but 
> use some other.
> I understand that this is a wrong list to ask questions about other media 
> players specifics.

And please post what durations VLC reports for all 3 mpg files too.

On reflexion, let's use the strategy that is usually best in this list: 
let us rehearse what you want using ffmpeg CLI. So post what I asked 
above, omitting what concerns the file output by your program.

Greetings,
-- 
Michel Bardiaux
http://www.mediaxim.com/
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to