I am also in the VideoReDo TV Suite crowd. It is the only program that I tried that cut my files correctly.
As for converting 6 channel aac to 6 channel ac3, I found this program on doom9 that did the job for me where dBpoweramp and foobar2000 both failed.
http://forum.doom9.org/showthread.php?t=167263
AACtoAC3...
http://www.sendspace.com/file/tungt2
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 61 to 90 of 90
Thread
-
-
I echo what Jagabo said - I have an 8 core 4.2 Ghz CPU so it's fairly quick to mux things - you can use the script . Also I never use USB hard drives for anything. Windows 8 for example has buggy usb hard drive support. I find them slow and unreliable compared to internal Sata III hard drives. When I want to store files outside my computer for archival, I just copy stuff from my internal drives onto eSata drives which function as if they were internal hard drives.
Easy way to mux the split files into 1 file would be by using this script that Jagabo gave me:
Code:echo MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500 >built.meta echo V_MPEG4/ISO/AVC, %1+%2+%3+%4+%5+%6+%7+%8+%9, insertSEI, contSPS, track=100 >>built.meta echo A_AAC, %1+%2+n3+%4+%5+%6+%7+%8+%9, timeshift=-466ms, track=101, lang=USA >>built.meta "X:\Portable Installations\tsMuxeR_2.3.2(b)\tsMuxeR.exe" built.meta "%~d1%~p1appended.ts" pause
Today I've bought the HD PVR 2 Gaming Edition Plus as that seems to be a full hardware encoder unlike the Elgato which uses your CPU to encode the video. I'm hoping I'll have more luck with that. While I'm waiting for it to arrive I'm back to using the Elgato on my desktop.
Was wondering, can the HD PVR 2 Gaming Edition Plus support 5.1 surround via HDMI input? -
that script is getting me nowhere, its not working. plus, i'm not building or doing anything with meta files. i am just trying to test the speed of JOINing two (or more files) based on jagabo's comment earlier, using the txMuxR app in command line mode. my version is:
Network Optix tsMuxeR. Version 2.5.5(b). www.networkoptix.com
Code:tsmuxer.exe "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0001.ts" + "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0002.ts" i:\test2.ts tsmuxer.exe MUXOPT "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0001.ts" + "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0002.ts" i:\test2.ts tsmuxer.exe "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0001.ts" "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0002.ts" i:\test2.ts
-
so i've been googling around for parameter examples to no avail. no examples. i've tried adding searching terms like: join, append, add, new, concat, etc, but don't see any examples, yet. this is frustrating. just want to test -i/-add/-new/-cat/-concat/-join/-app/-append/ functions but they don't exist as parameter terms in tsmuxer.
edit -- later on..
after more searching, i did not find any example for command line usage for JOINing. so i turned to the gui and found that it seems to include the parameters used for the join operation. however, it did not work as planned:
Code:Network Optix tsMuxeR. Version 2.5.5(b). www.networkoptix.com Can't detect stream type
Last edited by vhelp; 24th May 2014 at 17:12.
-
-
The script I gave you works for me with tsMuxeR_2.3.2(b), just change the tsmuxer directory to where ever you have TS Muxer located:
Code:echo MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500 >built.meta echo V_MPEG4/ISO/AVC, %1+%2+%3+%4+%5+%6+%7+%8+%9, insertSEI, contSPS, track=100 >>built.meta echo A_AAC, %1+%2+n3+%4+%5+%6+%7+%8+%9, timeshift=-466ms, track=101, lang=USA >>built.meta "X:\Portable Installations\tsMuxeR_2.3.2(b)\tsMuxeR.exe" built.meta "%~d1%~p1appended.ts" pause
Open Notepad. Save As and choose save as type "All Files" and save As "Ts Muxer.bat". Move the bat file into the SendTo directory as mentioned above. Paste the script into the bat file.
To run the batch file, select all the files you want to join then right-click on the 1st one and choose "Send To" and select the TS Muxer.bat file. The files will then be joined in alphabetical order. -
Actually, it first builds a meta file ("built.meta") then passes that file to tsmuxer -- the same thing that tsmuxerGUI does (though tsmuxerGUI uses tsmuxer to get specific information from the source files to customize the meta file). If you want you can delete the meta file after calling tsmuxer, by adding "del built.meta" to the batch file. I didn't delete the meta file so I could examine it to verify I built it correctly.
-
Is that the same as
Code:copy /b vid1.ts+vid2.ts finalvid.ts
-
That's a bizarre statement. What's so hard about adding CMD/C to a batch file?
Copy/B should work with the sequential files from the ElGato (it worked with the sequential test files I have). There won't be a break in time codes from segment to segment. But with random ts files most player will only play the first segment.
The bigger problem is determining the number of files on the command line and building the proper command line. I suppose you could just have multiple batch files, copy2.bat, copy3.bat, copy4.bat and just select the one you want. -
@ VideoFanatic, i hope the hdpvr2 does better for you, quality'wise. i don't like how the pvr handles dark and black scenes. lots of chisel chod. but the elgato handles those pretty well, using the same bitrate. unfortunately, w/ the hdpvr, the CBR mode is broken. i always record in 13MBps bitrate. but it does not keep that bitrate setting continuously. it still encodes between 6-11 MBps, and usually at lowest birtate. that should explain why the dark scenes look awful, and pretty much everything else. but the only negative issue i have at this time w/ the elgato is the component connection is not recording my 480i properly. it is squeeshing 720 inside 640x480 dimensions and adding 80 pixels to fill the remaining 720 dimension when i go from hdpvr -> component_out -> elgato component. it doesn't seem to use a lot of resources as i thought it would, only +/- 21% about average on my dell i3 laptop w/ win 7 prem. maybe that is considered high for most people.
Last edited by vhelp; 24th May 2014 at 20:58.
-
-
Copy/B should work with the sequential files from the ElGato (it worked with the sequential test files I have). There won't be a break in time codes from segment to segment. But with random ts files most player will only play the first segment.
-
The Hauppauge HD PVR 2 consumes less than 1 percent when not displaying the video. So it can easily be used to record the output of the computer it's running on. Not so with the ElGato -- it will slow down whatever else your doing and drop frames.
-
i thought i would report that i managed to get tsmuxer working in command line.
1. i copy all files and settings (get from tsmuxerGUI's meta file section) and pasted into a file. i simply used files.txt
2. in dos console window i entered: tsmuxer files.txt newfile.ts
3. then, wait a few minutes or more, depending on how many files, (in my case is a long while)
4. finished
files.txt
Code:MUXOPT --no-pcr-on-video-pid --new-audio-pes --vbr --vbv-len=500 V_MPEG4/ISO/AVC, "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0001.ts", insertSEI, contSPS, track=100 A_AAC, "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0001.ts", timeshift=-284ms, track=101, lang=eng V_MPEG4/ISO/AVC, "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0002.ts", insertSEI, contSPS, track=100 A_AAC, "J:\EGC_Library\- - - - 2014-02-15 08-00-33\Recording_2014-02-15_20-00-34_0002.ts", timeshift=-284ms, track=101, lang=USA
-
That's basically what my batch file did -- it built the meta file and spawned tsmuxer for you. Of course, you may have to modify the batch file to suit your ts files' properties -- audio delay, etc.. The tsmuxer instructions say the meta file must have the extension .meta. But I guess your .txt file works.
Last edited by jagabo; 24th May 2014 at 22:03.
-
Jagabo I was given this script to amplify the audio to 0dB. I uses FFMPEG and AAC Gain. I was told if the audio is already 0dB then it will have no effect otherwise it will increase the volume to 0dB without clipping.
Code:ffmpeg -i $args[0] -c copy -vn gain.m4a aacgain -r -k -m 10 gain.m4a ffmpeg -i $args[0] -i gain.m4a -map 0:v -map 1 -c:v copy -c:a ac3 -ac 2 ` -ab 128k outfile.ts
Code:"X:\Portable Installations\ffmpeg-2014 May 14-git-72dcd48-win64-static\bin\ffmpeg.exe" -i %1 -acodec copy "%~d1%~p1%~n1.aac" "X:\Portable Installations\ffmpeg-2014 May 14-git-72dcd48-win64-static\bin\ffmpeg.exe" -i %1 -vcodec copy -acodec ac3 -ac 2 -ab 128k "%~d1%~p1%~n1.AC3.ts"
The bottom line converts the AAC into an AC3 file and muxes with the original TS file to create a file called "original file name.AC3.ts" -
I think you want something like this:
Code:"G:\Program files\ffmpeg\bin\ffmpeg" -i %1 -c copy -absf aac_adtstoasc -vn gain.m4a "G:\Program files\aacgain\aacgain" -r -k -m 10 gain.m4a "G:\Program files\ffmpeg\bin\ffmpeg" -i %1 -i gain.m4a -map 0:v -map 1 -c:v copy -c:a ac3 -ab 2 -ab 128k "%~d1%~p1%~n1.AC3.ts" "G:\Program files\ffmpeg\bin\ffmpeg" -i gain.m4a -acodec copy "%~d1%~p1%~n1.aac" del gain.m4a
But... Commercial releases usually have AC3 audio encoded at about -10 dB. So you're videos will have abnormally loud audio. Players that compensate for that by applying a 10 dB gain will distort when playing your videos. And 128 kbps AC3 is pretty crappy. -
Thanks. That works perfectly. When dumixing the original AAC into a separate AAC file, is that being re-encoded due to AAC Gain being used to increase the volume?
I'm only using that script for stuff recorded off TV so I won't get that problem you mentioned will I?
Just wondering about what you said about commercial releases. -10 dB is louder that 0dB isn't it? Why would they release stuff like that? I thought 0dB is the loudest you should go because any louder and you get clipping?
I was told on the FFMpeg forum that the script is supposed to raise or lower the volume to 0dB. So was just wondering why after using the script that a video player would add a 10 dB gain and why would that distort the audio if it was originally -10 dB anyway?
Any idea why AAC Gain has such a low rating on VideoHelp.com? It works perfectly in that script you gave me. -
So are you saying I should encode the audio at -10dB then to prevent any problems?
If so, what part of the script should I change?
Do you know if demuxing and amplifying the AAC in the script is re-encoding the audio due to the amplification or does AAC Gain to lossless normalization? -
Isn't there a program that can tell me what the actual dB is of an audio or video file? Because it's confusing. For example I used my script and changed the value in this line from 10 to 0. Because 10 was too loud I think based on what Jagabo said.
X:\Portable Installations\AAC Gain 1.9\aacgain" -r -k -m 10 gain.m4a
I then opened the audio file in an audio editor and judging by this screenshot I took, the db is -6. I also opened a file from my satellite box and that was also -6. So judging by the fact that my box records in that volume I would say that -6dB is a safe volume to convert my Elgato recordings to and that I won't get any problems when playing them in any Bluray player with regards to distortions. What do you guys think?
What's confusing is that when I converted the AAC file to MP3 so I could open it in MP3Gain, MP3Gain said the volume was 89dB. I can't even see that dB number in my audio editor.
How can I find out the true dB volume of a file?
[Attachment 25628 - Click to enlarge] -
Jagabo - I'm currently using this script to mux a h264.ts file with AAC to a TS file with AC3 (AAC is re-encoded to AC3) and demux the original AAC audio into an AAC file.
Code:"X:\Portable Installations\ffmpeg-2014 May 14-git-72dcd48-win64-static\bin\ffmpeg.exe" -i %1 -c copy -absf aac_adtstoasc -vn gain.m4a "X:\Portable Installations\AAC Gain 1.9\aacgain" -r -k -m 0 gain.m4a "X:\Portable Installations\ffmpeg-2014 May 14-git-72dcd48-win64-static\bin\ffmpeg.exe" -i gain.m4a -acodec copy "%~d1%~p1%~n1.aac" "X:\Portable Installations\ffmpeg-2014 May 14-git-72dcd48-win64-static\bin\ffmpeg.exe" -i %1 -i gain.m4a -map 0:v -map 1 -c:v copy -c:a ac3 -ab 2 -ab 128k "%~d1%~p1%~n1.AC3.ts" del gain.m4a
Any idea how I can do the above script but mux the TS to MKV instead of to a TS file? -
I tried that but it gives an error message. Something about incorrect headers.
-
I'm using the latest 2014-07-27 64-bit FFMPEG version from here: http://ffmpeg.zeranoe.com/builds/
This is my script:
Code:"X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i %1 -c copy -absf aac_adtstoasc -vn gain.m4a "X:\Portable Installations\AAC Gain 1.9\aacgain" -r -k -m 0 gain.m4a "X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i gain.m4a -acodec copy "%~d1%~p1%~n1.aac" "X:\Portable Installations\ffmpeg\bin\ffmpeg.exe" -i %1 -i gain.m4a -map 0:v -map 1 -c:v copy -c:a ac3 -ab 2 -ab 128k "%~d1%~p1%~n1.AC3.ts" del gain.m4a "X:\Daves Folder\Sounds\VideoRedo Completed Sound Short.WAV" pause
Having a source file as MKV is no good as FFMPEG adds a 1 minute 5 second delay to the file. So I'd like to try converting from TS to MKV as that only has a -5ms delay which doesn't effect the sync as it's so small it makes no difference.
I would like to convert from TS to MKV. Any idea how to get the script working?Last edited by VideoFanatic; 27th Jul 2014 at 15:50.
Similar Threads
-
Handbrake - AC3 5.0 Ch - Can't maintain 5.0 Ch to AAC or AC3(ffmpeg)
By kingaddi in forum DVD RippingReplies: 30Last Post: 26th Aug 2012, 19:27 -
help anyone? - AAC to AC3(5.1)
By pootler in forum MacReplies: 17Last Post: 13th Nov 2011, 21:52 -
AC3 to AAC
By xQwerty in forum AudioReplies: 2Last Post: 15th Nov 2008, 12:05 -
AC3 to AAC
By JasonKerner in forum ffmpegX general discussionReplies: 1Last Post: 11th Feb 2008, 06:27 -
aac and ac3
By ultraman36 in forum AudioReplies: 3Last Post: 27th Dec 2007, 09:38