Hey hans, For me mkv concatenation is working fine with my process. Do you want output file in mkv format ?
On Mon, Jul 6, 2015 at 8:24 PM, Hans Emmanuel <[email protected]> wrote: > Hello Mahesh, > > Thanks for your reply. Its really interesting project. We are looking in to > building a scalable transcoding farm in AWS. I tried using your commands > for splitting and concatenating , but have the same result. The issue seems > only for mkv files while mp4 concatenation seems fine. > > On Mon, Jul 6, 2015 at 12:05 PM, Mahesh Patade <[email protected]> > wrote: > >> Hey, >> >> Please check this process >> https://github.com/patademahesh/Distributed-Video-Transcoding/. >> >> I have written this logic in my project. Check scripts. >> >> >> >> On Mon, Jul 6, 2015 at 11:39 AM, Hans Emmanuel <[email protected]> >> wrote: >> > Hello all, >> > >> > I need to split mp4 files for distributed batch transcoding process. I >> was >> > planning to split it with ffmpeg command >> > >> > *ffmpeg -i largefile.mp4 -ss 00:00:00 -t 00:05:00 -acodec copy -vcodec >> > copy part1.mp4 -ss 00:05:00 -t 00:05:00 -acodec copy -vcodec copy >> > part2.mp4 * etc.. >> > >> > Then concatenating the part files with >> > >> > *ffmpeg -f concat -i mylist.txt -c copy final.mp4* where mylist.txt >> > contains the part files locations. But the final video seems hanging for >> a >> > bit of second at the joining points. I have tried the other method with >> > mpegts. >> > >> > first I split converted to mpegts with >> > >> > >> > *ffmpeg -i file.mp4 -c copy -bsf:v h264_mp4toannexb -f mpegts >> file_mpegts.ts* >> > >> > Then I split mpegts to part files with the first ffmpeg command and >> > finally I concatenated part files with >> > >> > *ffmpeg -i "concat:part1.ts|part2.ts" -c copy -bsf:a aac_adtstoasc >> > file_final.mp4* . But in this method also, the above mentioned >> > >> > problem is there. Am I using the correct commands/ method? Please >> > share your thoughts for a smooth concatenation. >> > >> > >> > >> > >> > -- >> > Warm Regards, Hans Emmanuel >> > *Project Manager (Linux Infrastructure Management)* >> > *Email* : [email protected] *|* *Skype* : sparkhans >> > <http://www.sparksupport.com/> <http://www.sparkmycloud.com/> >> > <https://www.facebook.com/sparksupport> >> > <http://www.linkedin.com/company/244846> < >> https://twitter.com/sparksupport> >> > 3rd Floor, Leela Infopark, Phase -2,Kakanad, Kochi-30, Kerala, India >> > *Phone*:+91 484 6561696 , *Mobile*:91-9744167260. *Confidentiality >> > Notice:* Information in this e-mail is proprietary to SparkSupport. and >> is >> > intended for use only by the addressed, and may contain information that >> is >> > privileged, confidential or exempt from disclosure. If you are not the >> > intended recipient, you are notified that any use of this information in >> > any manner is strictly prohibited. Please delete this mail & notify us >> > immediately at [email protected] >> > _______________________________________________ >> > ffmpeg-user mailing list >> > [email protected] >> > http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> >> >> >> -- >> Best Regards, >> Mahesh Patade >> Mob. No. +91-97735-80660 >> _______________________________________________ >> ffmpeg-user mailing list >> [email protected] >> http://ffmpeg.org/mailman/listinfo/ffmpeg-user >> > > > > -- > Warm Regards, Hans Emmanuel > *Project Manager (Linux Infrastructure Management)* > *Email* : [email protected] *|* *Skype* : sparkhans > <http://www.sparksupport.com/> <http://www.sparkmycloud.com/> > <https://www.facebook.com/sparksupport> > <http://www.linkedin.com/company/244846> <https://twitter.com/sparksupport> > 3rd Floor, Leela Infopark, Phase -2,Kakanad, Kochi-30, Kerala, India > *Phone*:+91 484 6561696 , *Mobile*:91-9744167260. *Confidentiality > Notice:* Information in this e-mail is proprietary to SparkSupport. and is > intended for use only by the addressed, and may contain information that is > privileged, confidential or exempt from disclosure. If you are not the > intended recipient, you are notified that any use of this information in > any manner is strictly prohibited. Please delete this mail & notify us > immediately at [email protected] > _______________________________________________ > ffmpeg-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-user -- Best Regards, Mahesh Patade Mob. No. +91-97735-80660 _______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
