PSP conversion broken in 1.4

164 views
Skip to first unread message

Leon

unread,
Jan 12, 2012, 3:57:27 AM1/12/12
to WinFF
Hi,

I recently upgraded from 1.2 to 1.4 and now it seems the video
conversion for the PSP device is broken.Video's converted show up as
Broken Data on the PSP.
In another post i read that the command line parameters for ffmpeg
changed, so this may be the cause of the files not converting
correctly.

I will see if i can find a solution, but first i would like to give
you a heads up, maybe you can fix it faster than i can.

Regards,
Leon

Paul Gevers

unread,
Jan 12, 2012, 2:49:24 PM1/12/12
to wi...@googlegroups.com
As a starter, thanks for reporting, but please file a bug in our bug
tracker [1].

As I don't own a PSP, but still may help, could you please give the
output of the following commands when you use them on 1) a file that
works, 2) a file that doesn't work:
ffprobe here_the_path_to_the_file
or
ffmpeg -i here_the_path_to_the_file

Paul
[1] http://code.google.com/p/winff/issues/

signature.asc

Ian Stoffberg

unread,
Jan 16, 2012, 3:16:56 PM1/16/12
to wi...@googlegroups.com
I did some testing on my PSP and can confirm there is an issue with the preset.

a quick fix is mentioned below.  Not sure if its worth logging an issue for this, but I filled it in according to the template.

What steps will reproduce the problem?
1.Open a file to be converted
2.Select PSP as output conversion, either Widescreen or fullscreen
3.Convert and copy resultant video to PSP

What is the expected output? What do you see instead?
Video can be played on PSP.
Instead it says unsupported data.

Please use labels and text to provide additional information.
Tested on WinFF 1.4, Windows 7, 64 bit, PSP (1000 model, firmware 

According to VLC - Media Properties, the file is the original resolution of the source file.  In my test case, 1280x720.  Video codec was h264, audio AAC.

If I enabled the additional options tab and typed in 480x320, the video plays perfectly.  Not sure how to handle widescreen vs fullscreen and cropping / aspect ratios.

Regards,
Ian

Ian Stoffberg

unread,
Jan 16, 2012, 3:20:38 PM1/16/12
to wi...@googlegroups.com
Undo.  I forgot to correct an error in my email before I submitted.

Still getting the error on psp.  all that changed was resolution is now correct.  still getting unsupported data.  

Paul Gevers

unread,
Jan 16, 2012, 3:42:38 PM1/16/12
to wi...@googlegroups.com
Hi guys,

Again, I want to help, but I need more info.

Please give the output off ffprobe <file> (or ffmpeg -i <file>) for BOTH
a working file (maybe made with an old winff version) and a non working
file. Let us find what the differences are.

And are you both 100% sure that you are using the latest presets, so
please copy them in? I believe Matt had problems with them as e.g. the
-vpre slow was not working...

Paul

On 16-01-12 21:20, Ian Stoffberg wrote:
> Undo. I forgot to correct an error in my email before I submitted.
>
> Still getting the error on psp. all that changed was resolution is now
> correct. still getting unsupported data.
>
> On 16 January 2012 22:16, Ian Stoffberg <ist...@gmail.com

> <mailto:ist...@gmail.com>> wrote:
>
> I did some testing on my PSP and can confirm there is an issue with
> the preset.
>
> a quick fix is mentioned below. Not sure if its worth logging an
> issue for this, but I filled it in according to the template.
>
> What steps will reproduce the problem?
> 1.Open a file to be converted
> 2.Select PSP as output conversion, either Widescreen or fullscreen
> 3.Convert and copy resultant video to PSP
>
> What is the expected output? What do you see instead?
> Video can be played on PSP.
> Instead it says unsupported data.
>
> Please use labels and text to provide additional information.
> Tested on WinFF 1.4, Windows 7, 64 bit, PSP (1000 model, firmware
>
> According to VLC - Media Properties, the file is the original
> resolution of the source file. In my test case, 1280x720. Video
> codec was h264, audio AAC.
>
> If I enabled the additional options tab and typed in 480x320, the
> video plays perfectly. Not sure how to handle widescreen vs
> fullscreen and cropping / aspect ratios.
>
> Regards,
> Ian
>
> On 12 January 2012 21:49, Paul Gevers <pa...@climbing.nl

signature.asc

Ian Stoffberg

unread,
Jan 16, 2012, 3:46:57 PM1/16/12
to wi...@googlegroups.com
Hi,

I don't have a valid psp file to test, unfortunately.  I am googling around right now.  If I don't come right, will use older version.

Ian

Ian Stoffberg

unread,
Jan 16, 2012, 4:35:54 PM1/16/12
to wi...@googlegroups.com
downloading an official sony encoder to compare resultant files.  updates tomorrow night.  its 11:35pm.  i've had enough ;)

Leon

unread,
Jan 16, 2012, 5:18:26 PM1/16/12
to WinFF
Sorry for the late reply, got occupied with other things. Also
sorry for not logging an issue, i overlooked the fact that there
is also a google code page. But then again, i first wanted to
make sure i really have a bug, before logging an issue.

I've found one error in the presets, but that isn't the solution
to the problem.

Official preset:
<snip>-me_method umh -subq 6 1 -refs 2 -bf 1 -coder 1 -me_range 16
<snip>

Correct preset?:
<snip>-me_method umh -subq 6 -trellis 1 -refs 2 -bf 1 -coder 1 -
me_range 16 <snip>

The second preset contains the '-trellis' option between the
6 and the 1. I don't know what the effect is, but that is the
preset i've effectively used for converting video files.

Now about the problem. I haven't managed to isolate it
yet. I've converted the same file on both a Linux machine
and a Windows machine. The presets work fine on the
Linux machine, but not on my Windows machine. So
i can say it's not the presets.

The only other thing i can think of is the machines
architecture. The Linux machine is a x86 and the
Windows machine is a x64. I will try the conversion
on a Windows x86 tomorrow to check this.

Paul Gevers

unread,
Jan 17, 2012, 2:04:29 PM1/17/12
to wi...@googlegroups.com
> Official preset:
> <snip>-me_method umh -subq 6 1 -refs 2 -bf 1 -coder 1 -me_range 16
> <snip>
>
> Correct preset?:
> <snip>-me_method umh -subq 6 -trellis 1 -refs 2 -bf 1 -coder 1 -
> me_range 16 <snip>
>
> The second preset contains the '-trellis' option between the
> 6 and the 1. I don't know what the effect is, but that is the
> preset i've effectively used for converting video files.

Hmm, this first one looks like the presets-libavcodec53-v2.xml that
BiggMatt made and has REMOVED from the downloading section. He had
problems with getting the libavcodec53 version to work on Windows. As
you say, on Linux everything was all right.

Do you say that your Linux generated file is OK? And windows is not.
Maybe remove the "1" from the first line? Please have a look at the
output of ffmpeg for all three cases (copy-paste them to this discussion
please). I bet there are error messages in at least the "official" one.

Paul


signature.asc

Leon

unread,
Jan 18, 2012, 5:44:05 AM1/18/12
to WinFF
Here is the output of the standard version, with the 1 left in:

ffmpeg version N-34294-g0bc5677, Copyright (c) 2000-2011 the FFmpeg
developers
built on Oct 31 2011 02:25:26 with gcc 4.5.0 20100414 (Fedora MinGW
4.5.0-1.fc14)
configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/
build --arch=x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --
cc='ccache i686-pc-mingw32-gcc' --enable-w32threads --enable-memalign-
hack --enable-runtime-cpudetect --enable-cross-compile --enable-static
--disable-shared --extra-libs='-lws2_32 -lwinmm' --extra-cflags='--
static -I/var/www/users/research/ffmpeg/snapshots/build/include' --
extra-ldflags='-static -L/var/www/users/research/ffmpeg/snapshots/
build/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
--enable-nonfree --enable-libx264 --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libfaac --enable-libxvid --enable-
libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --
enable-libvpx --disable-decoder=libvpx
libavutil 51. 22. 0 / 51. 22. 0
libavcodec 53. 25. 0 / 53. 25. 0
libavformat 53. 18. 0 / 53. 18. 0
libavdevice 53. 4. 0 / 53. 4. 0
libavfilter 2. 45. 2 / 2. 45. 2
libswscale 2. 1. 0 / 2. 1. 0
libpostproc 51. 2. 0 / 51. 2. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Driver_SF-
H264_MOV_1280x720_16x9.mov':
Metadata:
creation_time : 2011-08-25 00:26:56
Duration: 00:05:26.56, start: 0.000000, bitrate: 4922 kb/s
Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p,
1280x720 [SAR 1:1 DAR 16:9], 4790 kb/s, 25 fps, 25 tbr, 2500 tbn, 50
tbc
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz,
stereo, s16, 128 kb/s
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Please use -b:a or -b:v, -b is ambiguous
[buffer @ 0x3929900] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:
10000/10000 sws_param:
[scale @ 0x4588cc0] w:1280 h:720 fmt:yuv420p -> w:480 h:272
fmt:yuv420p flags:0x4
[buffer @ 0x4114920] w:1280 h:720 pixfmt:yuv420p tb:1/1000000 sar:
10000/10000 sws_param:
[libx264 @ 0x3929360] using SAR=136/135
[libx264 @ 0x3929360] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.1 Cache64
[libx264 @ 0x3929360] profile High, level 2.1
[libx264 @ 0x3929360] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html -
options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x111 me=umh subme=6
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr
mbtree=1 bitrate=1250 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4
vbv_maxrate=4000 vbv_bufsize=4000 nal_hrd=none ip_ratio=1.40 aq=1:1.00
[libx264 @ 0x47bf9a0] using SAR=1/1
[libx264 @ 0x47bf9a0] frame MB size (80x45) > level limit (792)
[libx264 @ 0x47bf9a0] DPB size (2 frames, 2764800 bytes) > level limit
(1 frames, 1824768 bytes)
[libx264 @ 0x47bf9a0] MB rate (90000) > level limit (19800)
[libx264 @ 0x47bf9a0] using cpu capabilities: MMX2 SSE2Fast SSSE3
FastShuffle SSE4.1 Cache64
[libx264 @ 0x47bf9a0] profile High, level 2.1
[libx264 @ 0x47bf9a0] 264 - core 119 r2106 07efeb4 - H.264/MPEG-4 AVC
codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html -
options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7
psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1
8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2
threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0
bluray_compat=0 constrained_intra=0 bframes=1 b_pyramid=0 b_adapt=1
b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250
keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf
mbtree=1 crf=23.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 ip_ratio=1.40
aq=1:1.00
strptime() unavailable on this system, cannot convert the date string.
Last message repeated 1 times
Output #0, mp4, to '1':
Metadata:
creation_time : 2011-08-25 00:26:56
encoder : Lavf53.18.0
Stream #0:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p,
480x272 [SAR 136:135 DAR 16:9], q=-1--1, 1250 kb/s, 2997 tbn, 29.97
tbc
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Stream #0:1(eng): Audio: aac (@[0][0][0] / 0x0040), 44100 Hz,
stereo, s16, 128 kb/s
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Output #1, mp4, to 'Driver_SF-H264_MOV_1280x720_16x9.mp4':
Metadata:
creation_time : 2011-08-25 00:26:56
encoder : Lavf53.18.0
Stream #1:0(eng): Video: h264 (![0][0][0] / 0x0021), yuv420p,
1280x720 [SAR 10000:10000 DAR 16:9], q=10-51, 25 tbn, 25 tbc
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Stream #1:1(eng): Audio: aac (@[0][0][0] / 0x0040), 48000 Hz, 2
channels, s16, 128 kb/s
Metadata:
creation_time : 2011-08-25 00:26:56
handler_name : ?Apple Alias Data Handler
Stream mapping:
Stream #0.0 -> #0.0 (h264 -> libx264)
Stream #0.1 -> #0.1 (aac -> libfaac)
Stream #0.0 -> #1.0 (h264 -> libx264)
Stream #0.1 -> #1.1 (aac -> libfaac)
Press [q] to stop, [?] for help

It is producing 2 files, so that can't be good. I also tried removing
the 1 and adding -trellis, both generate only a single file.

Some more information i got from the PSP. It recognizes the MP4
file and it knows what kind of audio data is inside the file. What it
doesn't recognize is the video stream. Did something like the
video identifier change?

Ian Stoffberg

unread,
Jan 18, 2012, 5:50:32 AM1/18/12
to wi...@googlegroups.com
Hi,

I have spent 2 nights working on this.  The files as you say can be identified and the codecs as well.  I have tried comparing the media properties on windows (VLC) and it seems I am generating valid files, but they don't work.  I am going to run it on a linux box and double-check.  if that works, then its the ffmpeg version we use on Windows.

Cheers

Leon

unread,
Apr 23, 2012, 4:17:06 AM4/23/12
to wi...@googlegroups.com
Hi,

After playing around with the conversion again this weekend i pinpointed the problem.
It seems the PSP doesn't support the h.264 High Profile encoding of the MP4 file.
By switching it to the h.264 Main Profile, the files are playable again on the PSP.

Add the '-profile:v main' option to the presets to get it working.

Regards,
Leon

Op woensdag 18 januari 2012 11:50:32 UTC+1 schreef istoff het volgende:

Ian Stoffberg

unread,
Apr 23, 2012, 4:56:32 AM4/23/12
to wi...@googlegroups.com
Hi Leon,

I spent a good week trying on my version 5.50 firmware PSP with no luck.

About 2 weeks ago I upgrade to 6.60 and none of my test videos worked.

Will re-look, based on your input.

I have a Vita as well so will check that too.

Thanks,
Ian

Jeremy Green

unread,
Apr 23, 2012, 5:00:17 AM4/23/12
to wi...@googlegroups.com
Hi Ian,

Do you know how to unsubscribe from this list?

Jeremy Green
--
Please reply to je...@jeremygreen.net

Paul Gevers

unread,
Apr 23, 2012, 1:10:10 PM4/23/12
to wi...@googlegroups.com, Jeremy Green
> Do you know how to unsubscribe from this list?

Probably at http://groups.google.com/group/winff/subscribe

Paul

signature.asc
Reply all
Reply to author
Forward
0 new messages