Hey there... I just fixed up my version of avidemux to actually work  
with the nuv files from my pvr350... (did it just this morning..) Its  
a rather simple patch if folks don't mind recompiling avidemux..

Basicly, there's an assert that causes avidmux to barf  when it hits  
a bad frame.. I editted the code to just skip the frame instead...  
The code is in gtk_gui.cpp... Find the function "ADM_saveRaw"...

Replace the line:
ADM_assert (video_body->getFlags (i, &flags));
with:
if( video_body->getFlags(i,&flags) == 0 ) continue;

and a little further down (same function):
replace:
ADM_assert (video_body->getFlags (j, &flags));
with:
if( video_body->getFlags(j,&flags) == 0 ) continue;

After recompiling with those changes, avidemux is happily cutting  
commericals via nuvexport..  (about 7 recordings done without  
problems.. I haven't burned to DVD, but quicktime on my mac plays  
them fine..)

--John




On Jan 19, 2006, at 3:51 PM, James Nickerson wrote:

> On Thursday 19 January 2006 05:53, Kirk Bocek grooved on as follows:
>> Wow, what excellent timing! I was just googling around trying to  
>> find a
>> simple editor to remove commercials from the MPEG-2 files created by
>> mythtv/nuvexport. Thanks!
>>
>> Just edited a 2-hour show that I wanted to archive to DVD. Works,  
>> although
>> it looks like Windows Media Player is confused at the new  
>> transitions. I'll
>> see if dvdauthor can fix things when it creates the disk image.
>
> I rooted out an old windows box and dusted it off to verify, and of  
> course my
> result was the same.  Also Gopchop and Gopdit both like the file, but
> avidemux doesn't.  All the linux players (vlc, mplayer, xine, etc.  
> seem to be
> right friendly with it).  Mencoder has no problem with it.  I'm  
> sure there's
> a fairly straightforward way to run it through something that will be
> acceptable to the utility of your choice.  Project-X might even have a
> setting that would do the trick.
>
> Certainly, mpeg-4 files encoded with mencoder from the mpeg-2 files  
> output by
> Project-X are viewed without problem by Windows Media Player.
>
> Maybe I'll try running mencoder on it and telling it to output an  
> mpeg-2 to
> see if that will stick the headers on or whatever it wants, without
> re-encoding.
>
> -James
>
>> Kirk
>>
>> James Nickerson wrote:
>>> I thought there might be others who would appreciate Project-X as  
>>> much as
>>> I have:  http://www.lucike.info/page_projectx.htm
>>>
>>> I had a deuce of a time trying to find a non-reencoding editor to  
>>> use to
>>> trim recordings.  I tried GOPchop and Gopdit, but neither could  
>>> read the
>>> PVR-150 encoded files, and even Avidemux barfed on them.  Project-X,
>>> while a bit of a memory hog and written in Java (which certainly  
>>> makes it
>>> easy to get working) appears to specialize in damaged MPEG  
>>> streams and
>>> keeping the sync correct through GOP-based editing.  It slices  
>>> pieces out
>>> of my recordings without issue and kindly exports the result as more
>>> universally acceptable MPEG-2.
>>>
>>> Maybe its existence is general knowledge to most here, but if not  
>>> and
>>> you're looking for a solution to the same problem I was, then I'd  
>>> say
>>> look no further.
>>>
>>> -James
>>>
>>> _______________________________________________
>>> ivtv-users mailing list
>>> [email protected]
>>> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>>
>> _______________________________________________
>> ivtv-users mailing list
>> [email protected]
>> http://ivtvdriver.org/mailman/listinfo/ivtv-users
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users


_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to