Concat Resulting in Delayed Audio

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Concat Resulting in Delayed Audio

Viaduct Productions
Hi folks.  I’m performing a multiple-“.mov” concat which is resulting in delayed audio in the final output .mp4.  

I’m rendering temp MPEG-2 .ts files, then concatenating all of those into a final MP4 file.  

The final video has a lagging video, which eventually catches up by the end of the video.  

Is there a way I can fully encapsulate the intermediate files so that there is spot-on audio into the intermediate files, and then into the final MP4?  Is MP4 the file type I should be sending to?  I can re-translate it post-concat, if need be.  

My STDOUT is here:  https://gist.github.com/daBee/d4052da2a5be7a8ee121ae70eafebefe 

I appreciate any insight.  Cheers
_____________
Rich in Toronto @ VP






_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".
Reply | Threaded
Open this post in threaded view
|

Re: Concat Resulting in Delayed Audio

Viaduct Productions
Furthermore…

ffmpeg -y -i #{ item } -c copy -bsf:v h264_mp4toannexb -f mpegts int#{ counter }.ts

…and…

ffmpeg -y -i \"concat:#{ couple }\" -bsf:a aac_adtstoasc #{ d }/final.mp4

d: original source directory path
item: original .mov source file
counter: auto-increment integer
couple: string of intermediate files piped together:  

concat:int1.ts|int2.ts|int3.ts|int4.ts|int5.ts|int6.ts|int7.ts|int8.ts|int9.ts|int10.ts|int11.ts|int12.ts|int13.ts|int14.ts|int15.ts|int16.ts|int17.ts|int18.ts|int19.ts|int20.ts|int21.ts|int22.ts|int23.ts|int24.ts|int25.ts|int26.ts|int27.ts|int28.ts|int29.ts|int30.ts|int31.ts|int32.ts|int33.ts|int34.ts|int35.ts|int36.ts|int37.ts|int38.ts|int39.ts|int40.ts|int41.ts|int42.ts|int43.ts|int44.ts|int45.ts|int46.ts|int47.ts|int48.ts|int49.ts|int50.ts|int51.ts|int52.ts|int53.ts|int54.ts|int55.ts|int56.ts|int57.ts|int58.ts|int59.ts|int60.ts|int61.ts|int62.ts|int63.ts|int64.ts|int65.ts|int66.ts|int67.ts|int68.ts|int69.ts|int70.ts



> On Oct 5, 2018, at 10:23 PM, VP Lists <[hidden email]> wrote:
>
> Hi folks.  I’m performing a multiple-“.mov” concat which is resulting in delayed audio in the final output .mp4.  
>
> I’m rendering temp MPEG-2 .ts files, then concatenating all of those into a final MP4 file.  
>
> The final video has a lagging video, which eventually catches up by the end of the video.  
>
> Is there a way I can fully encapsulate the intermediate files so that there is spot-on audio into the intermediate files, and then into the final MP4? Is MP4 the file type I should be sending to?  I can re-translate it post-concat, if need be.  
>
> My STDOUT is here:  https://gist.github.com/daBee/d4052da2a5be7a8ee121ae70eafebefe 
>
> I appreciate any insight.  Cheers


_____________
Rich in Toronto @ VP






_______________________________________________
ffmpeg-user mailing list
[hidden email]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".