I have been out of the game for a while. My situation is... I stream encodes on my Blu-ray player via USB connection (external hdd)
Most of my encodes have DTS audio and my Blu-ray player is very picky. It won't read DTS in the MKV container. But, it will read DTS in the MPEG container. So is ffmpeg still the best thing to use for a simple container switch? No re-encoding, no compression. Just a container switch.
I would definitely rather have DTS than settle for AC-3![]()
+ Reply to Thread
Results 1 to 11 of 11
-
-
This seams to work. At first it complained of bitstream errors and suggested to add "-bsf h264_mp4toannexb" .
Code:for %%a in ("*.mkv") do "C:\FFmbc\ffmpeg" -i %%a -bsf h264_mp4toannexb -c:v copy -c:a copy -f mpegts %%~na.mpg pause
Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
Better than...
Code:ffmpeg -i <input.mkv> -vcodec copy -acodec copy <output.mpg>
-
Mine is a Batch Script and will re-pack every MKV in the folder into an MPG. Make sure to edit path to ffmpeg and use latest version.
Try it and see if it works for you.........Got my retirement plans all set. Looks like I only have to work another 5 years after I die........ -
Note that racer-x's batch file creates MPEG transport streams rather than program streams. Change "mpegts" to "mpeg" to get MPEG program streams. Also, it may not work right if the source files have spaces in their names (this may vary depending on the OS). Put quotes around the input and output file specs.
Code:for %%a in ("*.mkv") do "C:\FFmbc\ffmpeg" -i "%%a" -bsf h264_mp4toannexb -c:v copy -c:a copy -f mpeg "%%~na.mpg" pause
-
Unsuccessful converts, the audio file would not open afterwards. It says corrupted.
-
In all seriousness, wouldn't it make more sense to do one of these instead?
1) Buy a streaming media player, like a Western Digital or similar model, that accepts DTS in MKV.
or
2) Buy a new BluRay player that does the same.
What kind of player do you have with this crazy limitation anyway? Letting your player make you have to spend the rest of your life doing major conversion work is a losing proposition, but go ahead if you wish. -
Yeah that would be easier. I'm sure the newer models accept DTS in the MKV container.
-
try this:
Code:@echo off SETLOCAL SET tsmuxer="C:\... path ...\tsMuxeR.exe" set output=C:\output if not exist "%output%" MD "%output%" echo MKV into m2ts for %%a in ("*.mkv") do ( echo. echo %%~na%%~xa echo --------------------------------------------- echo MUXOPT --no-pcr-on-video-pid --vbr --vbv-len=500 > remux.meta echo V_MPEG4/ISO/AVC, "%%a", insertSEI, contSPS, track=1 >> remux.meta echo A_DTS, "%%a", track=2 >> remux.meta %tsmuxer% remux.meta "%output%\%%~na.m2ts" ) echo. echo Done Remuxing DEL remux.meta ENDLOCAL pause
Last edited by _Al_; 11th Sep 2014 at 16:51.
-
m2ts does not support DTS playback either, unfortunately
Edit: My player
Sony BDP-S3100 Blu-ray Disc PlayerLast edited by hardy; 12th Sep 2014 at 03:49.