Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 dup 0 and dropped 16 Means there were 0 duplicate frames but 16 were dropped (to remain in sync) No recognisable sound after the first clip Hmm that's no good and shouldn't happen. I will give you a batch file to run so I can look at the media info of the files (in a couple of hrs) we may have to get creative to join all these up
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Means there were 0 duplicate frames but 16 were dropped (to remain in sync) Hmm that's no good and shouldn't happen. I will give you a batch file to run so I can look at the media info of the files (in a couple of hrs) we may have to get creative to join all these up Thanks. Will check back later. By the way can this be used for other files? If so what would i change?
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 Sure it can. Just change the file name inside the "00000.m2ts" (make sure you leave the "") .
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 "Ultimate Bass Demo V2.mkv" the bit between the "" is the output name it can be changed to whatever you want at the start of the c/l you will see basically a list of filenames enclosed in "" they are the bits you what to change make sure each one is enclosed in "" & separated by ^| eg "your1stfile.ext"^|"your2ndfile.ext"^|"yourlastfile.ext"
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Sure it can. Just change the file name inside the "00000.m2ts" (make sure you leave the "") . Is this where to change? If not how would I change the name inside the 00000.m2ts? 0 -af "aresample=async=1000" "Ultimate Bass Demo V2.mkv" I would like to try it with another demo with less files to see if I get the same results.
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 @@lja could you please save this bat file and run it in the same folder as all the m2ts files it should produce a text file at the end could you upload the txt file somewhere for me to d/l thanks https://dl.dropboxusercontent.com/u/1349444/mi.bat
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 @@lja could you please save this bat file and run it in the same folder as all the m2ts files it should produce a text file at the end could you upload the txt file somewhere for me to d/l thanks https://dl.dropboxusercontent.com/u/1349444/mi.bat Here it is: https://dl.dropboxusercontent.com/u/19298307/mi.txt
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 Hmm cant see any reason it would audio fail after the first clip there. Can you try to run the this c/l it will log the output to a txt file and so I can see if there are errors ffmpeg.exe -i concat:"00000.m2ts"^|"00001.m2ts"^|"00002.m2ts"^|"00003.m2ts"^|"00004.m2ts"^|"00005.m2ts"^|"00006.m2ts"^|"00007.m2ts"^|"00008.m2ts"^|"00009.m2ts"^|"00010.m2ts"^|"00011.m2ts"^|"00012.m2ts"^|"00013.m2ts"^|"00014.m2ts"^|"00015.m2ts"^|"00016.m2ts"^|"00017.m2ts"^|"00018.m2ts"^|"00019.m2ts"^|"00020.m2ts"^|"00021.m2ts"^|"00022.m2ts"^|"00023.m2ts"^|"00024.m2ts"^|"00025.m2ts"^|"00026.m2ts"^|"00027.m2ts"^|"00028.m2ts"^|"00029.m2ts"^|"00030.m2ts"^|"00031.m2ts"^|"00032.m2ts"^|"00033.m2ts"^|"00034.m2ts"^|"00035.m2ts"^|"00036.m2ts"^|"00037.m2ts"^|"00038.m2ts"^|"00039.m2ts"^|"00040.m2ts"^|"00041.m2ts"^|"00042.m2ts"^|"00043.m2ts"^|"00044.m2ts"^|"00045.m2ts"^|"00046.m2ts"^|"00047.m2ts"^|"00048.m2ts"^|"00049.m2ts"^|"00050.m2ts"^|"00051.m2ts"^|"00052.m2ts"-loglevel verbose -map 0 -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=trunc(1280/2)*2:trunc(720/2)*2" -preset superfast -crf 18 -profile:v high -level 4.1 -maxrate 4500000 -minrate 4500000 -bufsize 4500000 -vsync vfr -threads 0 -acodec ac3 -ac 6 -ab 384000 -af "aresample=async=1000" "Ultimate Bass Demo V2.mkv" 2> concat-log.txt Link me to concat-log.txt when it completes please (it would have been nice if the orig author had have standardized the format )
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Hmm cant see any reason it would audio fail after the first clip there. Can you try to run the this c/l it will log the output to a txt file and so I can see if there are errors ffmpeg.exe -i concat:"00000.m2ts"^|"00001.m2ts"^|"00002.m2ts"^|"00003.m2ts"^|"00004.m2ts"^|"00005.m2ts"^|"00006.m2ts"^|"00007.m2ts"^|"00008.m2ts"^|"00009.m2ts"^|"00010.m2ts"^|"00011.m2ts"^|"00012.m2ts"^|"00013.m2ts"^|"00014.m2ts"^|"00015.m2ts"^|"00016.m2ts"^|"00017.m2ts"^|"00018.m2ts"^|"00019.m2ts"^|"00020.m2ts"^|"00021.m2ts"^|"00022.m2ts"^|"00023.m2ts"^|"00024.m2ts"^|"00025.m2ts"^|"00026.m2ts"^|"00027.m2ts"^|"00028.m2ts"^|"00029.m2ts"^|"00030.m2ts"^|"00031.m2ts"^|"00032.m2ts"^|"00033.m2ts"^|"00034.m2ts"^|"00035.m2ts"^|"00036.m2ts"^|"00037.m2ts"^|"00038.m2ts"^|"00039.m2ts"^|"00040.m2ts"^|"00041.m2ts"^|"00042.m2ts"^|"00043.m2ts"^|"00044.m2ts"^|"00045.m2ts"^|"00046.m2ts"^|"00047.m2ts"^|"00048.m2ts"^|"00049.m2ts"^|"00050.m2ts"^|"00051.m2ts"^|"00052.m2ts"-loglevel verbose -map 0 -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=trunc(1280/2)*2:trunc(720/2)*2" -preset superfast -crf 18 -profile:v high -level 4.1 -maxrate 4500000 -minrate 4500000 -bufsize 4500000 -vsync vfr -threads 0 -acodec ac3 -ac 6 -ab 384000 -af "aresample=async=1000" "Ultimate Bass Demo V2.mkv" 2> concat-log.txt Link me to concat-log.txt when it completes please (it would have been nice if the orig author had have standardized the format ) https://dl.dropboxusercontent.com/u/19298307/concat-log.txt
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 doh FAIL ffmpeg.exe -i concat:"00000.m2ts"^|"00001.m2ts"^|"00002.m2ts"^|"00003.m2ts"^|"00004.m2ts"^|"00005.m2ts"^|"00006.m2ts"^|"00007.m2ts"^|"00008.m2ts"^|"00009.m2ts"^|"00010.m2ts"^|"00011.m2ts"^|"00012.m2ts"^|"00013.m2ts"^|"00014.m2ts"^|"00015.m2ts"^|"00016.m2ts"^|"00017.m2ts"^|"00018.m2ts"^|"00019.m2ts"^|"00020.m2ts"^|"00021.m2ts"^|"00022.m2ts"^|"00023.m2ts"^|"00024.m2ts"^|"00025.m2ts"^|"00026.m2ts"^|"00027.m2ts"^|"00028.m2ts"^|"00029.m2ts"^|"00030.m2ts"^|"00031.m2ts"^|"00032.m2ts"^|"00033.m2ts"^|"00034.m2ts"^|"00035.m2ts"^|"00036.m2ts"^|"00037.m2ts"^|"00038.m2ts"^|"00039.m2ts"^|"00040.m2ts"^|"00041.m2ts"^|"00042.m2ts"^|"00043.m2ts"^|"00044.m2ts"^|"00045.m2ts"^|"00046.m2ts"^|"00047.m2ts"^|"00048.m2ts"^|"00049.m2ts"^|"00050.m2ts"^|"00051.m2ts"^|"00052.m2ts" -loglevel verbose -map 0 -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=trunc(1280/2)*2:trunc(720/2)*2" -preset superfast -crf 18 -profile:v high -level 4.1 -maxrate 4500000 -minrate 4500000 -bufsize 4500000 -vsync vfr -threads 0 -acodec ac3 -ac 6 -ab 384000 -af "aresample=async=1000" "Ultimate Bass Demo V2.mkv" 2> concat-log.txt Missed a space try with that one lol
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 doh FAIL ffmpeg.exe -i concat:"00000.m2ts"^|"00001.m2ts"^|"00002.m2ts"^|"00003.m2ts"^|"00004.m2ts"^|"00005.m2ts"^|"00006.m2ts"^|"00007.m2ts"^|"00008.m2ts"^|"00009.m2ts"^|"00010.m2ts"^|"00011.m2ts"^|"00012.m2ts"^|"00013.m2ts"^|"00014.m2ts"^|"00015.m2ts"^|"00016.m2ts"^|"00017.m2ts"^|"00018.m2ts"^|"00019.m2ts"^|"00020.m2ts"^|"00021.m2ts"^|"00022.m2ts"^|"00023.m2ts"^|"00024.m2ts"^|"00025.m2ts"^|"00026.m2ts"^|"00027.m2ts"^|"00028.m2ts"^|"00029.m2ts"^|"00030.m2ts"^|"00031.m2ts"^|"00032.m2ts"^|"00033.m2ts"^|"00034.m2ts"^|"00035.m2ts"^|"00036.m2ts"^|"00037.m2ts"^|"00038.m2ts"^|"00039.m2ts"^|"00040.m2ts"^|"00041.m2ts"^|"00042.m2ts"^|"00043.m2ts"^|"00044.m2ts"^|"00045.m2ts"^|"00046.m2ts"^|"00047.m2ts"^|"00048.m2ts"^|"00049.m2ts"^|"00050.m2ts"^|"00051.m2ts"^|"00052.m2ts" -loglevel verbose -map 0 -vcodec libx264 -force_key_frames expr:if(isnan(prev_forced_t),gte(t,.1),gte(t,prev_forced_t+5)) -vf "scale=trunc(1280/2)*2:trunc(720/2)*2" -preset superfast -crf 18 -profile:v high -level 4.1 -maxrate 4500000 -minrate 4500000 -bufsize 4500000 -vsync vfr -threads 0 -acodec ac3 -ac 6 -ab 384000 -af "aresample=async=1000" "Ultimate Bass Demo V2.mkv" 2> concat-log.txt Missed a space try with that one lol https://dl.dropboxusercontent.com/u/19298307/concat-log.txt
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 Can you rename this file File > 'Ultimate Bass Demo V2.mkv' It should run through the whole process and log it.
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Can you rename this file File > 'Ultimate Bass Demo V2.mkv' It should run through the whole process and log it. Which file?
Tikuf 663 Posted December 11, 2013 Posted December 11, 2013 Ultimate Bass Demo V2.mkv <<< delete (the output from the last run still exists in the directory the c/l will run but it is prompting to an overwrite which you wont see since I am capturing the output window.) You wont see any feed back in the cmd window it will show the prompt when it is all done.
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Ultimate Bass Demo V2.mkv <<< delete (the output from the last run still exists in the directory the c/l will run but it is prompting to an overwrite which you wont see since I am capturing the output window.) You wont see any feed back in the cmd window it will show the prompt when it is all done. Thanks. Did that after my last post. Running now. Will take some time.
lja 51 Posted December 11, 2013 Author Posted December 11, 2013 Ok. Run completed. There is sound but the sound and video are not together. While I would love to get this to work, I do not wish to take up more of your valuable time. However if you wish to continue I will. If you don't, I will understand. In any case thanks a lot.
lja 51 Posted December 12, 2013 Author Posted December 12, 2013 Almost there now Is the audio delay out by the same amount throughout the joined file? If yes we can fix it if no we will have to do each clip by itself. (which will take a bit of time this is most likely the case as the audio format changes throughout the different files). Open up vlc (if you have it if not grab a copy here) While movie is playing use J key to delay the audio or the K to advance it. Once it is in sync let me know what the delay or advance is in millisec (it will display on screen) and i will build it into the original c/l (converting from hd audio there is normally a bit of a delay built into the time stamps) I am having some difficulty in getting the sync. Still trying.
Tikuf 663 Posted December 12, 2013 Posted December 12, 2013 Almost there now Is the audio delay out by the same amount throughout the joined file? If yes we can fix it if no we will have to do each clip by itself. (which will take a bit of time this is most likely the case as the audio format changes throughout the different files). Open up vlc (if you have it if not grab a copy here) While movie is playing use J key to delay the audio or the K to advance it. Once it is in sync let me know what the delay or advance is in millisec (it will display on screen) and i will build it into the original c/l (converting from hd audio there is normally a bit of a delay built into the time stamps)
lja 51 Posted December 14, 2013 Author Posted December 14, 2013 After trying to sync the audio without luck, I went ahead with converting each clip individually. I now have each clip in mkv. Looking for the next step.
Tikuf 663 Posted December 14, 2013 Posted December 14, 2013 Ya likely that wont actually help matters as the delay for each clip may still be different. But hey at least having them in mkv (and not bd structure) you should be able to dump them into a directory (use home movie as the type) and you should be able to play all in order.
lja 51 Posted December 14, 2013 Author Posted December 14, 2013 Thanks for help. It is much appreciated.
Solution lja 51 Posted January 5, 2014 Author Solution Posted January 5, 2014 @@Tikuf Continued my research and found this Aunsoft MTS/M2TS Converter. So far it is working for me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now