Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302132 - media-tv/nuvexport-0.5_p20080311 command line changes for transcode and ffmpeg
Summary: media-tv/nuvexport-0.5_p20080311 command line changes for transcode and ffmpeg
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL: http://ubuntuforums.org/showthread.ph...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 03:51 UTC by daktak
Modified: 2010-03-22 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to work with >=trasncode-1.1.0 (nuvexport-0.5-transcode.patch,1.08 KB, patch)
2010-01-26 22:27 UTC, Christopher Byrne
Details | Diff
Backport from mythtv CVS: let nuvexport work with newer ffmpeg (nuvexport-0.5-ffmpeg.patch,4.87 KB, patch)
2010-01-26 23:49 UTC, Christopher Byrne
Details | Diff
Patch ebuild to -r1 (nuvexport-0.5_p20080311-r1.ebuild.patch,832 bytes, patch)
2010-01-26 23:58 UTC, Christopher Byrne
Details | Diff
Patch to work with >=trasncode-1.1.0 (nuvexport-0.5-transcode.patch,1.45 KB, patch)
2010-01-27 00:58 UTC, Christopher Byrne
Details | Diff
Patch to supress the red/bleu swap "transcode -k" (nuvexport-0.5-transcode-suppress-red-blue-swap.patch,742 bytes, patch)
2010-01-27 01:04 UTC, Christopher Byrne
Details | Diff
Patch ebuild to -r1 w red/blue supression patch (nuvexport-0.5_p20080311-r1.ebuild.patch,903 bytes, patch)
2010-01-27 01:07 UTC, Christopher Byrne
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description daktak 2010-01-25 03:51:49 UTC
command line options for transcode and ffmpeg alterations

Reproducible: Always

Actual Results:  
export/transcode.pm
change line 87 and 88 to
 .' -V yuv420p'  
 .' --progress_rate 16' 
export/transcode/XviD.pm
change line 152 
 $self->{'transcode_xtra'} = " -y xvid4 $params";

export/ffmpeg/XviD.rm
remove trell as a flag and add as .' --trellis 1'
add cgop and aic as flags and remove as params
Comment 1 daktak 2010-01-25 04:59:47 UTC
also remove '-k' for transcode
Comment 2 Christopher Byrne 2010-01-26 22:27:42 UTC
Created attachment 217513 [details, diff]
Patch to work with >=trasncode-1.1.0

I don't use this program, but I created a simialr patch for tovid (Bug 294492). Untested, As -V 420yuv is the default, I simply struck out the option entirely. 

-k has the same meaning in old version of transcode as it does in the new version of transcode so I donlt see why that would need to be removed.
Comment 3 Christopher Byrne 2010-01-26 23:49:45 UTC
Created attachment 217518 [details, diff]
Backport from mythtv CVS: let nuvexport work with newer ffmpeg

I can't figure out what version this snapshot corresponds to in the mythtv SVN, so I had to backport the patches by hand. Unfortunately, the snapshot on http://forevermore.net/mythtv is almost 2 years old, while numerous fixes to nuvexport to work with newer version of ffmpeg have been made in CVS in the last 10 months.
Comment 4 Christopher Byrne 2010-01-26 23:58:07 UTC
Created attachment 217520 [details, diff]
Patch ebuild to -r1

Patch to ebuild to apply ffmpeg and transcode patches to it and change RDEPEND to >=media-video/transcode-1.1.0 .
Comment 5 daktak 2010-01-27 00:02:11 UTC
If I don't remove the '-k' option for transcode, my videos end up with inverted colour.

Also had to change transcode.pm ".' -H 0 -x raw'" on line 243 to ".' -H 0 -x raw,raw'" so that the audio input is processed
Comment 6 Christopher Byrne 2010-01-27 00:58:02 UTC
Created attachment 217522 [details, diff]
Patch to work with >=trasncode-1.1.0 

Ok I added the extra ",raw" to the previous patch
Comment 7 Christopher Byrne 2010-01-27 01:04:59 UTC
Created attachment 217524 [details, diff]
Patch to supress the red/bleu swap "transcode -k"

Separate patch to suppress the red-blue color swap. Comments in the source indicate it might be needed for SVCD, and possibly others.
Comment 8 Christopher Byrne 2010-01-27 01:07:42 UTC
Created attachment 217525 [details, diff]
Patch ebuild to -r1 w red/blue supression patch

Update previous ebuild patch to include the red/blue swap suppression patch.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 08:08:48 UTC
nuvexport was removed from tree with mythtv-0.21, please use the nuvexport from upstream instead. it's only a script, afterall.

and report your fixes upstream too, thanks!