NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums General General Discussion v
« Previous 1 … 96 97 98 99 100 … 159 Next »
fastest avi to mpeg2 command line encoder?

 
  • 0 Vote(s) - 0 Average
fastest avi to mpeg2 command line encoder?
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#11
2006-04-25, 07:07 AM (This post was last modified: 2006-04-25, 07:13 AM by pBS.)
and here's the re-quantizer jr. version...
the new code is incorporated into Rejig and the latest i can find is .5f..
i think rejig evne has libdvdcss in it also so it can rip too! Smile
[and quite small..1meg..]
i just recompressed a 2 hr file-1900 meg, to 1300 meg with absolutely no quality loss in 10 minutes!!!!
and that includes mplex etc.!
[took about half that time to actually do the compress!]
i'm gonna work on piping some of these commands together to save time/space...will report back...i forgot all about this and figured the quality wouldn't be much better than mencoder/ffmpeg but i was wrong! Big Grin lol

there is Source! for Rejig..hope you can do something with it..

i would really like to be able to pipe the output of rejig into mplex,and that into dvdauthor for one-shot reduction/title creation!
i know mplex can do it's part in that..and ripping audio out first wouldn't take long, so all i'd need is output either requant.exe or rejig.exe to mplex..
keeping fingers crossed...
not sure if requant source is available, but if you could modify Rejig to pipe out i'd be happier..Smile
let me know what you think..

here's a quick batch to try it out..it ROCKS!!!
[edit: -level 60-70 gives good results]
Code:
bbdmux %1 0xc0 "%~dpn1.mp2"
ReJig -i %1 -auto -close -quiet -level 65
mplex -f 8 -o "%~dpn1-2.mpg"  "%~dpn1.mp2" "%~dpn1_ReJig.m2v"

ENJOY!!! Big Grin

[below is the mini version,it's pretty much same as rejig compressor]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#12
2006-04-25, 07:53 AM
rejig only does mpeg2 files, so doesnt help my avi problem Smile
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#13
2006-04-25, 11:41 AM
mencoder is probably your only other choice then..it does offer a wide variety of inputs and options, and filters and dvd reading too..
i bet it can do the thumbs better too..Smile
i get decent fps on my P.O.S. [1.8g] but your mileage may vary..
it does have options to 'skipseek' instead of just playing thru to a point..

geez the speed of requant is amazing...too bad i can't get it to pipe yet..lol
[it still beats ffmpeg and looks better too] tho at slightly less compression..
i'll see if i can get anyone to help me make this thing pipe-able...[rejig]
glad i looked it up tho...Smile code might come in handy..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#14
2006-04-26, 01:11 AM (This post was last modified: 2006-04-26, 01:51 AM by pBS.)
i made this little avivo converter that uses the DS filters...it can input the avi files etc. and it quite fast..i think it uses same kinds of methods as requant unless you drop the quality settings..
it takes an input file and an output file as arguements..
or you can run by itself to have file dialogs show..
it has a little progress dialog but i can take that out easily Smile
you have to open the xgr and edit to change settings...but you should be able to find a nice 'middle' setting and input [and output] just about anything..
currently it's set to dvd format at 2800kbps..all directshow so extremely fast..
i may have to alter some things for varied input types but it may work as is..
i know it can take any type of file,i just set it up as mpeg-mpeg..
seems to be rather stable...Big Grin
try it out and check the times...it's neat and small..just need to Avivo encoders installed and they work with anything..
just a thought..
edit: had to make a little change in the template .xgr sync issue..
as is,it will only do mpg but i can change that
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#15
2006-04-26, 02:36 AM
after doing som reading on the requantizer method [dvdshrink] of compressing, i think i may be able to make ffmpeg do that same type of compression..Smile
meaning: the speed/quality of requant/rejig with the input/filters/etc. of ffmpeg Big Grin
also i found a way use ffmpeg as a straight up pipable muxer...
just do a copy with 2 -i files Smile and it's already pipable directly into dvdauthor..

seems there's options in ffmpeg to limit it's compression to the same factors that make the re-quant work so well and fast..
will let you know how that goes as that would be the ultimate solution..
[avi,etc. inputs, output to dvd structure directly, pipable in and out,etc.]
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#16
2006-04-26, 04:44 AM
drop me the commands when you figure them all out, im working on my music at the moment, trying to finish that.
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#17
2006-04-27, 10:09 AM
found a fix for the thumbnails deep into the movie...use ffmpeg to pipe itself a little piece of the movie that it then takes a quick snap of...
took about 10 secs to seek to 3600 secs into a movie and return a snap..Big Grin
Code:
fmpeg -i %1 -y  -ss 3600 -vframes 18 -f vob -vcodec copy -acodec copy -|fmpeg - i - -y -f image2 -s 360x240 "%~dpn1.jpg"
got the idea from someone using mencoder to pipe into ffmpeg..
too cool that ffmpeg pipes in and out..mencoder doesn't...only out afaik...
and mencoder can only do movies..no image out support at all..
hope that helps..Smile
[adjust the first -ss to get the snap you want..must cut over 18 frames cuz need an i-frame..you could output any type that ffmpeg can input not just vob.
hope that helps..Smile
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#18
2006-04-27, 12:00 PM
yup that will help a lot, mplayer took up 7megs, ffmpeg is included with gbpvr so will save my bandwidth.

cheers man Smile
pBS
Offline

Posting Freak

Posts: 4,829
Threads: 182
Joined: Aug 2005
#19
2006-04-30, 05:27 AM
finally!...i found an old version of dvdauthor [formerly called ifogen] from a tytools dist. and the buttons from command line work! so all generation can be done from command line...i already have a working plugin batch file...Big Grin

i also substitute ffmpeg for the menu .mpg creation instead of mpeg2enc and jpeg2yuv...[ffmpeg jpg-image -> .mpg in one step] so don't need them anymore...Smile
hmm,wonder if i can pipe that directly to spumux? lol

the button syntax in this release [5.3] of dvdauthor is fairly straightforward and all in the -h help.. if you could find an old 5.4 version it would probably work better...i have to use the new dvdauthor [6.x+]to make titles [because of post commands in old version are limited, hence the need for ver 5.4] and the old one to make the menus because of the cli command strructure...i presume the new one is broken in cross-compiles,something to do with cygwin,etc. but also i notice the -h help is also vague..maybe not done yet..
anyways,it works perfect...chapters..etc..on the fly hotspots..
i make my button mask png with all possible highlight squares,then only ones defined on command line show on final dvd...
[ex: 4 squares for movies all in png, but if i only define 2 on menu creation,it only shows 2 on dvd]
also should be able to easily make second menu page on the fly..
[basically menu creation without TOC,and seperate 'entry' label ex. menu2,audio,etc.]
button commands to change audio/subs easy...Smile
will upload the complete package later..even with gm it's pretty small..
Hardware: HDHR Prime, HDPVR 1212, Raspberry pi2, VFD display w/LCDSmartie
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#20
2006-05-20, 11:39 AM
pBS Wrote:found a fix for the thumbnails deep into the movie...use ffmpeg to pipe itself a little piece of the movie that it then takes a quick snap of...
took about 10 secs to seek to 3600 secs into a movie and return a snap..Big Grin
Code:
fmpeg -i %1 -y  -ss 3600 -vframes 18 -f vob -vcodec copy -acodec copy -|fmpeg - i - -y -f image2 -s 360x240 "%~dpn1.jpg"
got the idea from someone using mencoder to pipe into ffmpeg..
too cool that ffmpeg pipes in and out..mencoder doesn't...only out afaik...
and mencoder can only do movies..no image out support at all..
hope that helps..Smile
[adjust the first -ss to get the snap you want..must cut over 18 frames cuz need an i-frame..you could output any type that ffmpeg can input not just vob.
hope that helps..Smile
err i cant get this to work, no .jpg file is being created, heres the exact command i use
Code:
"..\..\Third Party\FFmpeg\ffmpeg.exe" -i %1 -y -ss %2 -vframes 18 -f vob -vcodec copy -acodec copy -|"..\..\Third Party\FFmpeg\ffmpeg.exe" - i - -y -f image2 -s 360x240 thumb.jpg[
%2 = 00:10:00
%1 = some video file

any idea about what i might be doing wrong?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Windows 10 Preview removes command prompt p37307 13 5,770 2016-12-10, 03:49 AM
Last Post: johnsonx42
  get working/batch/file dirs from one line[any dir of it's path too!] pBS 17 12,766 2013-11-05, 12:03 PM
Last Post: pBS
  <Enter> to drop a line in forum posting screen no loger works? jksmurf 3 2,472 2013-09-28, 09:44 AM
Last Post: whurlston
  H/W Quick sync transcoding from the command line. mvallevand 2 3,582 2013-03-23, 08:25 AM
Last Post: pBS
  Running a javascript command from Windows Address Bar FOLLOWING the Web address? jksmurf 35 12,745 2012-11-27, 12:53 PM
Last Post: WG++Maker
  Convert mpeg2 ts to xvid or mkv SLR_65 5 2,549 2010-02-11, 07:03 AM
Last Post: SLR_65
  Changing Channel Line Up Numbers and Names luttrell1962 11 4,018 2010-02-04, 12:44 AM
Last Post: majortom999
  Optimal video bitrate for MPEG2 analog SDTV recording? badboyz 1 3,205 2009-10-30, 05:45 AM
Last Post: pBS
  Tuner versus Encoder question DittoMuch 3 2,016 2009-01-02, 11:21 PM
Last Post: sub
  Backing up DVDs to MPEG2? reven 24 7,315 2008-11-03, 08:59 PM
Last Post: zehd

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode