VideoHelp Forum




+ Reply to Thread
Results 1 to 11 of 11
  1. Member
    Join Date
    Jan 2001
    Location
    United States
    Search PM
    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
    Quote Quote  
  2. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    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........
    Quote Quote  
  3. Member
    Join Date
    Jan 2001
    Location
    United States
    Search PM
    Better than...

    Code:
    ffmpeg -i <input.mkv> -vcodec copy -acodec copy <output.mpg>
    Quote Quote  
  4. Member racer-x's Avatar
    Join Date
    Mar 2003
    Location
    3rd Rock from the Sun
    Search Comp PM
    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........
    Quote Quote  
  5. 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
    Quote Quote  
  6. Member
    Join Date
    Jan 2001
    Location
    United States
    Search PM
    Unsuccessful converts, the audio file would not open afterwards. It says corrupted.
    Quote Quote  
  7. Banned
    Join Date
    Oct 2004
    Location
    Freedonia
    Search Comp PM
    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.
    Quote Quote  
  8. Member
    Join Date
    Jan 2001
    Location
    United States
    Search PM
    Yeah that would be easier. I'm sure the newer models accept DTS in the MKV container.
    Quote Quote  
  9. My choice would be to try m2ts or ts using TsMuxer. You know that mpg works but did you try m2ts?
    Quote Quote  
  10. 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.
    Quote Quote  
  11. Member
    Join Date
    Jan 2001
    Location
    United States
    Search PM
    m2ts does not support DTS playback either, unfortunately

    Edit: My player
    Sony BDP-S3100 Blu-ray Disc Player
    Last edited by hardy; 12th Sep 2014 at 03:49.
    Quote Quote  
Visit our sponsor! Try DVDFab and backup Blu-rays!