NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 2 3 4 5 6 … 125 Next »
Automated Cutting and Transcoding Guide Using Mencoder

 
  • 0 Vote(s) - 0 Average
Automated Cutting and Transcoding Guide Using Mencoder
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#161
2006-03-31, 10:06 PM
wintermute Wrote:stattik,

Any ideas or assistance with my question with mencoder and ATSC broadcasts with AC3 audio and options/parameters to cut remux to mpg?

Thanks!
Greg

Try replacing the :mpeg command arguments with this:


Code:
start /low /wait %mencoder_path% "%~dpn1_original.mpg" -edl "%~dpn1.edl" -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf pullup,softskip -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=%mpegbitrate%:keyint=18 %test% -o "%~dpn1.mpg"


I haven't tested it because I've never done a mpeg to mpeg transcode with ATSC but the video filters used in the above example seem to work better for me with ATSC material. Try it in test mode and tell me how it turns out.
wintermute
Offline

Junior Member

Posts: 42
Threads: 6
Joined: Mar 2006
#162
2006-03-31, 10:24 PM
stattik,

Thanks for the response. I will give it a try.

Thanks!

Greg
tal56
Offline

Member

Posts: 52
Threads: 9
Joined: Aug 2005
#163
2006-04-01, 07:21 AM
I ran the script as postprocessing.bat and it worked fine, but I did notice it skipped a lot of frames and had a lot of "duplicate frame" messages, is this normal? I'm in Canada so it's normally 30fps ntsc, is the setting in the script fine for me?

Also for some reason my comskip did not run to remove the commercials, I did put the comskip.exe and ini inside the gbpvr folder and set the edl=1 thing as the setup stated, I even set comskip to run in gbpvr config, what am I missing? Thanks
abnersnell
Offline

Junior Member

Posts: 1
Threads: 0
Joined: Apr 2006
#164
2006-04-01, 09:14 PM
Thanks -stattik- for a wonderful script!

I have tried the "mpeg" profile in your script, but when I played it back on my Tivo, it was choppy and the sound dropped occassionally.

I came across some info regarding using mencoder to do encoding for playback on a Tivo at
http://www.tivocommunity.com/tivo-vb/arc...72444.html.

I am becoming more familiar with the command-line options for mencoder, but was wondering if you could look at the link above and adapt the mencoder lines for your script. Maybe even include a "tivo" profile if others show interest.

I was successful using the following options but wanted to know if you would recommend modifying anything. I can test any recommendations with a my networked TIVO.

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
scale=480:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts \
vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
vbitrate=4000:vrc_maxrate=4000:acodec=mp2:abitrate=224 -ofps 30000/1001 -o n.mpg dvd://1

Thanks again for putting your script together and to everyone else pushing this functionality forward.

Abner
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#165
2006-04-03, 03:03 PM
tal56 Wrote:I ran the script as postprocessing.bat and it worked fine, but I did notice it skipped a lot of frames and had a lot of "duplicate frame" messages, is this normal? I'm in Canada so it's normally 30fps ntsc, is the setting in the script fine for me?

The setting should be fine for you. How does the output look? Does it look smooth and clean?

Code:
Also for some reason my comskip did not run to remove the commercials, I did put the comskip.exe and ini inside the gbpvr folder and set the edl=1 thing as the setup stated, I even set comskip to run in gbpvr config, what am I missing?  Thanks

I'm not sure why comskip isn't running if you have it set in the config app. Since this script is your postprocessing.bat file, you could run comskip from there by removing the REM in front of it at the top of the script.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#166
2006-04-03, 03:03 PM
abnersnell Wrote:Thanks -stattik- for a wonderful script!

I have tried the "mpeg" profile in your script, but when I played it back on my Tivo, it was choppy and the sound dropped occassionally.

I came across some info regarding using mencoder to do encoding for playback on a Tivo at
http://www.tivocommunity.com/tivo-vb/arc...72444.html.

I am becoming more familiar with the command-line options for mencoder, but was wondering if you could look at the link above and adapt the mencoder lines for your script. Maybe even include a "tivo" profile if others show interest.

I was successful using the following options but wanted to know if you would recommend modifying anything. I can test any recommendations with a my networked TIVO.

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
scale=480:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts \
vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
vbitrate=4000:vrc_maxrate=4000:acodec=mp2:abitrate=224 -ofps 30000/1001 -o n.mpg dvd://1

Thanks again for putting your script together and to everyone else pushing this functionality forward.

Abner


I'll take a look at it.
tal56
Offline

Member

Posts: 52
Threads: 9
Joined: Aug 2005
#167
2006-04-05, 06:55 AM
Thanks for the response, Yes the output looks pretty good, I haven't noticed any skipping, but I haven't had time the last few days to go through a whole show and judge, I'll try to do this tomorrow. I was just worried about the skipped frames and duplicate frames message, I wasn't sure they were supposed to be there.

As for comskip, again I haven't had time to play around with it, but I'll try running from your script instead of through gbpvr config and see if it works. Do I still leave the comskip.exe and comskip.ini in the gbpvr directory to do this? and I just remove the rem on the script? Thanks

-stattik- Wrote:The setting should be fine for you. How does the output look? Does it look smooth and clean?

Code:
Also for some reason my comskip did not run to remove the commercials, I did put the comskip.exe and ini inside the gbpvr folder and set the edl=1 thing as the setup stated, I even set comskip to run in gbpvr config, what am I missing?  Thanks

I'm not sure why comskip isn't running if you have it set in the config app. Since this script is your postprocessing.bat file, you could run comskip from there by removing the REM in front of it at the top of the script.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#168
2006-04-05, 04:46 PM
tal56 Wrote:As for comskip, again I haven't had time to play around with it, but I'll try running from your script instead of through gbpvr config and see if it works. Do I still leave the comskip.exe and comskip.ini in the gbpvr directory to do this? and I just remove the rem on the script? Thanks

Leave comskip in the directory and remove the rem i the script and you should be set.
-stattik-
Offline

Posting Freak

Posts: 924
Threads: 26
Joined: Mar 2005
#169
2006-04-05, 04:50 PM
abnersnell Wrote:T
I came across some info regarding using mencoder to do encoding for playback on a Tivo at
http://www.tivocommunity.com/tivo-vb/arc...72444.html.


Abner


Since the tivo solution changes the resolution and specifies the xsvcd resolution, I'll just create another profile for it in the next version of the script. Since you said it's works well for you, I'll add it verbatim.
5%NationofCasiotone
Offline

Member

Posts: 70
Threads: 10
Joined: Jan 2006
#170
2006-04-05, 11:35 PM
erik Wrote:That depends.

First find out why comskip decides the credits are not part of the show.
No logo and a blackframe before the credits?
No logo and a AR change?
Then decide what decision method to change such that the credits are not deleted. This can be either difficult or simple.

As a refresher, I'm trying to have comskip not skip the last segment of a show with the credits.

Well I tried this:

Quote:delete_show_before_or_after_current=0
delete_show_after_last_commercial=0

and I'm still not getting what I want. How important is my "detect method'

Quote:detect_method=47 ;1=black frame, 2=logo, 4=scene change, 8=fuzzy logic, 16=closed captions, 32=aspect ration, 255=all

I think these segments may get cut because the logo is not displayed in the corner of the screen, how can I tell comskip to not automatically delete these logoless sections? Will this also lead comskip to leave in commercials?
« Next Oldest | Next Newest »

Users browsing this thread: 2 Guest(s)

Pages (89): « Previous 1 … 15 16 17 18 19 … 89 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Yet another guide enhancer :0) carpeVideo 18 10,384 2010-04-07, 03:39 PM
Last Post: carpeVideo
  Guide Questions native 6 4,279 2010-02-10, 01:23 PM
Last Post: native
  Mencoder with multiple TS audio streams lanmat 2 4,621 2009-11-09, 12:15 PM
Last Post: lanmat
  mencoder error messages fvfv 3 2,867 2009-10-19, 08:07 PM
Last Post: -stattik-
  TV guide table colour Pob 3 2,504 2009-09-21, 10:55 PM
Last Post: Snooze
  Searching Guide Contents skycyclepilot 1 2,032 2009-08-23, 03:30 PM
Last Post: McBainUK
  Search for Movies in TV Guide spdrac1 1 2,042 2009-05-23, 03:37 PM
Last Post: JavaWiz
  MPEG2 transcoding to Xvid/AAC -which plug-in/tool are best fit? blizard 6 5,142 2009-03-01, 05:43 PM
Last Post: Deusxmachina
  Warning: Mencoder and large MPEG2 files can fail jam_zhou 1 1,702 2008-07-26, 01:39 AM
Last Post: sgilani
  Comskip, Comclean, Rename Recording, and Transcoding heath11 18 10,757 2008-03-27, 11:45 PM
Last Post: _Dude_

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

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

Linear Mode
Threaded Mode