Ubuntu – ffmpeg/avconv – the -psp option no longer works on Sony Walkman

avconvconversionffmpegsony

Since the changeover from ffmpeg to avconv, the -psp option does not seem to render video correctly for Sony Walkman – "file format not supported", it was perfect before.

ffmpeg -i video.avi -f psp -s 320x240 -vb 500k -ac 2 -ab 128k
video.mp4

Even the "long hand" version does not produce working results.

ffmpeg -i video.avi -acodec libfaac -ab 128k -s 320x240 -vcodec
libx264 -b 500k -flags +loop -cmp +chroma -partitions
+parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me_method umh -subq 6 -trellis 1 -refs 5 -coder 0 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 500k -maxrate 768k -bufsize 2M -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 13 -threads 0 -f mp4 video.mp4

Does anyone have any ideas?

Best Answer

From Encoding H.264/AAC in MP4 for the PSP:

ffmpeg:

-profile:v main -level 3 -x264opts ref=3:b-pyramid=none:weightp=1

Note that you are no longer using ffmpeg from FFmpeg, but avconv from a fork called libav. The example command is specifically for ffmpeg (the real one).