Re: [LAU] Making videos with jack and a webcam or something else, band recording.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: linux-audio-user <linux-audio-user@...>
Date: Sunday, May 9, 2010 - 6:05 pm

--001636b2ac6d86bc4704862d23a9
Content-Type: text/plain; charset=UTF-8

[[resending to list as it bounced the first time due to >30K length]]

Loki Davison :

> digital camera then try and sync the audio afterwards or what? What

One simple possibility: use whatever you'd use to record and transfer video
into mp4/etc and then use xjadeo/qjadeo for playback sync'd with an external
sequencer/daw. (I use the one from PlanetCCRMA:
http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12...

http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccrma/12...
)

Installed Packages

Name : xjadeo

Arch : x86_64

Version : 0.4.7

Release : 1.svn200.fc12.ccrma

Size : 356 k

Repo : installed

>From repo : /xjadeo-0.4.7-1.svn200.fc12.ccrma.x86_64

Summary : Very simple video player that gets sync from Jack

URL : http://sourceforge.net/projects/xjadeo

License : GPL

Description: Xjadeo is a very simple video player that gets sync from jack.

: a sequencer like Muse or Rosegarden acts as a timebase master,

: xjadeo will display the video frame in sync with the sequencer

: transport. This means that you can visually synchronize an

: event with a certain frame in the movie, which comes quite

: when you want to create a soundtrack for a video clip.

> > rpm -ql xjadeo

/usr/bin/qjadeo

/usr/bin/xjadeo

/usr/bin/xjinfo

/usr/bin/xjremote

/usr/share/doc/xjadeo-0.4.7

/usr/share/doc/xjadeo-0.4.7/AUTHORS

/usr/share/doc/xjadeo-0.4.7/COPYING

/usr/share/doc/xjadeo-0.4.7/ChangeLog

/usr/share/doc/xjadeo-0.4.7/NEWS

/usr/share/doc/xjadeo-0.4.7/README

/usr/share/doc/xjadeo-0.4.7/TODO

/usr/share/man/man1/qjadeo.1.gz

/usr/share/man/man1/xjadeo.1.gz

/usr/share/man/man1/xjinfo.1.gz

/usr/share/man/man1/xjremote.1.gz

/usr/share/qjadeo/locale/qjadeo_fr.qm

One potential issue w/ xjadeo is that it appears to puke on some HD content
that ffmpeg-based playback has no problem with. For example when I record
off digital cable, it fails to recognize or read the files, even though
ffmpeg says they're "ok" (modulo "Seems stream 0 codec frame rate differs
from container frame rate: 59.94 (60000/1001) -> 29.97 (30000/1001)" and
"Seems stream 2 codec frame rate differs from container frame rate: inf
(1/0) -> -nan (0/0)" :-) ).... Transcoding "off the air" files recorded in,
e.g. mythtv, fixes the issue:

> xjinfo Videos/India_Music_Voyager_PBS.mpg

Videos/India_Music_Voyager_PBS.mpg: Error while opening file

> ffmpeg -i Videos/India_Music_Voyager_PBS.mpg

FFmpeg version SVN-r20372, Copyright (c) 2000-2009 Fabrice Bellard, et al.

built on Nov 7 2009 10:57:27 with gcc 4.4.2 20091027 (Red Hat 4.4.2-7)

...

Seems stream 0 codec frame rate differs from container frame rate: 59.94

Seems stream 2 codec frame rate differs from container frame rate: inf (1/0)

Input #0, mpegts, from 'Videos/India_Music_Voyager_PBS.mpg':

Duration: 00:27:50.47, start: 34145.227389, bitrate: 3363 kb/s

Program 1

Stream #0.0[0x940]: Video: mpeg2video, yuv420p, 544x480 [PAR 20:17 DAR

Stream #0.1[0x941](eng): Audio: ac3, 48000 Hz, stereo, s16, 192 kb/s

Stream #0.2[0x9c0]: Video: mpeg2video, 90k tbn

Stream #0.3[0x9c1](spa): Audio: ac3, 0 channels, s16

It happily decodes just about everything else, and its 'xjinfo' utility
gives me some useful XML to boot:

Niels
http://nielsmayer.com

PS: speaking of extracting structured information from videos && before i
have to cobble together my own: does anybody know of a lib that extracts
captions and caption-timing information from videos and outputs some nice
structured output (e.g. timedtext, SMIL)?? And also the same API should
transparently allow access to YouTube's Google-voice-based automatic caption
extractor (
http://www.digitaltrends.com/computing/software-computing/youtube-opens-...
...
http://code.google.com/apis/youtube/2.0/developers_guide_protocol_captio...
)
Even if it's imprecise/hilarious, it's also a giant onset-detection corpora
for a good portion of the internet's video. :-)

--001636b2ac6d86bc4704862d23a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

[[resending to list as it bounced the first time due to >30K length=
]]Loki Davison <loki.davi=
son@gmail.com
>:

digital=C2=A0camera then try and sync the audio afterwards or what? What vi=
deo=C2=A0recording apps work with jack?One=
simple possibility: use whatever you'd use to record and transfer vide=
o into mp4/etc and then use=C2=A0xjadeo/qjadeo for playback sync'd with=
an external sequencer/daw. (I use the one from PlanetCCRMA:=C2=A0http://ccrma.stanford.edu/planetccrma/mirror/fedora/linux/planetccr=
ma/12/i386/repoview/xjadeo.html
=C2=A0
http://ccrma.stanford.edu/planetccrma/mirror/fedora/l=
inux/planetccrma/12/x86_64/repoview/xjadeo.html
=C2=A0)

Installed Packages
Name =C2=A0 =C2=A0 =C2=A0 : xjadeo
Arch =C2=A0 =C2=A0 =C2=A0 : x86_64
Version =C2=A0 =C2=A0: 0.4.7
Release =C2=A0 =C2=A0: 1.svn200.fc12.ccrma
Size =C2=A0 =C2=A0 =C2=A0 : 356 k
Repo =C2=A0 =C2=A0 =C2=A0 : installed

Summary =C2=A0 =C2=A0: Very simple video player that gets sync from Jack
URL =C2=A0 =C2=A0 =C2=A0 =C2=A0:=C2=A0http://=
sourceforge.net/projects/xjadeo

License =C2=A0 =C2=A0: GPL
Description: Xjadeo is a very simple video player that gets sync from jack.=
When
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : a sequencer like Muse or Rosegar=
den acts as a timebase master,
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : xjadeo will display the video fr=
ame in sync with the sequencer
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : transport. This means that you c=
an visually synchronize an audio
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : event with a certain frame in th=
e movie, which comes quite handy
=C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 : when you want to create a soundt=
rack for a video clip.

> rpm -ql xjadeo
/usr/bin/qjadeo
/usr/bin/xjadeo
/usr/bin/xjinfo
/usr/bin/xjremote
/usr/share/doc/xjadeo-0.4.7
/usr/share/doc/xjadeo-0.4.7/AUTHORS
/usr/share/doc/xjadeo-0.4.7/COPYING
/usr/share/doc/xjadeo-0.4.7/ChangeLog
/usr/share/doc/xjadeo-0.4.7/NEWS
/usr/share/doc/xjadeo-0.4.7/README
/usr/share/doc/xjadeo-0.4.7/TODO
/usr/share/man/man1/qjadeo.1.gz
/usr/share/man/man1/xjadeo.1.gz
/usr/share/man/man1/xjinfo.1.gz
/usr/share/man/man1/xjremote.1.gz
/usr/share/qjadeo/locale/qjadeo_fr.qmOne p=
otential issue w/ xjadeo is that it appears to puke on some HD content that=
ffmpeg-based playback has no problem with.=C2=A0For example when I record =
off digital cable, it fails to recognize or read the files, even though ffm=
peg says they're "ok" (modulo "Seems stream 0 codec fram=
e rate differs from container frame rate: 59.94 (60000/1001) -> 29.97 (3=
0000/1001)" and "Seems stream 2 codec frame rate differs from con=
tainer frame rate: inf (1/0) -> -nan (0/0)" :-)=C2=A0).... Transcod=
ing "off the air" files recorded in, e.g. mythtv, fixes the issue=
:

> xjinfo=C2=A0Videos/India_Music_Vo=
yager_PBS.mpg

Videos/India_Music_Voyager_PBS.mpg: Er=
ror while opening file

> ffmpeg -i=C2=A0Videos/India_Music=
_Voyager_PBS.mpg

FFmpeg version SVN-r20372, Copyright (c) 2000-2009 Fabrice Bellard, et al.<=
/blockquote>
=C2=A0=C2=A0built on Nov =C2=A07 2009 10:57:27 with gcc 4.4.2 20091027 (Red=
Hat 4.4.2-7)
=C2=A0=C2=A0...
Seems stream 0 codec frame rate differs from container frame rate: 59.94 (6=
0000/1001) -> 29.97 (30000/1001)
Seems stream 2 codec frame rate differs from container frame rate: inf (1/0=
) -> -nan (0/0)
Input #0, mpegts, from 'Videos/Ind=
ia_Music_Voyager_PBS.mpg':

=C2=A0=C2=A0Duration: 00:27:50.47, start: 34145.227389, bitrate: 3363 kb/s<=
/blockquote>
=C2=A0=C2=A0Program 1=C2=A0
=C2=A0=C2=A0 =C2=A0Stream #0.0[0x940]: Video: mpeg2video, yuv420p, 544x480 =
[PAR 20:17 DAR 4:3], 15000 kb/s, 29.97 tbr, 90k tbn, 59.94 tbc=

=C2=A0=C2=A0 =C2=A0Stream #0.1[0x941](eng): Audio: ac3, 48000 Hz, stereo, s=
16, 192 kb/s
=C2=A0=C2=A0 =C2=A0Stream #0.2[0x9c0]: Video: mpeg2video, 90k tbn
=C2=A0=C2=A0 =C2=A0Stream #0.3[0x9c1](spa): Audio: ac3, 0 channels, s16It happily decodes just about everything=
else, and its 'xjinfo' utility gives me some useful XML to boot:
=C2=A0Nielshttp://nielsmayer.com=
PS: speaking of extracting structured information=
from=C2=A0videos=C2=A0&& befo=
re i have to cobble together my own: does anybody know of a lib that extrac=
ts captions and caption-timing information from=C2=A0videos=C2=A0and outputs some nice structured output (e.g. ti=
medtext, SMIL)?? And also the same API should transparently allow access to=
YouTube's Google-voice-based automatic caption extractor (=C2=A0http://www.digitaltrends.com/computing/software-computing/y=
outube-opens-automatic-captioning-to-everyone/
=C2=A0...=C2=A0http://code.go=
ogle.com/apis/youtube/2.0/developers_guide_protocol_captions.html
=C2=A0=
) Even if it's imprecise/hilarious, it's also a giant onset-detecti=
on corpora for a good portion of the internet's video. :-)

--001636b2ac6d86bc4704862d23a9--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [LAU] Making videos with jack and a webcam or something ..., Niels Mayer, (Sun May 9, 6:05 pm)