Re: [Mjpeg-users] Help reading Muxing TS

2011-11-15 Thread Mark Heath
On 15/11/2011, at 4:47 PM, sam wrote: Hi Mark, Thank you for your reply, I have hardware encoder , which gives IP out , and it has 8 channels , each channel gives me 2 ts. ffmpeg will encode again , then it is no use of using my encoder. ffmpeg can be used to mux without encoding.

Re: [Mjpeg-users] Help reading Muxing TS

2011-11-14 Thread Mark Heath
On 14/11/2011, at 3:37 PM, sam wrote: Dear Friend , I am a professor , i want to do it for my research project for students.partial please help me. I want to Multiplex n number of TS using mplex, i got downloaded from mjpeg.sourceforge.net and installed , how to mux continuously

Re: [Mjpeg-users] writing multi threaded code

2011-09-22 Thread Mark Heath
On 23/09/2011, at 12:20 PM, E Chalaron wrote: Cine scan films such as 8, 9.5, super 8 , 16 mm etc ... Either in 8 or 16 bits. Sorry I mean, what file format (or library) would you be reading this in as? yuv4mpeg is in yuv format. I'm not aware of an rgb stream format. Or would you be

Re: [Mjpeg-users] writing multi threaded code

2011-09-22 Thread Mark Heath
On 23/09/2011, at 1:52 PM, E Chalaron wrote: The files are in a quicktime container as raw RGB data from cinelerra. But ... I suppose I can always denoise before rendering in X264 which will be in YUV anyway. I was just thinking that if you were to implement yuvdenoise for RGB, how would

Re: [Mjpeg-users] yuvdenoise

2010-11-14 Thread Mark Heath
The simple solution to worrying about the need to optimise the code for your cpu is to look at the output from top. (I am actually interested in seeing the %CPU each of your processes take up.) Are both your CPUs fully loaded? Yes - multi threading is not needed but you could always

[Mjpeg-users] port of yadif?

2010-04-07 Thread Mark Heath
Has anyone ported yadif (yet another de interlacing filter) to mjpeg tools? it appears to be the best software deinterlace filter. Thanks Mark -- Download Intel#174; Parallel Studio Eval Try the new software tools for

Re: [Mjpeg-users] y4mstabilizer segmentation fault

2009-06-04 Thread Mark Heath
the bug, then it's probably not as urgent. I need a video project to take my mind off work. And @Mark Heath... I had seen your tools before, and I will have another look at them in future. You have some really interesting code there, and with a bit of cleaning up and packaging it could

Re: [Mjpeg-users] y4mstabilizer segmentation fault

2009-06-03 Thread Mark Heath
Input #0, mpegvideo, from 'test.m2v': Duration: 00:00:46.50, bitrate: 3938 kb/s Stream #0.0: Video: mpeg2video, yuv420p, 720x576 [PAR 16:15 DAR 4:3], 3938 kb/s, 25 tbr, 1200k tbn, 50 tbc Output #0, yuv4mpegpipe, to 'pipe:': Stream #0.0: Video: rawvideo, yuv444p, 720x576 [PAR 16:15

Re: [Mjpeg-users] Good intermediate format to use

2009-01-23 Thread Mark Heath
On 23/01/2009, at 5:54 AM, Bernhard Praschinger wrote: The mjpegtools cannot create DV encoded files (at least I don't know how). They can only read them. The the best quality is a mjpeg encoded AVI/MOV at a high quality factor of 95. (100 might cause problems) if you are wanting to use DV

Re: [Mjpeg-users] mpeg2enc: any hope of further development?

2008-12-21 Thread Mark Heath
Does mpeg2enc support encoding 422 video? Thanks Mark -- ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Re: [Mjpeg-users] mplex file mov03d.m2v unrecogniseable!

2008-10-17 Thread Mark Heath
On 18/10/2008, at 1:31 AM, Curt Howland wrote: Are you able to make the file available? http://pages.suddenlink.net/curthowland/mov018.m2v http://pages.suddenlink.net/curthowland/mov018.mpg This is the original right off the camera, and the file created with mplayer -dumpfile mov018.m2v

Re: [Mjpeg-users] mplex file mov03d.m2v unrecogniseable!

2008-10-16 Thread Mark Heath
On 15/10/2008, at 6:00 AM, Curt Howland wrote: $ mplex -f 8 -S 0 -M -o /tmp/Test/mov03d/mov03d.mpeg2 /tmp/Test/mov03d/ mov03d.m2v /tmp/Test/mov03d/mov03d.m2a INFO: [mplex] mplex version 1.8.0 (2.2.4 $Date: 2005/08/28 17:50:54 $) **ERROR: [mplex] File /tmp/Test/mov03d/mov03d.m2v

Re: [Mjpeg-users] Y4mhist

2008-09-18 Thread Mark Heath
recommendations about making a package, I wouldn't mind hearing. There is a gcc build command in the comments: gcc -O3 yuvdiag.c -L/sw/lib -I/sw/include/mjpegtools -lmjpegutils -o yuvdiag just replace the location of your mjpeg include and libraries. Mark Cheers E Mark Heath wrote: I'm not sure

Re: [Mjpeg-users] Building Cross platform binaries

2008-06-22 Thread Mark Heath
On 22/06/2008, at 3:03 PM, Bernhard Praschinger wrote: I am guessing to build universal binaries is going to require some serious hacking of the build scripts. Can anyone help? I discovered that adding the following option to configure helped this issue: --disable-dependency-tracking

Re: [Mjpeg-users] Building Cross platform binaries

2008-06-16 Thread Mark Heath
On 12/06/2008, at 11:23 PM, Mark Heath wrote: As you can see here it has attempted to tune for pentium3 and gcc spits it over command line options... I would like to have universal binaries as I do use a mixture of PPC and Intel macs. I am guessing to build universal binaries is going

[Mjpeg-users] Building Cross platform binaries

2008-06-12 Thread Mark Heath
Hi all, I've been using mjpeg tools under OSX for some time now. I have recently begun attempting to integrate the tools with Apple Core services. However Xcode wants the mjpeg libraries to be universal or it won't link against them. I have tried the path of forcing Xcode to only produce

Re: [Mjpeg-users] frame rate conversion

2008-05-26 Thread Mark Heath
On 25/05/2008, at 6:43 PM, Christian Ebert wrote: * Mark Heath on Saturday, May 24, 2008 at 08:47:53 +1000 By the way I have my own blending framerate converter (yuvaifps) available on my lavtools site http://silicontrip.net/~mark/lavtools/index.php#yuvafps On MacOS 10.4.11 with latest

Re: [Mjpeg-users] frame rate conversion

2008-05-24 Thread Mark Heath
On 23/05/2008, at 8:03 AM, Florin Andrei wrote: I'm looking for a way to convert a 60fps video stream to true NTSC frame rate (29.97i). Converting frames to fields to half the frame rate and interlace is easy, but it's the shaving off of the 0.1% of the frame rate that worries me. How

Re: [Mjpeg-users] Zig-zag pattern on every frame...

2008-03-13 Thread Mark Heath
I wouldn't see that it would be difficult to write a yuvtool to copy the chroma channels into the luma and show the video image this way. Maybe include it in a set of video tools to display more engineering information about a yuv stream... I have written a channel splitter available on

Re: [Mjpeg-users] Zig-zag pattern on every frame...

2008-03-12 Thread Mark Heath
Hi Andrea, Since you mention that your camcorder, with the 1.2m S-Video cable, produces the same pattern, it is unlikely to be a source of external interference. However you did mention you changed something recently inside your computer? This change could be causing the interference.

Re: [Mjpeg-users] Zig-zag pattern on every frame...

2008-03-08 Thread Mark Heath
I've split this image into it's Y-U-V channels, There appears to be no noise in the chroma channels only the Luma channel. This could be due to: * the chroma channels being half resolution, not enough resolution to represent the noise pattern. (below the nyquist value) * the interference

Re: [Mjpeg-users] workaround (PPC) for mpeg2enc's buggyness

2008-01-23 Thread Mark Heath
On 23/01/2008, at 5:16 AM, Florin Andrei wrote: Mark Heath wrote: Anyway I've been using the mpeg2 encoder in ffmpeg and have been happy with the results. I asked recently on their mailing list if they solved the rate control issues and they said no. Kind of a big issue if the target

Re: [Mjpeg-users] workaround (PPC) for mpeg2enc's buggyness

2008-01-17 Thread Mark Heath
On 17/01/2008, at 3:34 PM, Steven M. Schultz wrote: On Wed, 16 Jan 2008, Christian Ebert wrote: I get buffer underflows for longer stuff when encoding from dv to mpeg2 for dvd with ffmpeg, and i really played around a lot with That's the rate control issue(s) I had in mind. I found

Re: [Mjpeg-users] workaround (PPC) for mpeg2enc's buggyness

2008-01-16 Thread Mark Heath
On 16/01/2008, at 2:28 AM, Christian Ebert wrote: * Steven M. Schultz on Friday, March 23, 2007 at 00:48:14 -0700 If you're using a PPC and OS/X there is a fantastically high quality workaround for mpeg2enc's current buggy state. The BitVice encoder from: http://www.innobits.com/

Re: [Mjpeg-users] how can i figure out if ppmtoy4m has a option 420mpeg2

2007-12-05 Thread Mark Heath
Hi Martin, The output from the help of ppmtoy4m is appearing on stderr not stdout. You will need to redirect stderr through your pipe. Depending on what shell you are using this is done in different ways. tcsh: ppmtoy4m -h | grep 420mpeg2 | wc -l bash: ppmtoy4m -h | grep 420mpeg2 21 | wc -l

Re: [Mjpeg-users] yuvdeinterlace bug?

2007-09-14 Thread Mark Heath
On 14/09/2007, at 3:23 PM, David McNab wrote: I am thinking about doing something more intelligent than line doubling. (maybe adaptive blending) Oh yes, please do! :) And making better support for different chroma subsampling, but maybe next week. Less urgent, since many yuv4mpeg tools

[Mjpeg-users] yuvdeinterlace bug?

2007-09-13 Thread Mark Heath
I haven't looked thoroughly into this but it appears that the version of yuvdeinterlace crashes on 480 height files, while works fine on 576 height files. I'm not sure which version I am using, the tool doesn't have any version information, it is the Motion-Compensating-Deinterlacer. I

Re: [Mjpeg-users] yuvdeinterlace bug?

2007-09-13 Thread Mark Heath
On 14/09/2007, at 12:50 PM, David McNab wrote: There's an alternative implementation of yuvdeinterlace, unfortunately with the same name, at: http://silicontrip.net/~mark/lavtools/ :-) yeah that's my version. It was for non interlace aware temporal filters, such as my original yuvafps

Re: [Mjpeg-users] keyframe automation with yuv4mpegpipe-style tools

2007-08-29 Thread Mark Heath
On 30/08/2007, at 1:06 PM, David McNab wrote: On Thu, 2007-08-30 at 00:20 +1200, David McNab wrote: Hi, Is there a sane way to perform, with the various yuv4mpegpipe-based tools, something comparable to the keyframe-based automation found in graphical video editors such as Cinelerra? I

Re: [Mjpeg-users] mpeg2enc is currently broken

2007-07-23 Thread Mark Heath
I have been using ffmpeg with the mjpeg tools for some time. To convert from the myriad of formats that ffmpeg supports to yuv use this command: ffmpeg -i myfile.ext -f yuv4mpegpipe - | yuvmytool | etc. To convert to another format from yuv4mpeg use this style of command: yuvmytool | ffmpeg

Re: [Mjpeg-users] does mplex support MPEG2 transport stream?

2007-05-28 Thread Mark Heath
ffmpeg will produce transport streams. To convert an existing program stream use this command: ffmpeg -i file.mpg -acodec copy -vcodec copy file.ts where file.ts is the output file. ffmpeg uses extensions to recognise what format to write the file in. Though this can be overridden with

Re: [Mjpeg-users] mpeg2enc: status of low quality settings on ix86

2007-05-10 Thread Mark Heath
Interestingly enough I attempted using mpeg2enc as a change (from ffmpeg) just to see how things were progressing. I had just compiled the mjpeg suite on my g5, to do some NTSC to PAL conversion. I used the following settings: mpeg2enc -f 8 -q 2 -M 8 I couldn't get it using more than 2 of

[Mjpeg-users] Standards converter?

2007-05-09 Thread Mark Heath
Hi, I was wondering if a yuv format standards converter exists? I know that one could be pieced together with y4mscaler and a frame rate converter. Though I was wondering about doing adaptive interlace detection and changing the behaviour of the scaling and frame rate interpolation based

Re: [Mjpeg-users] Reasonable targets for Video8 sources...

2006-09-07 Thread Mark Heath
I purchased a D8 camera to do the capturing. It is able to read video 8 tapes and send it via firewire. I've been archiving the tapes on disk as DV files. I'll edit the files together one day and burn them onto DVD. Mark On 07/09/2006, at 9:38 PM, Andrea Giuliano wrote: Hi, I hope this

Re: [Mjpeg-users] B ... [WAS: y4mscaler: Upsampling to widescreen]

2005-12-19 Thread Mark Heath
Andrew Stevens wrote: For the same x2 special-case asd your algorithm there is also some very interesting work based on ideas from some Sony researchers. Here you again choose your weights dynamically based on context in which your new pixel appears. However, the weight-selection function

Re: [Mjpeg-users] mpeg2enc 1.6.2: how to use -p for 24fps source?

2005-12-14 Thread Mark Heath
On 14/12/2005, at 4:21 PM, Trent Piepho wrote: When you use -F 4 -p, the mpeg file has its framerate set to 30 fps, but there are only 24 frames encoded per second. The encoder puts in repeat field flags that tell the decoder to do the pulldown, which has the effect of converting 24

Re: [Mjpeg-users] Too many frame drops

2005-11-20 Thread Mark Heath
Anne Wilson wrote: On using the commant mplex 1_title.mp2 1_title.m2v -o 1_title.mpg You need to add '-f 8' to the mplex command line. -f 8 has the same meaning as -f 8 in mpeg2enc, which is to produce a DVD compatible MPEG file. Since your m2v file is DVD compatible, you also must tell

Re: [Mjpeg-users] A bug ?

2005-11-02 Thread Mark Heath
E.Chalaron wrote: Hi all This may not be relevant to everybody but ... I am capturing here YUV frames using Coriander. On my Athlon 32 it works fine and the used script to buld my movies back is : (find . -name \* | xargs cat) | yuyvto4m -k -w 1244 -h 934 -a 1:1 -i p -r 16:1 |

Re: [Mjpeg-users] No a bug

2005-11-02 Thread Mark Heath
E.Chalaron wrote: Or perhaps not? The thing you most likely are experiencing is that find list all matches i filesystem order, which may or may not be what you want. You may be better off with find . -name \*|sort, or, if you don't need the recursion, simply ls *. The recursion wont work, as

Re: [Mjpeg-users] fixing fields order in encoded mpeg2(vob)

2005-11-01 Thread Mark Heath
Aleksander V. Dyomin wrote: Hi! Sorry for my poor english. I have made misstake while writing script to encode my DV to MPEG2. Exporting stream with mplayer I used -vo yuv4mpeg:interlaced option. Later, on hw dvd player, I have seen buggy video, as described at mjpeg-howto(wrong field order).

Re: [Mjpeg-users] Converting back from DVD

2005-10-17 Thread Mark Heath
Bernhard Frühmesser wrote: So far i have the vob file on the HDD, and mpeg2dec reads it, but do i have to use a pipe here to store the output in a file? Right now the video displays on the desktop. With -o pgm i get a pgm for each frame. Why not use 'mpeg2dec -o pgmpipe ...'?

Re: [Mjpeg-users] Converting back from DVD

2005-10-16 Thread Mark Heath
Bernhard Frühmesser wrote: Hello, I have a small problem :-) I used the mjpegtools to record a movie from a VHS Video a while ago, unfortunately i don´t have the VHS tape anymore, but i have all the stuff on DVD. I would need a short sequence of the Video to use on another DVD. Just a short

Re: [Mjpeg-users] more - splitting an MJPEG to a series of JPEGs

2005-10-09 Thread Mark Heath
On 09/10/2005, at 2:43 PM, Bernhard Praschinger wrote: AnY good way to batCh process this on the CLI besides a for loop and ppntojpeg? I would use convert this way: for i in *.pnm; do convert $i `basename $i pnm`jpg; done convert can do the conversation to nearly every picture format.

Re: [Mjpeg-users] Fwd:ms-ima-adpcm import module?

2005-10-06 Thread Mark Heath
[EMAIL PROTECTED] wrote: I want to extract an audio track from an avi to a wav file The video stream is RGB uncompressed the audio stream use ms-ima-adpcm codec I've tried the work with various tools (mjpegtools, ffmpeg, transcode and avidemux...) The mjpegtools works fine on my video stream,

Re: [Mjpeg-users] yuvdenoise -S and -b

2005-10-03 Thread Mark Heath
On 02/10/2005, at 6:35 PM, Frank Albrecht wrote: Is it possible to use mencoder or ffmpeg for capturing for mjpegtools? I couldn't figure out how to create an input satifying lav2yuv/mpeg2. Hopefully this is will answer what you are asking. Mplayer and ffmpeg can both produce a yuv4mpeg

Re: [Mjpeg-users] how to encode an MPEG from an AVI?

2005-07-27 Thread Mark Heath
On 27/07/2005, at 7:24, Torsten Mohr wrote: Hi, i did not encode any MPEGs from an AVI for a longer time. I find that ffmpeg is good for doing this. It can read pretty much any file format, though I have come across a few that it cannot read. And it can write to a large number of