I was trying to convert an mkv clip with two audio tracks to the PSP's mp4 using MediaCoder PSP Edition but when I play it the audio disappears after about a half of the movie (at 10:50/23:31). I was trying to use FACC, Nero ACC and Lame MP3 in all qualities and every time the sound was cut in halt (using Lame MP3 even after few minutes). When I use AviSynth for decoding I get the whole audio, but wrong track (I need second one but whatever I set AviSynth always converts the first one).
I was googling for this problem and I found that it might be related to the MEncoder crash and it was recommended to change the multiplexer or the encoder, I can't remember well. So I downloaded the standard MediaCoder version that I could customize the conversion and change more options but even when I achieved to convert the movie with working video and audio on a PC I couldn't manage to get any of the converted files to work on a PSP. I always get 'unsupported media' error.
PSP Edition; MPEG-4 AVC (Normal); FAAC Normal:
Code: Select all
MediaCoder Version 0.7.3 build 4666 (built on May 15 2010, 00:18:40)
MediaCoder is a freeware. You can freely redistribute it under its redistributio
n terms and conditions.
(C)2005-2010 Stanley Huang <stanleyhuangyc@gmail.com>. All Rights Reserved.
Intel(R) Core(TM)2 Duo CPU T6600 @ 2.20GHz (0Mhz)
Cores: 2 L1: 32KB L2: 2048KB SIMD: MMX SSE SSE2 SSE3 SSSE3 SSSE4
North Bridge: 0x80862a40 South Bridge: 0x80862919
Cannot load bitmap font: Arial
# ".\codecs\mencoder.exe" -quiet -oac pcm -pcmopts pipe=0x0000000000000384 -ovc
frameno -of rawvideo -channels 2 -aid 1 -af resample=44100:0:0,channels=2 -o NUL
"E:\Filmy\Anime\Slayers\Next\Slayers Next - 01 (27).mkv"
MEncoder Sherpya-SVN-r30818-4.2.4 (C) 2000-2010 MPlayer Team
success: format: 0 data: 0x0 - 0xe7cd828
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang eng
[mkv] Track ID 3: audio (A_VORBIS), -aid 1, -alang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [XVID] 576x432 12bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x44495658 size:576x432 fps:23.976 ftime:=0.0417
MEncoder Sherpya-SVN-r30818-4.2.4 (C) 2000-2010 MPlayer Team
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 0.0 kbit/0.00% (ratio: 0->176400)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
Audio data will be piped out through pipe 5
success: format: 0 data: 0x0 - 0xe7cd828
[mkv] Track ID 1: video (V_MS/VFW/FOURCC), -vid 0
[mkv] Track ID 2: audio (A_VORBIS), -aid 0, -alang eng
[mkv] Track ID 3: audio (A_VORBIS), -aid 1, -alang eng
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 0, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [XVID] 576x432 12bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31 fourcc:0x44495658 size:576x432 fps:23.976 ftime:=0.0417
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
Opening video filter: [format fmt=i420]
Opening video filter: [harddup]
Opening video filter: [scale w=480 h=272 interlaced=0 chr-drop=0]
Opening video filter: [crop w=576 h=324 x=0 y=54]
Crop: 576 x 324, 0 ; 54
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
[swscaler @ 0xf82894]BICUBIC scaler, from yuv420p to yuv420p using MMX2
# ".\codecs\x264.exe" - 480x272 --fps 2997/125 --no-progress --profile main --we
ightp 2 --scenecut 40 --rc-lookahead 40 --no-mbtree --b-adapt 1 --b-pyramid none
--level 21 --keyint 250 --min-keyint 25 --non-deterministic --aq-mode 1 --aq-st
rength 1.0 --ref 2 --subme 6 --me hex --merange 16 --bframes 2 --direct auto --t
rellis 1 --psy-rd 0:0 --bitrate 800 --qcomp 0.6 --sar 136:135 --threads 4 -o "D
:\Users\homie\AppData\Local\Temp\mctemp4880.264"
yuv [info]: 480x272p 136:135 @ 2997/125 fps (cfr)
x264 [info]: using SAR=136/135
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cach
e64
x264 [info]: profile Main, level 2.1
# .\codecs\faac.exe --mpeg-vers 4 --obj-type LC --tns --shortctl 0 -q 240 -P -X
-R 44100 -B 16 -C 2 -o "D:\Users\homie\AppData\Local\Temp\mctemp4880.aac" -
D:\Users\homie\AppData\Local\Temp\mctemp4880.aac is scheduled to be muxed into c
ontainer as type 1.
Too many audio packets in the buffer: (4101 in 793740 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Recommended video bitrate for 650MB CD: 8390
Recommended video bitrate for 700MB CD: 9036
Recommended video bitrate for 800MB CD: 10327
Recommended video bitrate for 2 x 650MB CD: 16782
Recommended video bitrate for 2 x 700MB CD: 18073
Recommended video bitrate for 2 x 800MB CD: 20655
Video stream: 0.767 kbit/s (95 B/s) size: 62316 bytes 649.775 secs 17308
frames
Audio stream: 1411.200 kbit/s (176400 B/s) size: 114748200 bytes 650.500 secs
Flushing video frames.
Video stream: 37563.679 kbit/s (4695459 B/s) size: 6629575680 bytes 1411.912
secs 33852 frames
x264 [info]: frame I:333 Avg QP:15.25 size: 20962
x264 [info]: frame P:15573 Avg QP:17.67 size: 6309
x264 [info]: frame B:17946 Avg QP:18.59 size: 1927
x264 [info]: consecutive B-frames: 12.4% 29.2% 58.4%
x264 [info]: mb I I16..4: 19.1% 0.0% 80.9%
x264 [info]: mb P I16..4: 5.7% 0.0% 13.2% P16..4: 33.0% 24.4% 14.5% 0.0% 0
.0% skip: 9.2%
x264 [info]: mb B I16..4: 1.0% 0.0% 1.1% B16..8: 23.2% 17.6% 2.1% direct:
14.3% skip:40.7% L0:32.0% L1:46.5% BI:21.6%
x264 [info]: final ratefactor: 16.43
x264 [info]: direct mvs spatial:99.8% temporal:0.2%
x264 [info]: coded y,uvDC,uvAC intra: 75.5% 88.2% 68.3% inter: 29.6% 33.3% 3.8%
x264 [info]: i16 v,h,dc,p: 37% 24% 27% 12%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 25% 18% 19% 6% 6% 7% 6% 7% 6%
x264 [info]: i8c dc,h,v,p: 42% 21% 24% 13%
x264 [info]: Weighted P-Frames: Y:6.9%
x264 [info]: ref P L0: 69.5% 13.9% 16.1% 0.5%
x264 [info]: kb/s:792.25
encoded 33852 frames, 54.87 fps, 792.25 kb/s
D:\Users\homie\AppData\Local\Temp\mctemp4880.264 is scheduled to be muxed into c
ontainer as type 2.
# ".\tools\mp4box.exe" -tmp "D:\Users\homie\AppData\Local\Temp" -add "D:\Users\h
omie\AppData\Local\Temp\mctemp4880.264"#video:fps=23.976:par=136:135 -add "D:\Us
ers\homie\AppData\Local\Temp\mctemp4880.aac"#audio "E:\Filmy\Anime\Slayers\Next\
mctemp4880-muxed.mp4"
AVC-H264 import - frame size 480 x 272 at 23.976 FPS
Import results: 33852 samples - Slices: 333 I 15573 P 17946 B - 1 SEI - 321 IDR
AAC import - sample rate 44100 - MPEG-4 audio - 2 channels
Saving to E:\Filmy\Anime\Slayers\Next\mctemp4880-muxed.mp4: 0.500 secs Interleav
ing
# ".\tools\ATOMChanger.exe" "E:\Filmy\Anime\Slayers\Next\Slayers Next - 01 (27).
mp4" "E:\Filmy\Anime\Slayers\Next\Slayers Next - 01 (27).mp4_atom" "AtomAVC.ini"
ATOMChanger for 3GP_Converter Version 0.21
http://www.nurs.or.jp/~calcium/
Modified by qyqgpower
PSP/AVC:FPS Depends on Input File
VideoTrack : 1 480 x 272 23.98fps 1bps
AudioTrack : 2 44100Hz 2ch 217032bps
# ".\codecs\ffmpeg64.exe" -y -i "E:\Filmy\Anime\Slayers\Next\Slayers Next - 01 (
27).mp4" -an -f image2 -vframes 1 -ss 5 -s 160x120 "E:\Filmy\Anime\Slayers\Next\
Slayers Next - 01 (27).THM"
Cannot load bitmap font: Arial
Code: Select all
General
Complete name : E:\Filmy\Anime\Slayers\Next\Slayers Next - 01 (27).mkv
Format : Matroska
File size : 232 MiB
Duration : 23mn 31s
Overall bit rate : 1 377 Kbps
Encoded date : UTC 2003-11-12 02:31:25
Writing application : VirtualDubMod 1.5.4.1 (build 2066/release)
Writing library : libebml-0.5.0 & libmatroska-0.5.0
Video
ID : 1
Format : MPEG-4 Visual
Format profile : Advanced Simple@L3
Format settings, BVOP : Yes
Format settings, QPel : Yes
Format settings, GMC : No warppoints
Format settings, Matrix : Custom
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 23mn 31s
Bit rate : 1 142 Kbps
Width : 576 pixels
Height : 432 pixels
Display aspect ratio : 4:3
Frame rate : 23.976 fps
Resolution : 8 bits
Colorimetry : 4:2:0
Scan type : Progressive
Bits/(Pixel*Frame) : 0.191
Stream size : 192 MiB (83%)
Writing library : XviD 0.0.09 (UTC 2003-03-25)
Audio #1
ID : 2
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 23mn 31s
Bit rate mode : Constant
Bit rate : 104 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Stream size : 17.5 MiB (8%)
Writing library : libVorbis 1.0 (UTC 2002-07-17)
Audio #2
ID : 3
Format : Vorbis
Format settings, Floor : 1
Codec ID : A_VORBIS
Duration : 23mn 31s
Bit rate mode : Constant
Bit rate : 104 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Stream size : 17.5 MiB (8%)
Writing library : libVorbis 1.0 (UTC 2002-07-17)
Text
ID : 4
Format : UTF-8
Codec ID : S_TEXT/UTF8
Codec ID/Info : UTF-8 Plain Text