Okay I have a strange issue and could use some help- probably an easy fix. I record xbox gameplay with a capture card. (elgato HD60 s). I also have a desktop microphone connected through an interface that I use to record my own voice while I'm playing. The software the capture card comes with (Elgato Game Capture HD) records the gameplay and my commentary as a .ts file (The TS file separates the gameplay audio and my commentary as separate tracks, 1 and 2 respectively). To edit the video I export it to MP4. (I use Power Director 18 for video editing). Game Capture HD software has built-in exporting- it exports the whole thing to a single MP4 file for me to use in POwerLink. The problem is, sometimes when I export the file, about half way through the video the audio disappears- It's just gone. (But when I play the pre-exported video in Game Capture HD it's there- everything is fine, and when I play the TS file everything is fine too (but I have to toggle between the two tracks- I cant hear them both at the same time)), PowerDirector does not accept TS files so I need another way to export it to MP4. Elgato support has told me the issue is not with my computer but with the built in export feature of their software and told me to try updating their software and make sure my GPU is up to date, which they both are, and we checked the specs on my PC which were adequate. At this point I really need to export this TS file. They told me to try handbrake, but none of us seem to know how to export both tracks of the TS file. When I export it to MP4 I cant hear my commentary, just the gameplay audio.
Anyone care to help me? I can download different software if I need to.
+ Reply to Thread
Results 1 to 13 of 13
-
-
Use ffmpeg. Put this in a batch file:
Code:"C:\Program Files\ffmpeg\bin\ffmpeg.exe" -i %1 -codec copy -map 0 "%~dpn1.mp4" pause
-
It will remux (copy, no encoding) all audio and video tracks from the source video to an MP4 file. If you get an error message (not all codecs are supported by mp4, some need special commands, etc.) upload a small sample and I'll adjust the command.
-
Yes.
You have to download it. https://www.videohelp.com/software/ffmpeg -
For the last 2 steps do I right click the original .ts file? (So should I keep one copy of it in the batch file and the original copy wherever it was to begin with?
And then for the last where I select SendTo BatchName.bat, "BatchName" is whatever I saved the batch file as? -
Yes.
I don't understand what you're asking here. The batch contains only the text I gave and goes in your SendTo folder. You can leave your original video file where it is. The new mp4 file will be created in the same folder as the original video.
Yes, you right click on your original video file in Windows Explorer and select Send To -> BatchName.bat -- where BatchName.bat is whatever you named the batch file -- for example, you could name it RemuxToMP4.bat and it will show up as Send To -> RemuxToMP4.bat. If you have Explorer set to hide extensions you will only see Send To -> RemuxToMP4. -
[Attachment 52209 - Click to enlarge]
[Attachment 52210 - Click to enlarge]
http://www.myffmpeg.com
Anyways, command line ffmpeg as above will always do the trick if you can figure out the parameters.
The only issue is that in the future, you may need help to change parameters should needs change - ie. you'll need to edit the batch file and read the ffmpeg help.
...
If you're the drag and drop type that wants to manipulate things without twiddling the command line parameters or reading, you'll need a ffmpeg GUI (window) interface.
eg. Picture 1. Drag and drop your mkv into myffmpeg.
Picture 2. Make sure the audio and video are set to PASSTHROUGH, output format MP4.
(If you're missing an audio track, click the audio+ icon in the upper right to add more tracks.)
You can change the output name by clicking the FILE icon in the bottom right.
Click the START button to transcode.
Sure, it's paid - maybe you can find another ffmpeg GUI that is free that does the same easily in the software section? - but it is brain-dead easy to work. -
When I right-click on the .ts file and select SendTo, it doesn't include the batch file. What I did do is I copied it onto the desktop and drag and dropped it into the batch file. When I run it the command prompt says,
[mpegts @ 000002b843359240] Stream #1: not enough frames to estimate rate; consider increasing probesize
[mpegts @ 000002b843359240] start time for stream 1 is not set in estimate_timings_from_pts
[mpegts @ 000002b843359240] Could not find codec parameters for stream 1 (Video: mpeg2video ([2][0][0][0] / 0x0002), none(tv)): unspecified size
Consider increasing the value for the 'analyzeduration' and 'probesize' options -
Are you sure it was in your SendTo folder? In Windows 7-10 the SendTo folder is at
Code:C:\Users\USERNAME\AppData\Roaming\Microsoft\Windows\SendTo
I have a few TS files from an old Elgato Game Capture HD. They are AVC (h.264) video, not MPEG 2. The ffmpeg command I gave had no problems with those files (it did spit out a few error messages about DTS timestamps). In any case, did you get an MP4 file? -
I still can't get it to work. On my computer, ffmpeg.exe is found in C:\Users\*instertmyname*\ffmpeg-4.2.2-win64-static\bin so, I just added \ffmpeg.exe to the end of the batch file. I was able to put the batch file in my SendTo, (I don't know why it wasn't in there- I put it there earlier). When I right click the .ts file and SendTo the batch file command prompt says
C:\Users\*instertmyname*\Desktop>"C:\Users\*inster tmyname*\ffmpeg-4.2.2-win64-static" -i C:\Users\*insertmyname*\Desktop\Recording_2020-03-02_02-03-59_0001.ts -codec copy -map 0 "C:\Users\*insertmyname*\Desktop\Recording_202 0-03-02_02-03-59_0001.mp4"
'"C:\Users\*insertmyname*\ffmpeg-4.2.2-win64-static"' is not recognized as an internal or external command,
operable program or batch file.
In the command prompt it doesn't include the \ffmpeg.exe but it's definitely in the text file.
C:\Users\DanSpicerDrumming\Desktop>pause
Press any key to continue . . . -
The batch file needs to specify the full path to ffmpeg.exe:
Code:"C:\Users\*inster tmyname*\ffmpeg-4.2.2-win64-static\bin\ffmpeg.exe"
Similar Threads
-
AVI file with two audio tracks. How do I delete one?
By Matts76 in forum Video ConversionReplies: 2Last Post: 28th Jun 2019, 09:47 -
Audacity Batch Convert/Combine 6 separate Tracks into single 5.1 file
By Bully9 in forum AudioReplies: 0Last Post: 29th Apr 2019, 07:15 -
How to convert a karaoke mpeg file with multiplex audio tracks
By Mauialan in forum Video ConversionReplies: 8Last Post: 25th Sep 2018, 15:00 -
Adding tracks to existing MKV file with MKVMerge
By pstnn in forum Video ConversionReplies: 4Last Post: 27th Aug 2017, 16:55 -
Convert dxtory AVI with 2 audio tracks to mp4
By Sorero in forum Video ConversionReplies: 0Last Post: 27th May 2016, 08:58