View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 12 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Oct 25, 2005 1:47 pm 
Offline
Joined: Fri May 20, 2005 3:16 pm
Posts: 6
Location: Queens, NY
Hi all.

This was more of a rebuild than an upgrade. My old system (Biostar M7VIG400 and Sempron 2200+) had a cpu fan failure and evidently cooked itself, so it seemed like the right time to switch to a non-VIA mobo. Arrival of R5A22 was just convenient timing. The motherboard, cpu and video card are upgrades. Remaining hardware was salvaged from the previous system:
ASRock K8Upgrade-NF3 (NForce3,Socket 754)
Sempron64 2800+
1Gb Corsair ValueSelect DDR400 (2x512Mb)
Maxtor 160Gb HD
GeForce FX5500 128Mb
LITE-ON IDE DVD Burner SOHW-1693S
Hauppauge PVR-250 (grey remote)
Antec CS200B
Generic 300w ATX PS

Thank you, cesman for the smoothest installation yet. Installed R5A22 Friday 10/21 and all the basics seem to work right out of the gate:
- TV viewing, recording and playback.
- Hauppauge 250 grey remote works automagically.
- Scheduling recordings from MythWeb works fine.

Ordinary tweaks:
- Edit XF86Config-4 for NVidia Composite TV-out (0.7 Overscan) as per sample.
- Enabled Samba as per knoppmythwiki.
- NFS reported no /etc/exports file, therefore no exports. Corrected as per NFSHowTo in knoppmythwiki.

A few "gotchas" :
- Viewing recordings from MythWeb "Recorded Programs" page doesn't work (same as my old R5A16). Probably a symlink issue addressed somewhere here or in the wiki.
- Mythburn DVD seems to proceed successfully to a point then reports an ffmpeg error:
Code:
mythtv@mythbox:/myth/mythburn/temp$ tail -f mythburn.log

TERMS AND CONDITIONS:
(1) this is a free Java based demux utility.
(2) It is intended for educational purposes only, as a non-commercial test project.
(3) It may not be used otherwise. Most parts are only experimental.
(4) released under the terms of the GNU GPL.
(5) there is NO WARRANTY of any kind attached to this software.
(6) use it at your own risk and for your own education as it was meant.

-> to agree to these terms you have to start the GUI first
Tuesday, October 25, 2005  3:25:56 PM EDT
ProjectX 0.82.1.02_b2 (06.06.2005)

<<< session infos >>>

-> working with collection 0

-> normal log file
-> write all video data
-> write all other data
-> patch c.d.flagged infos of pictures
-> add sequence end code
-> set resolution in SDE

-> write output files to: ./
-> 7 cutpoint(s) defined ( (2) use Frame number for cuts )

-> Input File 0:  /myth/tv/1005_20051024193000_20051024200000.nuv (1172434116 bytes)
-> File is MPEG-2 PS/SS (Video/Audio PES)
-> demux
-> found PES-ID 0xE0 (MPEG Video) @ 38193000_20051024200000.nuv
-> found PES-ID 0xBD (private stream 1) (SubID 0x69)-> ignored @ 2064
-> found PES-ID 0xC0 (MPEG Audio) @ 2150
-> cut-in @ GOP# 95 / new vframe 0 / new Timecode 00:00:00.000v
-> video basics: 480*480 @ 29.97fps @ 0.6735 (4:3) @ 6000000bps, vbvBuffer 112
-> starting export of video data @ GOP# 95
!> dropping useless B-Frames @ GOP# 95 / new Timecode 00:00:00.000
-> cut-out @ GOP# 1549ile 1005_20051024193000_20051024200000.nuv
-> cut-in @ GOP# 1859 / new vframe 21808 / new Timecode 00:12:07.660
!> PTS difference of 13963964 (00:02:35.155) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 1859 / new Timecode 00:12:07.660
-> cut-out @ GOP# 2802ile 1005_20051024193000_20051024200000.nuv
-> cut-in @ GOP# 3108 / new vframe 35951 / new Timecode 00:19:59.566
!> PTS difference of 13783784 (00:02:33.153) to last exported GOP detected
!> dropping useless B-Frames @ GOP# 3108 / new Timecode 00:19:59.566
-> cut-out @ GOP# 3286ile 1005_20051024193000_20051024200000.nuv
100% demuxing A/V PES file 1005_20051024193000_20051024200000.nuv
-> Video: fr/ ct/ 1p/ cg/ og/ dg -> 38619/ 1011/ 0/ 2575/ 0/ 0
-> Video length: 38619 frames @ 00:21:28.580
-> GOP summary: min. 26, max. 30 fields; contains interlaced frames
-> avg. nom. bitrate 4500503bps (min/max: 2402400/7150400)
-> set first sequenceheader bitrate to 7150400bps
---> new File: ./1005_20051024193000_20051024200000.m2v
--> stream omitted (0xBD)

--> MPEG Audio (0xC0)
Audio PTS: first packet 00:00:00.333, last packet 00:29:55.1254200000.mp
Video PTS: start 1.GOP 00:00:47.947, end last GOP 00:27:24.978
-> adjusting audio at video-timeline
!> missing syncword @  2284128, @ 00:00:00.00024193000_20051024200000.mp
!> found syncword @ 2284416
-> src_audio: MPEG-1, Layer2, 48000Hz, stereo, 384kbps, noCRC @ 00:00:00.000
audio frames: wri/pre/skip/ins/add 53691/0/0/0/0 @ 00:21:28.584 done....mp
---> new File: ./1005_20051024193000_20051024200000.mpa

summary of created media files:
.Video (m2v):   38619 Frames    00:21:28.580            './1005_20051024193000_20051024200000.m2v'
Audio 0 (mp2):  53691 Frames    00:21:28.584    0/0/0/0 './1005_20051024193000_20051024200000.mpa'
=> 786763380 bytes written...
mpg123 -w - ./1005_20051024193000_20051024200000.mpa.old | ffmpeg -y -i - -f ac3 -ab 192 -ar 48000 ./1005_20051024193000_20051024200000.mpa
High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3.
Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp.
Uses code from various people. See 'README' for more!
THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK!

Directory: ./
Playing MPEG stream from 1005_20051024193000_20051024200000.mpa.old ...
MPEG 1.0 layer II, 384 kbit/s, 48000 Hz stereo
Input #0, wav, from 'pipe:':
  Duration: N/A, bitrate: 1536 kb/s
  Stream #0.0: Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
Output #0, ac3, to './1005_20051024193000_20051024200000.mpa':
  Stream #0.0: Audio: ac3, 48000 Hz, stereo, 192 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
size=   30178kB time=1287.6 bitrate= 192.0kbits/s
[21:28] Decoding of 1005_20051024193000_20051024200000.mpa.old finished.
Warning can't rewind WAV file. File-format isn't fully conform now.
size=   30201kB time=1288.6 bitrate= 192.0kbits/s
video:0kB audio:30201kB global headers:0kB muxing overhead 0.000000%
Remultiplexing video
mplex -o /myth/mythburn/temp/1005_20051024193000_20051024200000.nuv -f 8 1005_20051024193000_20051024200000.m2v ffmpeg version 0.4.9-pre1, build 4718, Copyright (c) 2000-2004 Fabrice Bellard built on Oct 18 2005 17:26:48, gcc: 3.3.5 (Debian 1:3.3.5-12) ./1005_20051024193000_20051024200000.mpa
   INFO: [mplex] mplex version 1.6.2 (2.2.3 $Date: 2004/01/13 20:45:26 $)
**ERROR: [mplex] Unable to open file ffmpeg for reading.
Cleaning up
rm: cannot remove `ffmpeg': No such file or directory
rm: cannot remove `version': No such file or directory
rm: cannot remove `0.4.9-pre1,': No such file or directory
rm: cannot remove `build': No such file or directory
rm: cannot remove `4718,': No such file or directory
rm: cannot remove `Copyright': No such file or directory
rm: cannot remove `(c)': No such file or directory
rm: cannot remove `2000-2004': No such file or directory
rm: cannot remove `Fabrice': No such file or directory
rm: cannot remove `Bellard': No such file or directory
rm: cannot remove `built': No such file or directory
rm: cannot remove `on': No such file or directory
rm: cannot remove `Oct': No such file or directory
rm: cannot remove `18': No such file or directory
rm: cannot remove `2005': No such file or directory
rm: cannot remove `17:26:48,': No such file or directory
rm: cannot remove `gcc:': No such file or directory
rm: cannot remove `3.3.5': No such file or directory
rm: cannot remove `(Debian': No such file or directory
rm: cannot remove `1:3.3.5-12)': No such file or directory
----- datestamp=25-10-2005 15:28
Building MPEG2 GOP index files...
----- datestamp=25-10-2005 15:28
----- datestamp=25-10-2005 15:28
(ioaux.c) invalid file "/myth/mythburn/temp/1005_20051024193000_20051024200000.nuv"
***********************************
MythTV BurnDVD stopped due to error
***********************************
Sent UDP/XML packet to IP 255.255.255.255 and port: 6948


- nuvexport also seems to have an ffmpeg problem (same as MythBurn?):
Code:
You have chosen to export 1 episode:

  1. Seinfeld:
     The Opposite (10/24, 7:30 PM) 480x480 MPEG2 (4:3)
     George learns success lies in doing the opposite of what he would normally
     do; guests Dedee Pfeiffer, Regis Philbin, Kathie Lee Gifford; French
     Stewart.

* Separate multiple episodes with spaces

  c. Continue
  n. Choose another show
  q. Quit

Choose a function, or episode(s) to remove:  c
Where would you like to export the files to? [.]
Enable Myth cutlist? [Yes]
Enable noise reduction (slower, but better results)? [Yes]
Enable deinterlacing? [Yes]
Crop broadcast overscan (2% border)? [Yes]
Audio bitrate? [384]
Maximum video bitrate for VBR? [6000]
VBR quality/quantisation (1-31)? [5]

Now encoding:  Seinfeld:  The Opposite
Encode started:  Tue Oct 25 13:37:32 2005
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed:  0 of 53790 frames (0.00%),   0.00 fps    INFO: [yuvdenoise]  ========================================================
   INFO: [yuvdenoise]          Y4M2 Motion-Compensating-YCrCb-Denoiser
   INFO: [yuvdenoise]  ========================================================
   INFO: [yuvdenoise]  Version: MjpegTools 1.6.2
++ WARN: [yuvdenoise] Unknown stream tag encountered:  'C420mpeg2'
   INFO: [yuvdenoise]
   INFO: [yuvdenoise]  Denoiser - Settings:
   INFO: [yuvdenoise]  --------------------
   INFO: [yuvdenoise]
   INFO: [yuvdenoise]  Mode             : Progressive frames
   INFO: [yuvdenoise]  Deinterlacer     : Off
   INFO: [yuvdenoise]  Postprocessing   : On
   INFO: [yuvdenoise]  Y frame size     : w:480 h:480
   INFO: [yuvdenoise]  CbCr frame size  : w:240 h:240
   INFO: [yuvdenoise]  Frame border     : x: 10 y: 10 w:460 h:460
   INFO: [yuvdenoise]  Search radius    :  16
   INFO: [yuvdenoise]  Y  Filter delay     :   3
   INFO: [yuvdenoise]  Cr Filter delay     :   3
   INFO: [yuvdenoise]  Cb Filter delay     :   3
   INFO: [yuvdenoise]  Y  Filter threshold :   5
   INFO: [yuvdenoise]  Cr Filter threshold :   5
   INFO: [yuvdenoise]  Cb Filter threshold :   5
   INFO: [yuvdenoise]  Pass 2 threshold :   4
   INFO: [yuvdenoise]  Y - contrast     : 100 %
   INFO: [yuvdenoise]  Cr/Cb - contrast : 100 %
   INFO: [yuvdenoise]  Sharpen          : 125 %
   INFO: [yuvdenoise]
   INFO: [yuvdenoise] Using 4:2:0 extended MMX SIMD optimisations.
processed:  0 of 53790 frames (0.00%),   0.00 fps

ffmpeg had critical errors:

Unknown input or output format: dvd


Hope to hear that I just missed running some config script. Thanks in advance.

George


Top
 Profile  
 
 Post subject: Update
PostPosted: Fri Oct 28, 2005 7:48 am 
Offline
Joined: Fri May 20, 2005 3:16 pm
Posts: 6
Location: Queens, NY
Time for an update:
When in doubt re-install, search the forum, search the wiki and try to read the shell scripts. Then make sure you have all the required software. Then make sure all the file permissions are correct, no matter what the install script displayed.
This was pretty haphazard. After an update to /etc/apt/sources.list, some apt-get installs, some make installs and permission changes, Mythburn seems to be working on r5a22. Nuvexport remains a challenge. I hope to re-trace my steps and take better notes in the future but here's my progress to date:

    I figured I might have clobbered something with a bad response during install, but the basics seemed to be working and I had a few programs recorded, so I backed up knoppmyth and re-installed via auto-upgrade. Set up XF86Config-4 for tv-out. Success. Basics still seemed to work.

    Forum searches pointed me toward recent postings to the "Update mythburn script" thread here in the forum. Not exactly my issues but helpful. Other postings pointed to "NuvexportMPEGcut" and "MythTVBurn_Scripts_HowTo" on the wiki.

    Installed lvemux and then avidemux as per the "NuvexportMPEGcut" howto (http://knoppmythwiki.org/index.php?page=MythTVBurn_Scripts_HowTo). Installed lvemux with make install. Tried apt-get install avidemux as suggested by tjc's comment in the howto. Discovered that the recommended change to /etc/apt/sources.list no longer correct. After browsing the ftp site I tried adding this line:
    deb ftp://ftp.nerim.net/debian-marillat/ sarge main
    apt-get install avidemux now seems to work.

    I tried to validate lvemux and avidemux by running nuv2disc's systemcheck.sh script (successful). Since I may also want to burn a dvd from the frontend, I ran nuv2disc-install.sh. Script reported no errors. Will try it later. Back to Mythburn...

    Tried to follow MythTVBurn_Scripts_HowTo on the KnoppMyth Wiki. Don't know if the change to sources.list had any impact here. Uncertain, though it seems to have done no harm. I did all the apt-gets as listed. Ran the install script. Console reported success, including file permission changes (trust but verify - see below).

    Try "Burn DVD" from Mythweb. Choose program, options. Push the button... Nothing!
    Mythburn.log is from the last attempt, hours ago. Permission problem? Looks like the script lied to me or I broke something. Fix it:
    chown -R www-data:www-data /myth/mythburn/temp
    Add www-data to groups mythtv and cdrom.
    Add mythtv to group www-data.

    Read the mythburn scripts one more time. A comment in mythtvburn.sh says we need perl, dvdauthor, spumux, mpeg2desc, mplex, convert. Try apt-get install on all of them just to be sure. Only dvdauthor got upgraded.

    Try "Burn DVD" from Mythweb. Choose program, options. Push the button...
    Read the log over the web until we get a php error:
    Quote:
    Fatal Error at /usr/share/mythtv/mythweb/includes/mythbackend.php, line 32:
    Unable to connect to mythbackend, is it running?
    The system administrator has been notified and the problem will be remedied shortly.

    Log messages still look OK. Wait a little longer.
    Hmmm... this is different. We seem to have created an iso image. Copy to windows and burn with Nero. Success.

    Try "Burn DVD" to a dvd-r for 3 programs. Choose programs, choose options for menu style. Push the button...
    Just tail the log file. Messages look good. DVD plays. More success.


Summary:
Mythburn now seems functional. Nuvexport says dvd format not supported (will try other formats next). "Create DVD" from the frontend still can't seem to transcode, so no files listed for dvd creation (more file permissions?). Check the logs (tomorrow!). To be continued...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 07, 2005 9:40 am 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
I seem to be having the same problem with nuvexport after upgrading to R5A22..

I have downloaded and installed the latest nuvexport, as described in the wiki script.. http://knoppmythwiki.org/index.php?page=NuvexportToDVD

Myth: nuvexport wrote:
Where would you like to export the files to? [.]
Enable Myth cutlist? [Yes]
Enable noise reduction (slower, but better results)? [Yes] no
Enable deinterlacing? [Yes]
Crop broadcast overscan (2% border)? [Yes]
Audio bitrate? [384]
Maximum video bitrate for VBR? [6000]
VBR quality/quantisation (1-31)? [5] 2

Now encoding: Stargate SG-1: Avalon
Encode started: Mon Nov 7 07:30:55 2005
Waiting for mythtranscode to set up the fifos.
Starting ffmpeg.
processed: 0 of 107745 frames (0.00%), 0.00 fps

ffmpeg had critical errors:

Unknown input or output format: dvd

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 7:43 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
After studying this for a while, I got it working. :D

It seems that R5A22 comes with ffmpeg version 0.4.9-pre1, build 4718 .. after uprading versions it works OK, now.

I used synaptic to perform the upgrade, although, command line apt-get will certainly do the job. (synaptic is not on the knoppmyth installation, but is easily installed using apt-get)

You can use the command:

Code:
ffmpeg -version


to get the version information.

The version (ffmpeg) that I upgraded to is:

0.4.9-pre1, build 4747

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 5:18 pm 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
Would you mind posting your complete /etc/apt/sources.list

I have been trying to get nuvexport to work for a few days now. I run into alot of dependancy problems and figured your list of repos might help me past it.

I really like to be able to get a newer ffmpeg version and also install avidemux from an apt-get line.

Any help would be great, thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 6:48 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Odds are, you'll need to compile ffmpeg from source.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 7:35 pm 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
was hoping to avoid that but I guess I have no choice. Do you know if there are any tar balls packages around that I could compile. I am really pretty new to linux and I am not sure how to do the cvs thing that is on Mplayers site.

Actually think I understan cvs now. going to compile my stuff now. Thanks


Last edited by animatt on Fri Dec 02, 2005 8:31 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 8:31 pm 
Offline
Joined: Fri Jul 29, 2005 1:22 am
Posts: 232
Location: SF East Bay, CA
animatt wrote:
Would you mind posting your complete /etc/apt/sources.list


No problem, here goes..
Code:
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free

deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://non-us.debian.org/debian-non-US/ stable/non-US main contrib non-free

deb http://ftp.debian.org/debian/ ../project/experimental main contrib non-free

# deb ftp://ftp.nerim.net/debian-marillat/ unstable main

# deb http://dijkstra.csh.rit.edu/~mdz/debian/ unstable mythtv
# deb-src http://dijkstra.csh.rit.edu/~mdz/debian/ unstable mythtv

# deb http://developer.linuxtag.net/knoppix/ ./
# deb-src http://developer.linuxtag.net/knoppix/ ./

# deb http://kanotix.com/files/debian/ ./

# deb http://www.pcxperience.org/apt/debian/ unstable/

deb ftp://debian.marlow.dk/ sid madwifi
deb-src ftp://debian.marlow.dk/ sid madwifi

deb http://ndiswrapper.sourceforge.net/debian/ ./

# deb http://debian.tu-bs.de/knoppix/nx/slh-debian/ ./

deb http://www.winischhofer.net/sis/debian/unstable/ ./
deb-src http://www.winischhofer.net/sis/debian/unstable/ ./

deb http://honk.physik.uni-konstanz.de/~agx/linux-i386/debian/ smartmontools/

deb http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/
deb-src http://www.physik.fu-berlin.de/~glaweh/debian/ unichrome/
deb ftp://ftp.nerim.net/debian-marillat/ sid main



Although, right now, I'm getting ..
Code:
Failed to fetch http://ndiswrapper.sourceforge.net/debian/./Packages.gz  404 Not Found


(this is from my knoppmyth R5A22 box.)

_________________
// Brian - Hardware:
ASUS P5P800 - P4 3Ghz, 500 GB PATA HD
ASUS P5K-V - P4 Core2 Duo, 500 GB SATA HD
Hauppauge PVR-350, IR Blaster, Comcast Digital Cable
http://tech.groups.yahoo.com/group/KnoppMyth/
KnoppMyth R5F27 >> R5.5


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 02, 2005 10:05 pm 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
yeah that does not seem to work on r5a26. I guess I could have not done something correct, but I do not think so. Basically It yells at me when I try to install ffmpeg. It has a problem with libavcodeccvs,libfaac0,libavutilcvs. Either can not get them or can not get the version the dependence ffmpeg needs. Just waiting for my compile of ffmpeg to finish up to see if it went ok. I will report back either way. IF good just the compile options I used if not maybe to seek more help


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 04, 2005 7:08 pm 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
I did an apt-get remove ffmpeg to remove standard ffmpeg setup then I ran the make install from the compiled one. Everything appears to be where it should, but I still can not operate nuvexport correctly.

I am mainly after mpeg2 cut option 10. But still no luck I also tried option 1 but ffmpeg dies early on that option. SO not sure what the issue is. I believe option 10 issue may be with mpeg2cut as when I run nuvexport --debug it will call mpeg2cut with commerical segements to cut out and what the new name should be. Nothing will happen or atleast to my knowledge and it just stops there and I am back at command line, instead of it trying to call lvemux and also avidemux.

One thing of good news that the avidemux2 program works with the updated ffmpeg.

Before it would ask if it should index the .nuv file I wanted to open. I would say yes and it would just sit there. I had to manually kill the task. Now it actually indexes and also seems to do encoding.

So I am atleast happy that I can manually do it with avidemux2. Still need to get a little used to running that program, but seems really easy. What I can not understand is why avidemux2 would work and not the other nuvexport. AS I see it they are both dependant of ffmpeg so why does ffmeg die out of the one and not the other. WEll, I am only going to passively persue this any more as I have gotten most functionality out of this setup, and do not care to go crazy trying to get the last bit perfect.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Dec 05, 2005 12:15 am 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
I did nano /usr/local/bin/mpe2cut

This was after seeing

http://mysettopbox.tv/phpBB2/viewtopic. ... t=mpeg2cut
(this is not my problem xvfb starts fine)

I did not realize mpeg2cut was a script, makes sense though. Anyway I made mpeg2cut have problems up top and then it seems to run avidemux when I run nuvexport otherwise it never gets to run avidemux

Well know it is not avidemux2 problem. I not really sure of all the code in mpeg2cut and how things are supposed to work, but I am almost sure there is something little somewhere that needs to be changed. If I have any free time in the upcoming week I will put more time into this. If anyone running r5a26 has option 10 in nuvexport working please let me know if you did anything specific to get it to work. I am going to start a r5a26 nuvexport thread tomorrow, maybe get more eyes looking at this stuff.

this mpeg2cut is v1.1 what do other people have??

Also when I ran nuvexport --debug when it made the system call was in this form:
mpeg2cut /source "output" length of source in frames then start of cut end of cut.

example below

mpeg2cut /myth/tv1045*** " /myth/newfile.mpg" 8850 -2461 4863-

since It brings me right back to the command line I figure my problem is in there somewhere.

So I ran the system call above when I hit enturn key I am left a line lower at

> "here"
I can still type but nothing reacts I not really sure why it puts me here. I not very suprised that nothing reacts. Not really strong at command line stuff. Anyway does this like a problem to anyone? Maybe the syntax the commercial file is being read?

Anyway again thanks to anyone that can help.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 09, 2005 6:37 pm 
Offline
Joined: Mon Nov 28, 2005 8:48 am
Posts: 18
I have solved my problem of allowing nuvexport to make proper mpeg2cuts. (Option 10)

not sure if my case is unqiue or others may have it. When initially ran nuvexport it would never seem to run avidemux2 at all. It would say now indexing but that went way to quickly to actually happen. To solve this problem I had to modify the mpeg2cut script that is located in /usr/local/bin
about the 27 line down the line that begins with "export" I needed to comment that out.

Now it looks like # export DISPLAY=:13.0

This then brought me to another issue. But avidemux2 atleast was running for me.

It indexed the files fine, but when it came to actually cutting the commericals it had issues. So I manually ran avidemux2 and saved the project then compared that file to the ones generated by mpeg2cut. The problem with the generated .cut file was that the last video segment was way to big so it was trying to cut outside the correct video frames. From this I had to figure out how to correct the problem.

After much time I finally fixed it, or I believe I have. The LastGOP is calculated and passed to the mpeg2cut script. I believe It is cacluated somewhere in nuvexport. There are many nuvexport files so I really do not know where to fix it there.

Basically The "LASTFRAME" of video was getting calulated wrong. The LastGOP was being passed into the scripts was actually the true value for the LASTFRAME.

In the past I believe LASTGOP was just the index value of what GOP frame it was because LASTFRAME was being calculated LASTFRAME=LASTGOP x GOPSPACE where GOPSPACE is either 15 for NTSC or I believe 12 for PAL. That is there is a GOP Frame ever 12 or 15 frames. so GOPSPACE x number of gopframes would yeild an accurate "LASTFRAME".

Also made this next change to mpeg2cut file as well.
SO to manually override this miscalculation I just changed it to
LASTFRAME= $LASTGOP
This is around the 110 line of code the line begins with "LASTFRAME=" already


Now when I run nuvexport with option 10 everything works. REally a simple solution but took long while to actually fix, but I did learn alot.

Now here is my unresolved problems. When I try nuvexport option 1 or nuvexport --mencoder, both seem to terminate saying either ffmpeg or mencoder has terminated early run in debug mode. Being as I can manually convert to xvid in avidemux2 I doubt it is a true problem with ffmpeg or mencoder.

I am thinking that the code that calculates the LASTGOP FRAME is somewhere in nuvexport and that this value is different then the expected value. It would be easy to change if I knew where the value was being calculated. All I would have to do is divide by 15 for NTSC or 12 for pal to return to it a value that would be expect. Obviously I would then need to change to mpeg2cut script back. Anyway if anyone can help it would be great.

Not a big deal since I should be able to write a script easy enough that takes the mpeg2cut video stream then just create a project file for avidemux2 to convert to desired video format. But would like to get things working as they should. It Would help everyone in the long run anyway.

Anyway hope this helps someone.

Just to remind everyone my setup in based on r5a26


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu