goletsa / aencoder Goto Github PK
View Code? Open in Web Editor NEWcrossplatform mencoder gui to convert video for android devices
License: GNU Lesser General Public License v2.1
crossplatform mencoder gui to convert video for android devices
License: GNU Lesser General Public License v2.1
А можно организовать многопоточное кодирование, а то четырехядерный проц - три ядра простаивает. Как вариант, если mencoder, не поддерживает многопоточность, попробовать организовать параллельное кодирование n-ного количества файлов.
Стоит добавить звукоусилитель, ибо бывает исходная звуквая дорожка слишком тихая и ничем её не вытянуть на андройде.
Так же отображение пааметров исходного файл(зачем ставить битрейт 500, если он уже 150?). Может быть опция соханения оригинальных параметров видео/аудио, если они ниже указанных в перегонке?
Файл с такими характеистиками:
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Duration : 9mn 41s
Bit rate : 293 Kbps
Width : 640 pixels
Height : 360 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 29.970 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.042
Stream size : 20.3 MiB (74%)
Audio
Format : AAC
Format/Info : Advanced Audio Codec
Format version : Version 4
Format profile : LC
Duration : 9mn 41s
Bit rate : 96.7 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Bit depth : 16 bits
Stream size : 6.70 MiB (24%)
have error "unable to encode"
Hello,
I'm using your program for about 3 monthes and was very happy by watching anime on my Hero, but today I got error, could you help me?
Thanks anyway for your great job.
Log:
23:21:51 Version: v0.99.5 (4pda.ru)
23:24:05 Starting to convert H:\anime\Death Note\DEATH_NOTE_16_18_DVD6\VIDEO_TS\VTS_01_2.VOB to H:\4and\DeathNote\16-18\VTS_01_2.mp4
23:24:05 Getting video info for H:\anime\Death Note\DEATH_NOTE_16_18_DVD6\VIDEO_TS\VTS_01_2.VOB
23:24:05 Width: 720 Heigh: 480
23:24:05 FPS DETECTION: Got 29.970 fps
23:24:05 Aspect ratio: 1.7778
23:24:05 Executing mencoder with args: H:\distrib\aEncoder_0.99.5\tools\mencoder.exe "H:\anime\Death Note\DEATH_NOTE_16_18_DVD6\VIDEO_TS\VTS_01_2.VOB" -of avi -srate 44100 -ovc x264 -oac faac -channels 2 -faacopts mpeg=4:object=2:br=64 -x264encopts level=30:pass=1:bitrate=500:vbv-maxrate=1500:vbv-bufsize=2000:subme=0:analyse=0:partitions=none:ref=1:turbo=2:me=dia:bframes=0:threads=auto:no-cabac -vf scale=-10:-1,scale=0:-10,scale=480:-10::::::1,scale=-10:320::::::1,harddup -o NUL -ofps 29.970
23:24:06 MEncoder Sherpya-SVN-r29355-4.5.0 (C) 2000-2009 MPlayer Team
23:24:06 success: format: 0 data: 0x0 - 0x3ffd5800
23:24:06 MPEG-PS file format detected.
23:24:06 VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8930.0 kbps (1116.2 kbyte/s)
23:24:06 [V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.970 ftime:=0.0334
23:24:06 ==========================================================================
23:24:06 Opening audio decoder: [liba52] AC3 decoding with liba52
23:24:06 AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
23:24:06 Selected audio codec: [a52] afm: liba52 (AC3-liba52)
23:24:06 ==========================================================================
23:24:06 Opening video filter: [expand osd=1]
23:24:06 Expand: -1 x -1, -1 ; -1, osd: 1, aspect: 0.000000, round: 1
23:24:06 Opening video filter: [harddup]
23:24:06 Opening video filter: [scale w=-10 h=320 noup=1]
23:24:06 Opening video filter: [scale w=480 h=-10 noup=1]
23:24:06 Opening video filter: [scale w=0 h=-10]
23:24:06 Opening video filter: [scale w=-10 h=-1]
23:24:06 ==========================================================================
23:24:06 Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
23:24:06 VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
23:24:06 Using SSE optimized IMDCT transform
23:24:06 Using MMX optimized resampler
23:24:06 The selected video_out device is incompatible with this codec.
23:24:06 Try appending the scale filter to your filter list,
23:24:06 e.g. -vf spp,scale instead of -vf spp.
23:24:06 VDecoder init failed :(
23:24:06 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
23:24:06 Unsupported PixelFormat -1
23:24:06 Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
23:24:06 ==========================================================================
23:24:06 VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
23:24:06 VDec: using Planar I420 as output csp (no 1)
23:24:06 Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
23:24:06 SwScaler: reducing / aligning filtersize 5 -> 4
23:24:06 SwScaler: reducing / aligning filtersize 5 -> 4
23:24:06 SwScaler: reducing / aligning filtersize 1 -> 1
23:24:06 SwScaler: reducing / aligning filtersize 1 -> 1
23:24:06 [swscaler @ 00E4EA94]BICUBIC scaler, from yuv420p to yuv420p using MMX2
23:24:06 [swscaler @ 00E4EA94]using 4-tap MMX scaler for horizontal luminance scaling
23:24:06 [swscaler @ 00E4EA94]using 4-tap MMX scaler for horizontal chrominance scaling
23:24:06 [swscaler @ 00E4EA94]using 1-tap MMX "scaler" for vertical scaling (YV12 like)
23:24:06 [swscaler @ 00E4EA94]720x480 -> 848x480
23:24:06 x264 [info]: using SAR=161/160
23:24:06 x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.1 Cache64
23:24:06 x264 [info]: profile Baseline, level 3.0
23:24:06 1 duplicate frame(s)!
23:24:06 Writing header...
23:24:06 ODML: vprp aspect is 16384:9226.
23:24:06 Writing header...
23:24:06 ODML: vprp aspect is 16384:9226.
23:24:06 New_Face failed. Maybe the font path is wrong.
23:24:06 Please supply the text font file (/.mplayer/subfont.ttf)./.mplayer/subfont.ttf).
23:24:06 subtitle font: load_sub_face failed.
23:24:06 New_Face failed. Maybe the font path is wrong.
23:24:06 Please supply the text font file (
23:24:06 subtitle font: load_sub_face failed.
23:24:06 1 duplicate frame(s)!
23:24:06 Writing header...
23:24:06 ODML: vprp aspect is 16384:9226.
23:24:06 1 duplicate frame(s)!
23:24:06 1 duplicate frame(s)!
23:24:07 1 duplicate frame(s)!
23:24:09 [mpeg2video @ 00D9ED94]Warning MVs not available
23:24:09 [mpeg2video @ 00D9ED94]concealing 675 DC, 675 AC, 675 MV errors
23:24:09 Skipping frame!
23:25:09 1 duplicate frame(s)!
23:25:10 Skipping frame!
23:25:35 Error encoding video...
child process exited abnormally
child process exited abnormally
while executing
"close $pipe"
(procedure "myexec" line 5)
invoked from within
"myexec "mencoder -nosound -ovc x264 -x264encopts bitrate=1000 -frames 1 -o /dev/null -vf scale=-10:-1,scale=0:-10 -msglevel decvideo=4:identify=5:stat..."
(procedure "getvidinfo" line 6)
invoked from within
"getvidinfo $file"
(procedure "convert" line 22)
invoked from within
"convert"
invoked from within
".buttons.start invoke "
invoked from within
".buttons.start instate {pressed !disabled} { .buttons.start state !pressed; .buttons.start invoke } "
(command bound to event)
Welcome to aEncoder Linux Beta
Testing binaries:
Your must have installed: tk8.5, mencoder, gpac >= 0.4.4
wish:
File /usr/bin/wish exist
tclsh:
File /usr/bin/tclsh exist
mencoder:
File /usr/bin/mencoder exist
MP4Box:
File /usr/bin/MP4Box exist
subfont.ttf exist
Error in startup script: can't find package tile
while executing
"package req tile"
(file "aEncoder.tcl" line 544)
Добавьте, пожалуйста, помимо faac поддержку mp3. Например в Fedora Linux mplayer собран без поддержки faac и aEncoder выдаёт ошибку:
MPlayer was compiled without libfaac. See README or DOCS.
Тело не играет видео сконверченое менкодером версии старше июня 2009 года.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.