Jump to content

Demonstration Movie Clips


lja
Go to solution Solved by lja,

Recommended Posts

I have a number of demo videos which are made of clips from various movies. Previously in MB2 these played in sequence. They do not now play in sequence in MB3. I understand that they should be joined. However the audio is of different audio codecs. I have tried joining but did not get it to work. They have been in mkv containers. Is there any way to be able to to play them as I did in MB2?

 

 

Edit

Each demo clip has a different audio codec. Is there a way to join the clips and retain the audio codec of each clip? I really miss the simple method of playing the clips in MB2. 

Edited by lja
Link to comment
Share on other sites

  • 2 weeks later...

Use boilsoft video joiner it will auto convert the files and join them together and its pretty quick

Thanks. However this did not work for me. Refer first post under edit.

Edited by lja
Link to comment
Share on other sites

What is the video? are they all the same?

 

If you want to recode them as one file I can give you a commandline to do it.

  • Like 1
Link to comment
Share on other sites

The files cannot be joined unless the video codec/audio codec are the same so there is no way to do that. What I am suggesting is re-encoding the audio to a standard codec then joining if you are interested in that let me know.

Link to comment
Share on other sites

The files cannot be joined unless the video codec/audio codec are the same so there is no way to do that. What I am suggesting is re-encoding the audio to a standard codec then joining if you are interested in that let me know.

Thanks. I am willing to try. If we could only get the MB2 feature back.

Link to comment
Share on other sites

Im not sure I understand what feature you are talking about.

I am interested in trying the approach you are recommending.

 

In MB2 I was able to play these files in sequence.

Link to comment
Share on other sites

There are two ways you can do this. 

 

Number the files in order 001-name.mp4,002-name.mp4,003-name.mp4 etc and select home movies as the type that should do it for you. (unless I'm wrong in which case someone will correct me I'm sure)

 

or we can join them all up into one file

 

 using ffmpeg to do that What audio codec and number of channels would you like to use for all the file (i am assuming h264 will be ok for the video but i will need a prefered bitrate from you.

Link to comment
Share on other sites

There are two ways you can do this. 

 

Number the files in order 001-name.mp4,002-name.mp4,003-name.mp4 etc and select home movies as the type that should do it for you. (unless I'm wrong in which case someone will correct me I'm sure)

 

or we can join them all up into one file

 

 using ffmpeg to do that What audio codec and number of channels would you like to use for all the file (i am assuming h264 will be ok for the video but i will need a prefered bitrate from you.

Thanks. The numbering system is what I used in MB2 and that worked great. However I could not get it to work in MB3. Plays clips separately.

The clips are made up of: Dolby True HD; DTS HD MA; Dolby Digital. Maybe I should go with Dolby Digital, H264. 23.96-the clips are M2TS, Channels: Would prefer 7:1 but most of the clips are 5:1, so maybe 5:1 maybe better. Will be guided by you. Thanks for your help.

Link to comment
Share on other sites

Ok looking at what you have there it is probably best to convert the audio to aac 5.1  or ac3 5.1 (lmk if you have a preference) with an mkv extension (again lmk if you have a preference)

 

This will be a long command line to do it all in one hit (depending on how many clips you have in the folder).

 

So to make it easier for you (so you dont have to deal with the concat part of the c/l) can you create a text file with the file names in order that you want them joined.

 

Highlight the file names hold down the shift key and right click select 'copy as path' (you should have it there i cant remember if i added it to the reg or if it is standard in w7/8)

then paste the clipboard to a text file you may have to adjust the order of the file in that file (leave the " )  and i will write a c/l with will do it for you and post it back here.

Link to comment
Share on other sites

Ok looking at what you have there it is probably best to convert the audio to aac 5.1  or ac3 5.1 (lmk if you have a preference) with an mkv extension (again lmk if you have a preference)

 

This will be a long command line to do it all in one hit (depending on how many clips you have in the folder).

 

So to make it easier for you (so you dont have to deal with the concat part of the c/l) can you create a text file with the file names in order that you want them joined.

 

Highlight the file names hold down the shift key and right click select 'copy as path' (you should have it there i cant remember if i added it to the reg or if it is standard in w7/8)

then paste the clipboard to a text file you may have to adjust the order of the file in that file (leave the " )  and i will write a c/l with will do it for you and post it back here.

I am not sure if this is what you require.

 

https://dl.dropboxusercontent.com/u/19298307/V2%20Clip%20List.txt

 

ac3.....5.1....mkv

Edited by lja
Link to comment
Share on other sites

Almost, I need extensions An pref  "around file name" will just make it a bit quicker for me

Would it be like this?

 

"Awakens".m2ts

Link to comment
Share on other sites

"Awakens,m2ts"

 

The select all then shift right click select copy as path & paste to notepad will give me everything I need and will take about 2 seconds

 

The sorting can be done from within the text file.

Link to comment
Share on other sites

"Awakens,m2ts"

 

The select all then shift right click select copy as path & paste to notepad will give me everything I need and will take about 2 seconds

 

The sorting can be done from within the text file.

Sorry but maybe I should outline the set up of the files. The files are in a BDMV/Stream folder and numbered ".00001.m2ts, .00002.m2ts etc. with no names attached. I have the names in a separate text file. Would the shift right still work? If it would work I can create each file name separately: "Awakens.m2ts" It would take a little time but I can do it.

Link to comment
Share on other sites

i would suggest joining. Multi-file videos have to be implemented separately by each client, and each client decides whether to play them together or make you play them separately, depending on what it's capabilities are.  Since there is not a lot of demand for this, and since degree of difficulty is high, it's unlikely to see much development time.

Link to comment
Share on other sites

@@lja

 Search the folders (from the top level) for *.m2ts select the returned files and shift right click, copy as path, paste to notepad (leave the full path I will need it) . Then sort the files in notepad to the order you want them in.

Cheers

Thanks. I think this is it:

 

https://dl.dropboxusercontent.com/u/19298307/Ultimate%20-%20Copy.txt

Link to comment
Share on other sites

Yup perfect and that is the correct order?

Thanks. Look forward to the next step. Order is correct.

Edited by lja
Link to comment
Share on other sites

@@lja

 Search the folders (from the top level) for *.m2ts select the returned files and shift right click, copy as path, paste to notepad (leave the full path I will need it) . Then sort the files in notepad to the order you want them in.

Cheers

Edited by Tikuf
Link to comment
Share on other sites

Ok here are the instructions for use.

 

I had to shorten the paths so it wouldn't warp the c/l so it will require a little input from yourself.

 

Make a new folder somewhere doesn't matter where

 

Copy all the m2ts files into it.

 

Browse to %appdata%\MediaBrowser-Server\ffmpeg\ and locate the newest version of ffmpeg (date is in folder name) enter that folder and copy ffmpeg.exe to the new folder you just created.

 

Open a cmd window in that folder and paste the following command into it (or save this command to a .txt file and rename it to .bat either way will work)

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" -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"

This will create a single mkv 1280x720 with ac3 5.1 audio  video bitrate will be around 4500kbs audio bitrate 384 kbs

 

To change the size to say 1080p change the section 

"scale=trunc(1280/2)*2:trunc(720/2)*2"

to

"scale=trunc(1920/2)*2:trunc(1080/2)*2"

To change the video bitrate change

 -maxrate 4500000 -minrate 4500000 -bufsize 4500000

to say

-maxrate 9000000 -minrate 9000000 -bufsize 9000000

to give a bitrate of 9mb as an eg

 

To change the audio bitrate

change

-ab 384000

to say

-ab 448000

to give you 448kbs as an example

 

Ask away if you have any questions  :D

Link to comment
Share on other sites

Ok here are the instructions for use.

 

I had to shorten the paths so it wouldn't warp the c/l so it will require a little input from yourself.

 

Make a new folder somewhere doesn't matter where

 

Copy all the m2ts files into it.

 

Browse to %appdata%\MediaBrowser-Server\ffmpeg\ and locate the newest version of ffmpeg (date is in folder name) enter that folder and copy ffmpeg.exe to the new folder you just created.

 

Open a cmd window in that folder and paste the following command into it (or save this command to a .txt file and rename it to .bat either way will work)

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" -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"

This will create a single mkv 1280x720 with ac3 5.1 audio  video bitrate will be around 4500kbs audio bitrate 384 kbs

 

To change the size to say 1080p change the section 

"scale=trunc(1280/2)*2:trunc(720/2)*2"

to

"scale=trunc(1920/2)*2:trunc(1080/2)*2"

To change the video bitrate change

 -maxrate 4500000 -minrate 4500000 -bufsize 4500000

to say

-maxrate 9000000 -minrate 9000000 -bufsize 9000000

to give a bitrate of 9mb as an eg

 

To change the audio bitrate

change

-ab 384000

to say

-ab 448000

to give you 448kbs as an example

 

Ask away if you have any questions  :D

Thanks. Setting up.

Edited by lja
Link to comment
Share on other sites

The process has completed. At the end there were two comments - dup 0 and dropped 16. What do these indicate? In addition, there is a problem with the sound. It opens with sound but then no recognisable sound after the first clip. Any ideas?

Edited by lja
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...