ating MPEG2 video out of analog streams. ffmpeg can
do that too, but mpeg2enc is MUCH better at it.
Steven Boswell
From: JD
To: mjpeg-users@lists.sourceforge.net
Sent: Friday, September 28, 2012 6:47 PM
Subject: [Mjpeg-users] encoding mp4 to mpeg2 DVD f
o big deal.
I tried very hard to document the bejeezus out of my code, including an
HTML-based implementation document, so hopefully it's not too hard for you to
figure out how to do what you want.
Steven Boswell
From: E Chalaron
To: Steven Boswell II ; M
pment happens during
periods of unemployment, thus I haven't had time to try this method yet.
Steven Boswell
From: Mark Heath
To: MJPEG-tools user list
Sent: Thursday, September 22, 2011 5:23 PM
Subject: Re: [Mjpeg-users] writing multi threaded code
Tha
, you probably don't want to literally assign a thread to each individual
line -- the system-call overhead of the semaphores would more than outweigh
your processing time. Mutexes are by no means free.
Hope that helps.
Steven Boswell
From: Mark Heath
To: M
orrect -T BOTT_FORWARD -T
INTERLACED_BOTTOM_FIRST" commands, repeatedly, into a video-processing
pipeline. If this bug existed, I figured this would make the chroma noticeably
out of sync with the intensity. It looked perfect to me. So at least we can
say this bug has b
he video 1/2 frame.
Thanks for the tip! I'll try it on the next telecined video I convert!
I don't suppose there's a way to shift a DV file by one line without a
decode/encode like in the script I attached at the beginn
deo.
The reverse-telecined videos I make with yuvkineco TOP_FORWARD
look great to me...and I thought I was nitpicky about these
things. :-) Have I been living a lie? What
use it for actual video
generation.
If there was a direct way of doing top-forward on a DV file, I could save a lot
of space and time. Does anyone know of a way?
Steven Boswell
6
SDL-devel-1.2.13-3.fc9.i386
Dunno if any of them are significant.
Steven Boswell
--- On Thu, 6/4/09, Hervé wrote:
Le 4 juin 09 à 21:26, Steven Boswell II a écrit :
> For those of you keeping up with latest
> CVS, check it out!
could give some tips?
I downloaded cvs, I made
cd …
.
and it's faster than it's ever been. For
those of you keeping up with latest CVS, check it out!
Steven Boswell
--- On Thu, 6/4/09, Christian Ebert wrote:
From: Christian Ebert
Subject: [Mjpeg-users] build failure on MacOS 10.5.7
To: mjpeg-users@lists.sourceforge.net
Date: Thursda
Granted, mplex shouldn't crash on this, but you do realize that you're
multiplexing two sound files together without any video file, right? Shouldn't
one of them be a video file?
--- On Fri, 5/15/09, Martin Leicht wrote:
$ mplex -f 8 maus.mp2 maus.mp2 -o film.mpg
-
helps, here's the .spec file I wrote a long time ago so that I could
build the CVS version.
Steven Boswell
smilutils.spec
Description: Binary data
--
Register Now & Save for Velocity, the Web Performa
zation
floor is set really high for MPEG-1 video or
something. The non-dark scenes all look really
good.
What about using an edge-detection algorithm to
find the boundaries of large areas, then testing
if the large area is low-intensity before setting
it all to black? I haven't looked into
e
#x27;ve got one video in my collection
that has a LOT of action in the almost-black
areas, and I'm keen to fix the problem.
What's the general idea -- if the luminance is
less than a certain value, clamp the color to
white?
Steven Boswell
ulatekh at yahoo dot com
___
Sure...as soon as we know how to do it :-)
>>I'm not quite sure though what is meant by
>"numerical conditioning".
>
>Any processing that has no visible effect, only
>numerical.
y4mdenoise run at very low tolerances ("-z 1 -t 1"
or "-z 1 -t 2&q
, so that mpeg2enc's motion-detection will
succeed.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/
-
>As a last step before the encoder perhaps
>'y4mdenoise -t 1' would be a good choice.
Actually, "y4mdenoise -z 1 -t 1"...the default value
of -z is 2, and "y4mdenoise -z 2 -t 1" will probably
generate nasty results.
Ste
ded treatment.
>Is there any way to denoise the chroma channel,
>and have the denoise strength depend on the luma
>channel?
I'm not sure what you mean here. Could you expand
upon it please? Maybe an example?
Steven Boswell
ulatekh at yahoo dot com
__
ntation and so on. I'm sick of slogging
through non-documented code, and if they're all
like that, I'll probably write my own from
scratch.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Small Business - Try our
efer something that allows the information to be
edited and browsed graphically. I'd rather turn
it into a GUI product, rather than spend lots of
time making the text-file parser deal with syntax
and semantic errors better. (Which is why I
never released the code.)
Steven Boswell
ulatekh
ow it goes!
I've been obsessing over video quality for about 2
1/2 years now, so any sort of description you can
give of the remaining artifacts in your video may
trigger something in my experience. So feel free
to share.
BTW, it's occurring to me that you're scanning in
your 8mm/
udio/video
is 10080 kbps. (These are salesman kbps...1 kbps
is 1000 bits here, not 1024 bits.) My experience
shows that 9481 kbps video with 384 kbps audio
fits nicely into DVD players. Don't be afraid to
try a high bitrate like that!
>It mostly happens on dark ~ish scenes....
AC
> not LINE_SWITCH.
Won't that throw off yuvkineco? None of the "frames"
it sees will be actual complete film frames, and
there's no yuvkineco command for "top field replaced
by previous one and output".
Steven Boswell
ulatekh at yahoo dot com
27;m not sure if it's safe to upgrade to latest CVS.)
>After a lot of frustrating tests
I hear ya, man! I've been doing digital video for
just over 2 years now, and I've gotten so far with my
quality, but there always seems to be some new
artifact to cause me grief.
T happen on two other LaserDiscs I
converted -- both were genuinely 60 fields per second,
not converted film. It DID happen on one other
LaserDisc that was also converted film, though.
Does anyone know what this could possibly be?
Steven Boswell
ulatekh a
have a top-notch de-interlacer in yuvdeinterlace, is
it possible to use it on D/d/M/m/E/e/N/n frames? I
don't know if the de-interlacer is available in a
shared library, but that's probably not too hard to
fix.
Steven Boswell
ulatekh at yahoo dot com
__
roma.
Right, as soon as yuvkineco can handle 4:1:1, so
that I can run y4mscaler *after* it instead of
before it. But you're saying the 4:1:1 chroma
line-swap is not needed?
Steven Boswell
ulatekh at yahoo dot com
_
ny interest in such a modification? I
>>know
>
>Of course - but I got a headache the last time I
>looked at the sources :)
Eeek...I hope the author responds & gives us an idea
of how feasible this is.
Steven Boswell
ulatekh at yahoo dot com
_
e it. I've tried to
understand the source code to yuvkineco, but no one
seems to comment their code as thoroughly as I comment
my own. :-) This color-interlacing problem is the
last remaining artifact in my video, and I'm keen to
squash
mation between two frames. F is the
percentage of pixels found to be new information
at the end of the frame, when all analysis is
completed.
As soon as I can figure out how to explain all
that simply, I'll put it into the manpage :-)
Steven Bo
20x480
chroma data to go along with my 720x480 intensity
data) in order to fix the chroma properly? Can I
even get that? Also, when dealing with an NTSC
signal of something that was originally 24 fps,
i.e. the "not really interlaced" case, wouldn't
the color be subsampled according to
;When you change the tag, you also have to
>resample the chroma, or it will get muddled by
>the next device/program that tries touches it.
Do we have a tool that does that, then?
Steven Boswell
ulatekh at yahoo dot com
__
Do You Yahoo!?
Tired of
't do windows. :)
I second that! :-) I only use Windows for tax
software and the occasional video game.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Mail - Easier than eve
e MPEG2 header turned on that
>says both fields came from the same point in
>time.
OK. The last I asked this question, I think Bernhard
told me that mpeg2enc wouldn't give me what I
expected.
Guess this is something else to try!
Steven Boswell
ulatekh at yahoo dot com
VCD
>encoding too - but unless you use VBR the stream
>gets padded to 1152 so there's no space savings.
No, this is 824 kbps CBR video. Use "-f 2" with
mplex to generate something that isn't padded to
1152. I make VideoCDs like this all the time.
Steven Boswell
ulate
nt to do, with 24fps film
>material.
It's my understanding that progressive-frame DVDs
can't be played by all DVD players. I could be
wrong...I often am... :-)
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Ma
been lukewarm about deinterlacing, but it turns
out that's mostly because xine's deinterlacer is so
crappy. Our deinterlacer is MUCH higher quality.
Another tool worth using!
Steven Boswell
ulatekh at yahoo dot com
__
Do You Ya
oughta put this information into the HOWTO.
I'd do it, but the organization of the info in our
HOWTO file kinda baffles me :-)
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Meet the all-new My Y
utes into the video, it's off by 4
seconds?
Any information would be appreciated.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Mail - Easier than ever with enhanced search. Learn more.
http://info.mail.yahoo.com/mail_250
makedvd.sh
Description: makedvd.sh
My last set of changes broke the -B option! And I
fixed a bunch of other bugs I found, most of which
would have caused y4mdenoise to crash upon exit. Get
the latest CVS and the problems should be fixed.
Steven Boswell
ulatekh at yahoo dot com
the rest of the
pipeline is running at 0, instead of my usual
setup where everything runs at 19. And I was
pretty sure process scheduling didn't work like
that.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo
Even running the massive "near-perfection
with videotapes" pipeline I posted to this list a few
days ago, I can't quite fill up the processors --
total idle time hovers around 20%. But it's better
than it was. And it's nice to see the main thread
(the one de
7;m just
not using it because I thought I was getting
better results this way.
Do I have to start doing my videotapes all over
AGAIN?! :-(
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Send a seasonal email greeting and help others.
ntique videotape collection,
where I *am* willing to wait 2-4 days to process a
single tape on my Athlon XP 1800+.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
Yahoo! Mail - Find what you need
good job. Therefore, I think any extra time spent
by mpeg2enc detecting parts of the new frame that
are moved instances of parts of the previous frame
is a Good Thing, and so I use the highest setting
possible for -4 and -2.
The rest of the options are not relat
a non-interlaced way, so as to lightly deinterlace
the video), I downscale it to VCD size, and before
sending it to mpeg2enc, I pipe it through
y4mdenoise with the error limit turned all the way
down. Here, y4mdenoise is not being used to
remove noise, it's being used to condition the
video stream
can also process different parts of the
frame in parallel, but that will be much more
difficult to write. So if you've got a
multi-processor computer, you may get some relief
soon.
Steven Boswell
ulatekh at yahoo dot com
__
Do you Yahoo!?
S
make-1.7.8-1
autoconf-2.57-3
Hope this helps.
Steven Boswell
ulatekh at yahoo dot com
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
ins examples of the denoiser in action.
Enjoy! And please let me know what you think of the new denoiser! (I'm
kinda jonesing for some feedback hereLOL)
Steven Boswell
ulatekh at adelphia dot net
---
This SF.Net email is sponsored by: Ora
the denoiser will pick up on noise in the original
recording, so just because it was on LaserDisc or digital cable TV
doesn't guarantee anything.
Steven Boswell
ulatekh at adelphia dot net
---
This SF.net email is sponsored by: The Ro
ellow mjpeg-developer subscriber, was nice enough to
agree to host this. The web page contains 2 movie clips that pretty
dramatically show the results of using the denoiser vs. not using it.
Steven Boswell
ulatekh at adelphia dot net
---
This S
f -- actually, I've been denoising various sources using different techniques & doing my best to make some sort of intelligent observations based on the results. I haven't been getting very far. :-)
It seems like there should be enough people on this list with enough denoising experience to s
just my imagination.
Anyone have any experience with this?
Steven Boswell, [EMAIL PROTECTED]
Richard Ellis <[EMAIL PROTECTED]> wrote:
In my experience with experimenting with the --reduce-hf flag to mpeg2enc,that having the flag turned on created a ringing effect at sharp edgetransit
medianfilter. Keep us apprised of what works! That's one of the few artifacts I have left in my video, and I'd love to figure out how to get rid of it.
Steven Boswell, [EMAIL PROTECTED]
Al Bogner <[EMAIL PROTECTED]> wrote:
A blue PC-created titel with a light background shows a bl
lve it too.
Any of the experts out there feel like sharing their wisdom? :-)
Steven Boswell, [EMAIL PROTECTED]
"Steven M. Schultz" <[EMAIL PROTECTED]> wrote:
Hi -A number of movies I've encoded look good as long as the picturesdo not get too dark - but night scenes or the tran
) They take 3 hours to encode instead of 24, they fit onto CD-R media, and everyone with a CD burner can copy them.
Steven Boswell, [EMAIL PROTECTED]
Simon Michael Heywood <[EMAIL PROTECTED]> wrote:
I kind of suspected this is the case so have just re-encoded my video at 8000kbps, but since m
re because there's no way to decompress 9800 kbps video with the video-buffer size you've selected. Increasing the buffer size will produce a video that goes through mplex properly, but then it won't play in your DVD player. The only solution I see is to lower your video bitrate.
Steven
Is that with or without my one-line patch? Just making surebecause adding "if (denoisier.sharpen == 0) return;" to the beginning of sharpen_frame() was what it took to speed things up for me. (Just wanted to verify my observation was valid :-)
Steven Boswell, [EMAIL PROTECTED]
I don't think it's been ported to Windows. You're free to be the one who does it, though :-)
Steven Boswell, [EMAIL PROTECTED]
natarajan thirunavukkarasu <[EMAIL PROTECTED]> wrote:
I want to build MJPEG encoder & decoder in VC++environment. Where can i get source codes
o bitrate to be. What's left is the video bitrate that'll fill up an 80-minute CD-R.
The formula tends to produce 359,350-sector VCDs, which means you have enough slack to round up if your total suggested video bitrate's fractional part is .5 or more.
I know your question was abou
That's because yuv2lav is not multi-threaded -- it reads from the YUV stream, compresses the image, and writes it to the output file, all in one thread. Fixing that is one of my near-future planned projects (sometime after finding a new place to live & getting a day job :-).
Steven Boswel
problem is that they did not
>write any drivers for Linux. [...]
Holy crap! I would have expected LML to actually care about
high-quality drivers and providing support.
I'll be getting a Canopus ADVC-100 very very soon. Thank you for the
insights!
>> I told y'all I was moving! I should be responsive & so forth
>>in about a month! I'm sorry this happened right as I was becoming an
>>mjpegtools developer! It certainly wasn't planned that way!
>>
>>:-)
>
>(For a guy who is so busy moving, you've been pretty chatty over the
>last couple of d
Boswell (actually, he
>has CVS access to so he could commit it too... Hmm...)
I told y'all I was moving! I should be responsive & so forth
in about a month! I'm sorry this happened right as I was becoming an
mjpegtools developer! It cert
3 back to Linux Media Labs.
Wow! That's pretty depressing. I really wanted to support any company
dedicated to doing video under Linux. Can you recall any of the nasty
details of what made you dislike the card so much?
Steven Boswell
[EMAIL PROTECTED]
---
t town
even, and so I'll be pretty flaky for the next month or so, but after
that, I plan to resume spending a lot of time on digital video issues.
Steven Boswell
[EMAIL PROTECTED]
---
This SF.NET email is sponsored by:
SourceForge Enterp
anufacturing defect, so if you don't see it in your
LaserDiscs now, you never will. (Since it takes about 3 years to show
up, and since they stopped making LaserDiscs in 2000.)
So now I have my purpose here: to expand yuvdenoise to han
I ask
because I just realized that mpeg2enc can apparently take
non-interleaved still frames, as long as the frame height is a multiple
of 32.
Thanks in advance for your insights!
Steven Boswell
[EMAIL PROTECTED]
---
This SF.NET email is sponso
lavrec or yuv2lav or whatever.
One minor caveat...from the edit list's point of view, the frame numbers
go from 0 to (# of frames in file - 1). I can't tell you how many times
I've hosed my encodings because I forgot to subtract 1. :-)
Steven Boswell
[EMAIL PROTECTED]
-
info, I answered him privately, sending him the patches
I apply to xawtv & the shell script I use to record DVDs.
Steven Boswell
[EMAIL PROTECTED]
---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + Lin
processing other movies in the background. If I try that with
lavrec, I get a LOT of inserted/deleted frames.
Steven Boswell
[EMAIL PROTECTED]
---
This SF.NET email is sponsored by:
SourceFo
ed Hat 7.3.
I'm also doing this on an Athlon XP 1800+, though the yuvscaler doesn't
use all that much CPU anyway.
Steven Boswell
[EMAIL PROTECTED]
---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT
\
< stream.yuv
rm -f stream.wav stream.yuv
--
Ths -s option is something I haven't shown to anyone else yet; it tells
yuv2lav to get rid of every 30,500th video frame, in order to get my
audio to sync up with my video. (That's what
a digital tool that could take
out such artifacts, or if such a tool is even possible.
Steven Boswell
[EMAIL PROTECTED]
---
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students
developer branches for DVD. They fix and important timing
>bug and a couple of other things too.
The between-track audio hiccup is still there, but it's much smaller
than it was. Thank you!! I'm sure the rest of it will disappear once
you and the dvdauthor devleoper(s) agree on
finally posted a patch to the mjpegtools web site. Now yuv2lav can
>>do the audio at the same time it does the video. I also posted the
>>script I use to record.
>
>If you want you can get CVS access. And add the features. So you can
>check in the features you added.
ead, and one or more encoding threads; that'll allow
arbitrary frame insertion/deletion without mucking up the architecture,
and allow for better performance.
Is anyone but me interested in this feature? If so, I'll get off my
dead butt & write it. :-)
Steven Boswell
[EMAIL PROTEC
fit onto the DVD. Also, you really think I need to use the
denoiser on a high-quality S-Video source like a LaserDisc?
Steven Boswell
[EMAIL PROTECTED]
---
This SF.NET email is sponsored by: FREE SSL Guide from Thawte
are you planning your W
"-q 1" but wanted to reserve that for a later experiment. (What can
I say, I want a perfect-looking DVD of my "Pink Floyd: live at Pompeii"
LaserDisc, especially since I doubt that'll ever get released on DVD. :-)
Thanks to al
e.
sequence-ends) should be inserted. The change is pretty hacky still, so
I'm not going to inflict a patch on you, but I'm wondering why this
hasn't been done already. It seems to me that most people would want
that sort of control over where chapter marks get inserted. No?
Steven
80 matches
Mail list logo