LinHES Forums http://forum.linhes.org/ |
|
nuv2disc in R5A10 with commercial cutting http://forum.linhes.org/viewtopic.php?f=11&t=3715 |
Page 1 of 1 |
Author: | ViralHex [ Sat Feb 26, 2005 9:01 pm ] |
Post subject: | nuv2disc in R5A10 with commercial cutting |
well, I've been messing around with nuv2disc (with the help of jams) and I now have nuv2disc running with avidemux2 to cut out the commercials... so... this is what I did... Code: cd /myth/nuv2disc wget http://extras.mythtvtalk.com/downloads/nuv2disc-install.sh nuv2disc-install.sh -download *wait for it to download the newest version of nuv2disc and replace the copy in the /myth/nuv2disc directory you are in* ok... so now you've got the newest version of nuv2disc and you can do the following more then one way, but this is how I did it... I followed the instructions on the Knoppmyth wiki for installing avidemux2 http://knoppmythwiki.homelinux.org/index.php?page=NuvexportMPEGcut nothing too special here... I used version 2.0.36, (the wiki now uses a newer version). I believe another way to do this is to run apt-get update; apt-get install avidemux as root... but I can't confirm that. ok, so now we've got the newest version of nuv2disc and avidemux2 installed... but nuv2disc looks for avidemux not avidemux2 so... Code: cd /myth/nuv2disc nano ./systemcheck.sh look for the line that says: DVDSUPPORT="tcprobe mpgtx dvdwizard mkfifo xine mplayer convert ppmtoy4m lvemux avidemux mplex $MPEG2DESC mpeg2enc ppmtoy4m mkisofs dvdauthor convert toolame transcode spumux" and change it to: DVDSUPPORT="tcprobe mpgtx dvdwizard mkfifo xine mplayer convert ppmtoy4m lvemux avidemux2 mplex $MPEG2DESC mpeg2enc ppmtoy4m mkisofs dvdauthor convert toolame transcode spumux" the only difference is the first one looks for avidemux and the second looks for avidemux2 this isn't necessary, but it means that it tests to find avidemux2 to make sure everything will work... then press ctrl-x and save changes to the file so that you can: Code: ./systemcheck.sh using mpeg2desc Nuv2disc has found all the software commands to run successfully. then: Code: cd ./nuv2disc-skin
nano commonvars skip down to the part that says: #-----------------AVIDEMUX SETTINGS------------ then change any call to avidemux to avidemux2 and uncomment AVIDEMUX="avidemux2" and comment out "AVIDEMUX="xvfb-run avidemux2". so then it will look like this... #AVIDEMUX="xvfb-run avidemux2" AVIDEMUX="avidemux2" this is a hack because currectly xvfb-run is giving us problems... and so it means that avidemux2 will in a window over the mythfrontend... it's ugly, but it's a hack. jams is working on this... so anyway... if you do all that nuv2disc should work with R5A10 of KnoppMyth another note... I currently have trouble with audio and video slightly being out of sync... it's just a couple of seconds, I'm guessing it's a problem with how avidemux2 is called... |
Author: | tjc [ Sun Mar 27, 2005 3:50 pm ] |
Post subject: | |
Well I'm stumped. I just spent about six hours hacking at this all without success. I installed the latest versions of lvemux (source) and avidemux (apt-get - really avidemux2) had it hang in avidemux, and spent a bunch of time debugging without anything to show for it. - nuvexport seems to have a mixture of names, avidemux in some places and avidemux2 in ohers. A symlink in /usr/bin got me past this but it's rather silly. - As someone noted on the wiki avidemux doesn't like long files names. WTH? To an old pro that's a VERY bad sign. It usually means that there is something really silly like a fixed length array or a bad allocation in the code. Testing with short names got me a lot further but still no dice. - Once debugging is enabled I'm getting the following traceback with normal filenames: Code: Indexing the file with avidemux LARGE FILE AVAILABLE : 1 offset Locales for avidemux appear to be in I18N : _File ******************* Avidemux 2, v 2.0.38rc1 ******************* http://fixounet.free.fr/avidemux Code : Mean & JSC GFX : Nestor Di , nestordi@augcyl.org Testing : Jakub Misak FreeBsd : Anish Mistry, amistry@am-productions.biz MMX activated. Registering Encoders ********************* Mjpeg encoder registred Xvid-4 encoder registred FFMPEG encoder registred 3 encoder registered Initializing global xvid 4 xvid build:xvid-1.0.1 xvid thread:0 xvid SIMD supported:(80) Checking cpu capabilities Cpu has MMX Cpu has 3DNOW Cpu has MMXEXT Cpu has SSE End of cpu capabilities check Found 15 video encoder Found 7 audio encoder Initializing postproc Deleting post proc updating post proc Enabled type:3 strength:3 Registering Filters ********************* Preferences found and loaded Using dummy audio device **********OBSOLETE********* Codec FFmpeg4 found Global SDL init... *** Automated : 50 entries************* index-mpeg-->3 Images stat:___________Max memory consumed (MB) : 0 Current memory consumed (MB) : 0 Max image used : 0 Cur image used : 0 #0 0xb787e100 in g_on_error_stack_trace () from /usr/lib/libglib-2.0.so.0 #1 0x08098b67 in sig_segfault_handler () #2 <signal handler called> #3 0x0809c05e in ADM_alloc () #4 0x083830a9 in mParser::open () #5 0x083812ea in indexMpeg () #6 0x0839846f in automation () #7 0x08397db8 in automation () #8 0xb7896ddc in g_main_context_wakeup () from /usr/lib/libglib-2.0.so.0 #9 0xb78946c2 in g_main_depth () from /usr/lib/libglib-2.0.so.0 #10 0xb7895748 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #11 0xb7895a80 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #12 0xb7896023 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0 #13 0xb7bb08f3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0 #14 0x08098ab3 in main () With short filenames (creating a symlink "x.nuv" to the file in question) the last part of that becomes: Code: *** Automated : 50 entries*************
index-mpeg-->3 Simple loading: file: /home/mythtv/x.nuv, size: 1167983884 found 1 files Done Program stream Program stream demuxer initialized with stream 1 = e0stream 2 = c0 Internal stream 1 = e0stream 1s= ff Internal stream 2 = c0stream 2s= ff Simple loading: file: /home/mythtv/x.nuv, size: 1167983884 found 1 files Done Size of PES stream : 1167983884>>>First PTS = 36036 Demuxer : 26 first, e0 480 x 480 at 29970 fps >>>Other PTS = 30041 Trying to go out of bound could not get sync! **error reading packet** io error , aborting sync end of stream... Progressive :0, interlaced :0 unknown :0 Total : 53821 frames >>Delta PTS = 66.611111 ms<< >>Delta PTS = 66.611111 ms<< XXX We have a shift of 66 ms between audio and video XXX!!! __ arg: 7 index 23 audio-codec-->1 quit-->0 Images stat:___________Max memory consumed (MB) : 0 Current memory consumed (MB) : 0 Max image used : 0 Cur image used : 0 Global mem stat Memory consumed :0 (MB) Goodbye... Something is clearly very broken here... 8-( |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |