View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 130 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Fri Jul 29, 2005 5:13 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
I'd be interested to know if anyone else has used commercial_cut with an NTSC PVR and had the same problem.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 7:29 pm 
Offline
Joined: Thu Feb 24, 2005 4:54 pm
Posts: 21
Location: Miami, FL
Yep. Changing to 15 solved the problem for me.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 29, 2005 8:28 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
It would be great if two people with a PVR card (one in PAL land and another in NTSC land) could post the output of the following command for one of their files:
tcprobe -i /myth/tv/a_file.nuv
This may be the way to automatically determine whether it is 15 or 12 frames per marker in the recordedmarkup table.
For what its worth, the output I get for one of my recordings (PAL DVB) is:

Code:
[tcprobe] MPEG packetized elementary stream (PES)
[tcprobe] summary for /myth/tv/1000_20050523231000_20050523231000.nuv, (*) = not
default, 0 = not detected
import frame size: -g 720x576 [720x576]
     aspect ratio: 16:9 (*)
       frame rate: -f 25.000 [25.000] frc=3
                   PTS=14702.0901, frame_time=40 ms, bitrate=15000 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x2000 [0x2000]
                   PTS=14702.4363, bitrate=448 kbps
                   -D -8 --av_fine_ms -26 (frames & ms) [0] [0]


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 7:14 am 
Offline
Joined: Thu Feb 24, 2005 4:54 pm
Posts: 21
Location: Miami, FL
Here is my output from a NTSC PVR.
Code:
[tcprobe] MPEG program stream (PS)
[tcprobe] summary for /myth/tv/1068_20050729190000_20050729200000.nuv, (*) = not default, 0 = not detected
import frame size: -g 640x480 [720x576] (*)
     aspect ratio: 4:3 (*)
       frame rate: -f 29.970 [25.000] frc=4 (*)
                   PTS=0.4004, frame_time=33 ms, bitrate=6000 kbps
      audio track: -a 0 [0] -e 48000,16,2 [48000,16,2] -n 0x50 [0x2000] (*)
                   PTS=0.3338, bitrate=384 kbps
                   -D 1 --av_fine_ms 33 (frames & ms) [0] [0]


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 9:19 am 
Offline
Joined: Sun May 15, 2005 8:47 am
Posts: 54
tcprobe doesn't understand mpeg2-ts, so no output from HD recordings.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jul 30, 2005 5:14 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Doh. How about the output of "mplayer -identify file.nuv". Mine (PAL DVB) gives:
Code:
MPlayer 1.0pre6-3.3.5 (C) 2000-2004 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP Palomino (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.


Setting up LIRC support...
mplayer: could not open config files /root/.lircrc and /etc/lircrc
mplayer: No such file or directory
Failed to read LIRC config file ~/.lircrc.
You will not be able to use your remote control.
Playing ./1000_20050523231000_20050523231000.nuv.
ID_VIDEO_ID=0
ID_AUDIO_ID=128
ID_AUDIO_ID=0
MPEG-PES file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25.000 fps  15000.0 kbps (1875.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 56000->192000 (448.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
ID_FILENAME=./1000_20050523231000_20050523231000.nuv
ID_VIDEO_FORMAT=0x10000002
ID_VIDEO_BITRATE=15000000
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=1.7778
ID_AUDIO_CODEC=a52
ID_AUDIO_FORMAT=8192
ID_AUDIO_BITRATE=448000
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_LENGTH=2
vo: couldn't open the X11 display ()!
Error opening/initializing the selected video_out (-vo) device.


Exiting... (End of file)


Top
 Profile  
 
PostPosted: Thu Aug 04, 2005 2:56 pm 
Offline
Joined: Thu Aug 04, 2005 2:32 pm
Posts: 12
I am looking for help compiling
commercial_cut.

The make command ends immediately
with the following:

========================
[mythtv@kasson commercial_cut-0.5]$ make
cc -std=gnu99 -o commercial_cut \
-lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto \
-D_FILE_OFFSET_BITS=64 commercial_cut.c
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [commercial_cut] Error 1
========================

The system is AMD64, running
Fedora Core 3. MythTV was
compiled from CVS.

All the lib's listed above seem to
be present, so I am lost, wondering
what the problem is.

Thanks for any help in getting
commercial_cut to compile.

--
MM


Top
 Profile  
 
PostPosted: Thu Aug 04, 2005 3:37 pm 
Offline
Joined: Sun May 15, 2005 8:47 am
Posts: 54
Run ldconfig -vv and grep for mysqlclient. If you dont see it, then its not present in your default LD path.

mercury.morris wrote:
I am looking for help compiling
commercial_cut.

The make command ends immediately
with the following:

========================
[mythtv@kasson commercial_cut-0.5]$ make
cc -std=gnu99 -o commercial_cut \
-lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto \
-D_FILE_OFFSET_BITS=64 commercial_cut.c
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [commercial_cut] Error 1
========================

The system is AMD64, running
Fedora Core 3. MythTV was
compiled from CVS.

All the lib's listed above seem to
be present, so I am lost, wondering
what the problem is.

Thanks for any help in getting
commercial_cut to compile.

--
MM


Top
 Profile  
 
PostPosted: Fri Aug 05, 2005 8:29 am 
Offline
Joined: Thu Aug 04, 2005 2:32 pm
Posts: 12
mwahal wrote:
Run ldconfig -vv and grep for mysqlclient. If you dont see it, then its not present in your default LD path.

mercury.morris wrote:
I am looking for help compiling
commercial_cut.

The make command ends immediately
with the following:

========================
[mythtv@kasson commercial_cut-0.5]$ make
cc -std=gnu99 -o commercial_cut \
-lmysqlclient -lz -lcrypt -lnsl -lm -lssl -lcrypto \
-D_FILE_OFFSET_BITS=64 commercial_cut.c
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [commercial_cut] Error 1
========================

The system is AMD64, running
Fedora Core 3. MythTV was
compiled from CVS.

All the lib's listed above seem to
be present, so I am lost, wondering
what the problem is.

Thanks for any help in getting
commercial_cut to compile.

--
MM


Thank you very much for your reply.

I issued the command, shown below,
but I'm not clear on what it means.
Does it show that mysqlclient is in
the default LD path ?

Another thought: Maybe only root
can compile the program, since the
command, "ldconfig" is not seen by
the user "mythtv". I tried as root,
to compile the program - same results.

=============================
[root@kasson ~]# ldconfig -vv | grep mysqlclient
ldconfig: Path `/usr/X11R6/lib' given more than once
ldconfig: Path `/usr/X11R6/lib64' given more than once
ldconfig: Can't stat /usr/lib/mysql: No such file or directory
ldconfig: Cannot stat /lib/libnss_winbind.so: No such file or directory
ldconfig: Cannot stat /lib/libnss_wins.so: No such file or directory
libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
libmysqlclient.so.10 -> libmysqlclient.so.10.0.0
[root@kasson ~]#
=============================

Here's the file, /etc/ld.so.conf
=============================
[root@kasson ~]# cat /etc/ld.so.conf
include ld.so.conf.d/*.conf
/usr/X11R6/lib
/usr/X11R6/lib64
/usr/lib/mysql
/usr/lib64/mysql
/usr/local/lib
[root@kasson ~]#
=============================

If you can see anything in the command
output or the contents of the file above
that might help in getting the program
compiled, I'd appreciate the help.

Thanks again for your reply.

--
MM


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 10:20 am 
Offline
Joined: Sun May 15, 2005 8:47 am
Posts: 54
Hmm.. I think it may be some lib64 related issues.

ldconfig shows which shared libraries are available, the config is done via /etc/ld.so.conf file.

Here is what I see in my ldconfig -v output for mysql

/usr/lib:
................
libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0
libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
libmysqlclient.so.12 -> libmysqlclient.so.12.0.0
libmysqlclient.so.10 -> libmysqlclient.so.10.0.0


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 1:07 pm 
Offline
Joined: Thu Aug 04, 2005 2:32 pm
Posts: 12
mwahal wrote:
Hmm.. I think it may be some lib64 related issues.

ldconfig shows which shared libraries are available, the config is done via /etc/ld.so.conf file.

Here is what I see in my ldconfig -v output for mysql

/usr/lib:
................
libmysqlclient_r.so.12 -> libmysqlclient_r.so.12.0.0
libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0
libmysqlclient.so.12 -> libmysqlclient.so.12.0.0
libmysqlclient.so.10 -> libmysqlclient.so.10.0.0


Well, thanks again for continuing to look into
this problem. I finally broke down and tried
the same task (compile commercial_cut) on
my other MythTV system. It's an i386-based
machine, FC3. I hesitated to disturb the i386
machine because I depend on it now for daily
recording.

Unfortunately, I got the same results on the
i386 machine. SO, I Googled for the specific
error: "/usr/bin/ld: cannot find". Then I looked
through the results for "-lmysqlclient".

So far, the best information I have found is that
mysql-4 doesn't have the problem, but it's likely
that mysql-3 DOES. But, I can't be sure that
that is accurate information, since the software
involved was PHP, not commercial_cut.

I have one system left to try to compile
commercial_cut on. But it's not a MythTV
machine, and I would have to install a lot
of other software before getting to the compile
task.

For now, I'll have to assume that Knoppmyth
systems are configured in such a way that
commercial_cut will compile, and that
Fedora Core systems are not.

Thanks again for looking into this. I had
hoped for different results, because now I
face the alternative of trying to install
avidemux. Avidemux looks like it will
present a whole lot more problems than
just a simple "cannot find ...".


--
MM


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 1:11 pm 
Offline
Joined: Sun May 15, 2005 8:47 am
Posts: 54
I dont think it has anything to do with FC vs knoppix setup.
I've an old RH 7.2 system (with some upgrades such as newer kernel/php/mysql/perl) running mysql 4.1.1 version. I can compile commercial_cut on it.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Aug 05, 2005 3:27 pm 
Offline
Joined: Thu Aug 04, 2005 2:32 pm
Posts: 12
mwahal wrote:
I dont think it has anything to do with FC vs knoppix setup.
I've an old RH 7.2 system (with some upgrades such as newer kernel/php/mysql/perl) running mysql 4.1.1 version. I can compile commercial_cut on it.


Oh, OK. That's good news, I think. That could
mean that there's hope for Fedora Core being
able to compile (and run) commercial_cut !

The hard part (for me) will be to try to get
mysql-4 installed. I say hard because it's
unknown whether installing mysql-4 will
make MythTV stop working. If MythTV
no longer works with mysql-4 installed,
well, uh, that kind of makes commercial_cut
unnecessary.

Thanks for the information about your RH 7.2
system with mysql 4.1.1. I'll now have to look
into how to get mysql-4 and how it might be
installed on the AMD64 MythTV system.

--
MM


Top
 Profile  
 
PostPosted: Fri Aug 05, 2005 5:47 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
Dude, I think you are making this far more complicated than it needs to be. The error you quoted simply means that the linker couldn't find the file libmysqlclient.so
mercury.morris wrote:
/usr/bin/ld: cannot find -lmysqlclient

Look for where the libmysqlclient.so.10 file is and make sure there is a symbolic link libmysqlclient.so pointing to it. If it still doesnt work, add -L /usr/lib to the compiler flags (but replace /usr/lib with the directory that contains libmysqlclient.so).

You shouldn't need to install anything extra to get commercial_cut to compile.


Top
 Profile  
 
PostPosted: Sat Aug 06, 2005 9:11 am 
Offline
Joined: Thu Aug 04, 2005 2:32 pm
Posts: 12
Greg Frost wrote:
Dude, I think you are making this far more complicated than it needs to be. The error you quoted simply means that the linker couldn't find the file libmysqlclient.so
mercury.morris wrote:
/usr/bin/ld: cannot find -lmysqlclient

Look for where the libmysqlclient.so.10 file is and make sure there is a symbolic link libmysqlclient.so pointing to it. If it still doesnt work, add -L /usr/lib to the compiler flags (but replace /usr/lib with the directory that contains libmysqlclient.so).

You shouldn't need to install anything extra to get commercial_cut to compile.


Well, this is very welcome info - Thanks a lot!

I'll try these steps, one at a time, and post the
results.

-- MM


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 130 posts ] 
Go to page Previous  1, 2, 3, 4, 5, 6, 7 ... 9  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu