Re: [FFmpeg-user] Audio duration difference

2019-10-06 Thread Felix Muster via ffmpeg-user
Now I'm confused

From my calculation:
Audio length: 5580.7 seconds
Video length: 133799/(24000/1001) = 5580.533292 seconds

From the container:
Audio length: 5580.704 --> that is what ffmpeg tell me when I reencode the 
stream
Video length: 5580.575 --> Adobe Premiere Pro showed me 133799 frames, but the 
container metadata 133800/(24000/1001) = 5580,575. Don't know why there is a 
difference ...

And all audio streams of the blu-ray have an different duration:
English: 5580.704
Swedish: 5580.694

But this difference is only in the end, or not?

> Where did you get the original length from?  Is "133799" the number of video 
> frames in the file?  Does the audio track start at the same time as the video 
> track?  Is it the same length as the video track?  At least on a DVD the 
> asnwer to the the last > 2 question is not guaranteed to be "yes".
133799 is the total frame number Premiere told me. I don't know if it start at 
the same time, I think so, otherwise it would be out of sync.


> Are you claiming you have corrected for both of those by trimming samples off 
> in some program?
I didn't touch the stream only extracted from mkv which I've passthrough ripped 
from blu-ray disc.

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-user] Audio duration difference

2019-10-06 Thread James Darnley
On 2019-10-06 12:38, Felix Muster via ffmpeg-user wrote:
> Hello
> 
>  
> 
> Can you please explain me this difference:
> 
>  
> 
> I have an audio-stream from a blu-ray (23.976 fps).
> 
> When I calculate the duration it should be: 133799/(24000/1001) =
> 5580.533292 seconds.

> à 01:33:00.70 = 5580.7 seconds
> 
>  
> 
> Why is there a difference of 0.166708 seconds?

Where did you get the original length from?  Is "133799" the number of
video frames in the file?  Does the audio track start at the same time
as the video track?  Is it the same length as the video track?  At least
on a DVD the asnwer to the the last 2 question is not guaranteed to be
"yes".

Are you claiming you have corrected for both of those by trimming
samples off in some program?

___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".