Active Topics

 



Notices


Reply
Thread Tools
Posts: 1,048 | Thanked: 1,127 times | Joined on Jan 2010 @ Amsterdam
#11
Hmmm... You did make me curious now demolition.

This thread talks about HWA, stating it's only possible for the programs that use gstreamer as it's backend, which mplayer does not.

http://talk.maemo.org/showthread.php?t=33127

Googling around brought me to the mplayer site, where it is stated that for nvidia cards (on desktop / laptop machines) there is an option -vdpau.

http://www.mplayerhq.hu/design7/info.html

Unless somebody with more knowledge can point us elsewhere, I'd say HWA is not used by mplayer.
 
Posts: 1,258 | Thanked: 672 times | Joined on Mar 2009
#12
Hardware accelerated playback will most often not worked with downloaded anime anyway, as the hardware acceleration only supports h264 baseline profile, and most people encode h264 with main or high profile.
 

The Following User Says Thank You to shadowjk For This Useful Post:
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#13
Bump.
Been looking through the (massive) world of mencoder, ffmpeg and all those flags! On our very own wiki there're some suggestions but I'm not sure how I could turn them to my use?

Input:
file type: mp4
video format: h.264
video codec: ffh264
audio format: mp4a
audio codec: faad
bitrate: 793kbps (v=698, a=95)
dimensions: 640 px wide x 360 px high
pixel depth: 24bpp
fps: 25
length: 5338.98
(see post #1)

I'm a bit baffled by all the flags etc so if anyone has had some experience with this, please let me know. I would like to create a near-identical copy of the Input video, which will play in the default media player.

So I guess something like this? Based on what's in the wiki...
Code:
~/MyDocs/.videos/iplayerTV $ ffmpeg -i movie.mp4 -threads 0 -vcodec libx264 -ac
odec libfaac -vpre hq -vpre baseline -ab 96k -b 700k movieAlt.mp4
FFmpeg version SVN-r19352-4:0.5+svn20090706-5, Copyright (c) 2000-2009 Fabrice Bellard, et al.
  configuration: --enable-neon --enable-armvfp --enable-armv5te --enable-armv6 --enable-armv6t2 --extra-cflags=-mcpu=cortex-a8 -mfloat-abi=softfp -mfpu=neon --disable-encoder=h263 --disable-encoder=h263p --disable-encoder=mpeg2video --disable-encoder=mpeg4 --disable-encoder=msmpeg4v1 --disable-encoder=msmpeg4v2 --disable-encoder=msmpeg4v3 --extra-version=4:0.5+svn20090706-5 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --extra-cflags=-I/home/builder1/maemo-fremantle-armel-extras-devel/work/ffmpeg-0.5+svn20090706/debian/include --enable-shared --disable-static
  libavutil     49.15. 0 / 49.15. 0
  libavcodec    52.20. 0 / 52.20. 0
  libavformat   52.31. 0 / 52.31. 0
  libavdevice   52. 1. 0 / 52. 1. 0
  libavfilter    0. 4. 0 /  0. 4. 0
  libswscale     0. 7. 1 /  0. 7. 1
  libpostproc   51. 2. 0 / 51. 2. 0
  built on Dec 21 2009 02:33:19, gcc: 4.2.1

Seems stream 0 codec frame rate differs from container frame rate: 100.00 (100/1) -> 25.00 (25/1)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'movie.mp4':
  Duration: 01:28:58.98, start: 0.000000, bitrate: 798 kb/s
    Stream #0.0(und): Video: h264, yuv420p, 640x360, 25 tbr, 50 tbn, 100 tbc
    Stream #0.1(und): Audio: aac, 24000 Hz, stereo, s16
Unknown encoder 'libx264'
... but it doesn't work because apparently I don't have libx264 ... What?!?
Ahh... could this explain it? gstreamer ffmpeg was configured with libx264 disabled.

Last edited by demolition; 2011-08-05 at 17:42.
 
Posts: 560 | Thanked: 422 times | Joined on Mar 2011
#14
I did eventually get it to encode. Not with libx264, though. I pretty much copied the original (same file size & mplayer -identify results) except I did add in -vpre baseline. Tried setting the pixel format to the h264 one listed in ffmpeg -pix_fmt list; also no effect. Next attempts will be to use yuv or something.

All ideas welcome... (aim: play this video in stock player)
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:12.