Page 1 of 1

Transcoding video files for PSP (H264/AVC) in mp4 container.

Posted: 13 Dec 2008 20:45
by sanra
Hi,

I am using VLC 0.9.4 on ubuntu. I want to transcode xvid files for PSP. my VLC is configured with:


main libvlc debug: libvlc was configured with ./configure '--build=x86_64-linux-gnu' '--enable-maintaner-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=1ubuntu3' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-arts' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-x264' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-alsa' '--enable-dv' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'

and ffmpeg compiled with x264.

To generate files for my PSP i using the following command:

vvlc -vvv source_file.avi --sout "#transcode{width=320, height=240, canvas-aspect=1.5:1,acodec=mp4a, ab=96, channels=2, vcodec=h264, vb=384, fps=25, audio-sync}:duplicate{dst=std{access=file,mux=mp4,dst=dest_file.mp4}}"

The output file i get cannot be played in PSP, it says "unsupported format". When i see the information about the file in PSP, for the field of "Video codec" its blank, PSP could not recognize video format. but the audio format was recognized in PSP.

This does not make sense why the file could not be played as output from vlc should be H264/AVC file. As i see in the transcode.c file

Anyone please could help me?