I am having trouble converting PAL mpeg2 SD (576i 16:9) TV captures to something that will play nicely on a samsung galaxy tab 2 10.1 (a Christmas present).
All suggestions about settings for ffmpeg and/or x264/mp4box would be very welcome.
I tried:
1. mpeg2 576i -> mp4 x264 576i ... standard samsung galaxy tab 2 10.1 player wouldn't display video component (I assume it didn't like mpeg4 interalced - gave up on it).
2. mpeg2 576i -> mp4 x264 576p50 ... standard samsung galaxy tab 2 10.1 player displayed the video squashed horizontally even though PAR set.
My unsuccessful settings are as follows:
2(a) using ffmpeg, x264 and mp4box
where
avs1 = avsynth script to deinterlace to 576p50 :) (scabby, didn't want to upside to 720p50)
crf = 20
fps = 50
2(b) using ffmpeg
where
qscale=1
If you managed it to convert PAL mpeg2 576i files to play on that device, how did you do it and with what settings ?
Thanks.
All suggestions about settings for ffmpeg and/or x264/mp4box would be very welcome.
I tried:
1. mpeg2 576i -> mp4 x264 576i ... standard samsung galaxy tab 2 10.1 player wouldn't display video component (I assume it didn't like mpeg4 interalced - gave up on it).
2. mpeg2 576i -> mp4 x264 576p50 ... standard samsung galaxy tab 2 10.1 player displayed the video squashed horizontally even though PAR set.
My unsuccessful settings are as follows:
2(a) using ffmpeg, x264 and mp4box
Code:
"C:\software\avs2yuv\avs2yuv.exe" "%avs1%" -o - | "%X264EXE%" - --stdin y4m --thread-input --frames %FRAMES% --profile high --level 3.2 --preset fast --no-cabac --crf %crf% --fps %fpso% --sar 16:11 --colormatrix bt470bg -o "%PARtemp%"
"%ffmpegEXE%" -y -i "%~1" -vn -c:a libvo_aacenc -ab 192K -ar 44100 -ac 2 "%parAAC%"
"%mp4boxEXE%" -add "%PARtemp%" -add "%parAAC%":lang=eng -new "%PARAACmp4%"
avs1 = avsynth script to deinterlace to 576p50 :) (scabby, didn't want to upside to 720p50)
crf = 20
fps = 50
2(b) using ffmpeg
Code:
"%ffmpegEXE%" -y -i "%fINPUT%" -vn -c:a libvo_aacenc -ab %audiobitrate% -ar %audiofreq% -ac 2 "%fOUTPUTa%"
"%ffmpegEXE%" -y -i "%fINPUT%" -i "%fOUTPUTa%" -acodec copy -c:v h264 -preset fast -filter:v yadif=1:-1:0,setdar=16:9 -r 50 -profile:v high -level 3.2 -qscale:v %qscale% -coder 0 "%fOUTPUT%"
qscale=1
If you managed it to convert PAL mpeg2 576i files to play on that device, how did you do it and with what settings ?
Thanks.