VLC (and Parole) quirks

April 29th, 2012 - 05:48 am ET by Jim Lesurf | Report spam
I have a number of home-recorded video DVDs of Prom concerts, etc, and I
want to make notes of the elapsed times when various items of music start.
In the past I've done that using a DVD player/recorder, but that is tedious
for various reasons. So I thought I'd use VLC on a box running Xubuntu.

This plays the DVDs OK (although I have to rip as iso images to a file to
avoid some 'skipping' when playing from DVD). It also shows an elapsed time
and the duration of the 'track' (title) being played.

However the snag is that although the total time is correct, the elapsed
time is often wrong.

For example, on one disc a given item of music starts at a time which my
DVD recorders/players show as 28min 36secs. But VLC shows this same point
as being at 28mins 59secs. i.e. Adrift by 23 seconds. So if I use VLC to
note the time the music 'starts' I then find that is more than 20 sec into
the actual music when I play the DVD on a conventional DVD player/recorder!

I've done a duckduckgo search but not found any info on how to fix this.
Can someone point me at the solution?

FWIW I'm *not* talking about a lip-synch offset. The vision and sound are
in synch OK. The problem is that the 'elapsed time' displayed by VLC is
simply inaccurate by many seconds. Yet it starts off at 00:00 and if I play
near the end of the item it gets to the end with the elapsed time showing
correctly.

Although I've not yet let it play the entire file to see if the drift then
accumulates, this doesn't seem to be a cumulative error as the value I get
above doesn't depend on if I drag the time-slider to some point or another.
So puzzling all around!

As a cross-check I also tried using Parole (which installed with Xubuntu).
This *does* show an elapsed time that matches the DVD players/recorders, so
give the 'correct' value. *But* Parole is a PITA because I can't find any
way to tell it to send the audio to ALSA. So using that I have to judge on
movement, not audio!

And, yes, I've wasted time trying to get pulse audio to let the output go
to 'alsa' with the 'card' being my external USB DAC. No joy. But if anyone
know how I can force Parole to send audio direct to alsa and bypass the
awful pulse audio, please let me know. Again, a search I did failed to give
me any leads on that.

Slainte,

Jim

Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstron...trong.html
Audio Misc http://www.audiomisc.co.uk/index.html
email Follow the discussionReplies 38 repliesReplies Make a reply

Similar topics

Replies

#1 Davey
April 30th, 2012 - 06:13 am ET | Report spam
On Sun, 29 Apr 2012 10:48:36 +0100
Jim Lesurf wrote:

I have a number of home-recorded video DVDs of Prom concerts, etc,
and I want to make notes of the elapsed times when various items of
music start. In the past I've done that using a DVD player/recorder,
but that is tedious for various reasons. So I thought I'd use VLC on
a box running Xubuntu.

This plays the DVDs OK (although I have to rip as iso images to a
file to avoid some 'skipping' when playing from DVD). It also shows
an elapsed time and the duration of the 'track' (title) being played.

However the snag is that although the total time is correct, the
elapsed time is often wrong.

For example, on one disc a given item of music starts at a time which
my DVD recorders/players show as 28min 36secs. But VLC shows this
same point as being at 28mins 59secs. i.e. Adrift by 23 seconds. So
if I use VLC to note the time the music 'starts' I then find that is
more than 20 sec into the actual music when I play the DVD on a
conventional DVD player/recorder!

I've done a duckduckgo search but not found any info on how to fix
this. Can someone point me at the solution?

FWIW I'm *not* talking about a lip-synch offset. The vision and sound
are in synch OK. The problem is that the 'elapsed time' displayed by
VLC is simply inaccurate by many seconds. Yet it starts off at 00:00
and if I play near the end of the item it gets to the end with the
elapsed time showing correctly.

Although I've not yet let it play the entire file to see if the drift
then accumulates, this doesn't seem to be a cumulative error as the
value I get above doesn't depend on if I drag the time-slider to some
point or another. So puzzling all around!

As a cross-check I also tried using Parole (which installed with
Xubuntu). This *does* show an elapsed time that matches the DVD
players/recorders, so give the 'correct' value. *But* Parole is a
PITA because I can't find any way to tell it to send the audio to
ALSA. So using that I have to judge on movement, not audio!

And, yes, I've wasted time trying to get pulse audio to let the
output go to 'alsa' with the 'card' being my external USB DAC. No
joy. But if anyone know how I can force Parole to send audio direct
to alsa and bypass the awful pulse audio, please let me know. Again,
a search I did failed to give me any leads on that.

Slainte,

Jim




Funnily enough, I tried yesterday to use vlc to play some of my DVDs
made using a DVD-writing DVD/VCR player/recorder, and vlc on my Ubuntu
10.04 PC doesn't even see them. GNOME-Player does, but I am interested
in finding out what I have to do to vlc to make it accept the DVD-Video
format (MPEG-2?) that the DVDs are supposed to be in.
Maybe somebody can help us both.
Davey.
Replies Reply to this message
#2 Jim Lesurf
April 30th, 2012 - 09:44 am ET | Report spam
In article <jnlojo$u00$, Davey
wrote:


Funnily enough, I tried yesterday to use vlc to play some of my DVDs
made using a DVD-writing DVD/VCR player/recorder, and vlc on my Ubuntu
10.04 PC doesn't even see them. GNOME-Player does, but I am interested
in finding out what I have to do to vlc to make it accept the DVD-Video
format (MPEG-2?) that the DVDs are supposed to be in. Maybe somebody can
help us both.



FWIW with VLC to play DVDs recorded on my home recorder I can either:

A) Use the VLC menus to open/run the DVD in the drive. Look for
something like 'open disc' or try <ctrl>D.

B) Drag and drop an iso image of it from the filer. (I use ROX filer.) For
that I'd have first made the iso using 'cat /dev/dvd >> filename.iso'.

They load and display the root menu of the disc, then navigate as does a
video DVD player. Making the iso takes time but reduces any tendency to
skip/jitter during playing.

Maybe your VLC isn't looking in the correct place to find the dvd in
/dev/dvd (or equivalent?). I'm using Xubuntu 11.10.

I've not found any fix for the problems I reported. I've wasted some hours
using things like gconf-editor, gstreamer-properties, and hand editing the
config files, etc. All kinds of different 'solutions' given on the web. So
that to all appearances gstreamer and pulse are being told to send output
to the default alsa device. (I've also tried explicitly specifying which
device by alsa values, name, etc.)

As in the past that has zero success. Parole still sends its output to what
'it' thinks is the requlred audio sink - the headphone socket on the front
of the box.

So for working on video timings I've just given in. I plug a small variable
attenuation and headphones into the front socket and listen that way.

Throughout all that, VLC and Audacious happily go on sending direct to alsa
and play out though the USB DAC that I *want* to use.

Alsa 2 : Gstreamer/Pulse Nil. I got alsa working in a few mins. Days/hours
of effort fail to get pulse to do as I want. Much like my previous
experiences with pulse fouling things up.

Slainte,

Jim

Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstron...trong.html
Audio Misc http://www.audiomisc.co.uk/index.html
Replies Reply to this message
#3 Davey
April 30th, 2012 - 12:37 pm ET | Report spam
On Mon, 30 Apr 2012 14:44:11 +0100
Jim Lesurf wrote:

In article <jnlojo$u00$, Davey
wrote:


> Funnily enough, I tried yesterday to use vlc to play some of my DVDs
> made using a DVD-writing DVD/VCR player/recorder, and vlc on my
> Ubuntu 10.04 PC doesn't even see them. GNOME-Player does, but I am
> interested in finding out what I have to do to vlc to make it
> accept the DVD-Video format (MPEG-2?) that the DVDs are supposed to
> be in. Maybe somebody can help us both.

FWIW with VLC to play DVDs recorded on my home recorder I can either:

A) Use the VLC menus to open/run the DVD in the drive. Look for
something like 'open disc' or try <ctrl>D.

B) Drag and drop an iso image of it from the filer. (I use ROX
filer.) For that I'd have first made the iso using 'cat /dev/dvd >>
filename.iso'.

They load and display the root menu of the disc, then navigate as
does a video DVD player. Making the iso takes time but reduces any
tendency to skip/jitter during playing.

Maybe your VLC isn't looking in the correct place to find the dvd in
/dev/dvd (or equivalent?). I'm using Xubuntu 11.10.

I've not found any fix for the problems I reported. I've wasted some
hours using things like gconf-editor, gstreamer-properties, and hand
editing the config files, etc. All kinds of different 'solutions'
given on the web. So that to all appearances gstreamer and pulse are
being told to send output to the default alsa device. (I've also
tried explicitly specifying which device by alsa values, name, etc.)

As in the past that has zero success. Parole still sends its output
to what 'it' thinks is the requlred audio sink - the headphone socket
on the front of the box.

So for working on video timings I've just given in. I plug a small
variable attenuation and headphones into the front socket and listen
that way.

Throughout all that, VLC and Audacious happily go on sending direct
to alsa and play out though the USB DAC that I *want* to use.

Alsa 2 : Gstreamer/Pulse Nil. I got alsa working in a few mins.
Days/hours of effort fail to get pulse to do as I want. Much like my
previous experiences with pulse fouling things up.

Slainte,

Jim




Thanks for the thoughts, and sorry about your problems.
For mine, vlc sees a commercial DVD as soon as it's inserted, and
Nautilus displays its title. vlc just reports that there's nothing
there. Windows7 said that there was an empty disc there.
Most puzzling.
Davey.
Replies Reply to this message
#4 Jim Lesurf
May 01st, 2012 - 04:22 am ET | Report spam
In article <jnmf59$4cd$, Davey
wrote:

Thanks for the thoughts, and sorry about your problems. For mine, vlc
sees a commercial DVD as soon as it's inserted, and Nautilus displays
its title. vlc just reports that there's nothing there. Windows7 said
that there was an empty disc there. Most puzzling.



Ah. It occurs to me that you are talking about commercial discs, whereas
I'm using only home-recorded ones. Maybe your problem is related to CSS
blocking being able to access the disc contents. Home recorded discs aren't
(in my experience) encrypted.[1]

When I ask VLC to load one of my home recorded discs it responds by giving
the onscreen 'root' menu from the disc. I'd guess that would not be
possible for an encrypted commercial disc unless you have deCSS software.

FWIW I don't have deCSS and I don't need it for what I'm doing. I also
assume it is now regarded as illegal in the UK, but maybe I'm wrong about
that.

Slainte,

Jim

[1] Although I've noticed that Panasonic recorders try to set their
contents to having 'no user'. Possibly in an attempt to block access.
Dunno.

Please use the address on the audiomisc page if you wish to email me.
Electronics http://www.st-and.ac.uk/~www_pa/Scots_Guide/intro/electron.htm
Armstrong Audio http://www.audiomisc.co.uk/Armstron...trong.html
Audio Misc http://www.audiomisc.co.uk/index.html
Replies Reply to this message
#5 Andy Furniss
May 01st, 2012 - 10:20 am ET | Report spam
Jim Lesurf wrote:
Home recorded discs aren't
(in my experience) encrypted.[1]



AIUI that will change in the future - I believe that anything wanting to
use the FreeviewHD logo is required to encrypt to limit playback to the
recording device.

My HD Panasonic TV states that recordings will only work on the TV that
recorded. I don't have a disk attached, so haven't tested personally.

Re. the bit in your first post about VLC stuttering playing disks direct.

There's probably a cache setting somewhere that may help - I only really
use mplayer and always need to use cache when playing from optical disks.
Replies Reply to this message
Help Create a new topicNext page Replies Make a reply
Search Make your own search