View Single Post
  #7  
Old 09-13-2016, 02:17 AM
supersonic80 supersonic80 is offline
Senior Member
 
Join Date: Mar 2016
Posts: 138
supersonic80 is on a distinguished road
Default

Re: Problems converting MFC HD streams that use speex audio


Have you tried ffmpeg with -copyts argument?

ffmpeg -i <input file> -y -loglevel panic -c:v copy -c:a copy -bsf:a aac_adtstoasc -copyts <output file>

If you use linux or mac os, you can automate the task by the script:

Code:
#!/bin/bash
mkdir -p _ts
for i in `ls *.ts`;
do
  echo "Creating" ${i%.*}.mp4
  ffmpeg -i $i -y -loglevel panic -c:v copy -c:a copy -bsf:a aac_adtstoasc -copyts ${i%.*}.mp4
  if [ $? -eq 0 ]; then
    mv $i _ts/
  fi
done
Reply With Quote