Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
* Bernhard Praschinger on Thursday, November 12, 2009 at 19:05:47 +0100 > I have tired that command: > mencoder DVD.mpg -o test4.avi -oac copy -ovc lavc -lavcopts > vcodec=mjpeg:vbitrate=15000 > > There mplayer tells me that I have used a MJPG coded. But it seems to me > that they don't include a huffman table or at least in a different way. > And I haven't looked at the source so I can't tell exactly what's wrong. Another stab in the dark; perhaps force a format. From man mencoder for -lavcopts: format= YV12 default 444P for ffv1 422P for HuffYUV, lossless JPEG, dv and ffv1 411P for lossless JPEG, dv and ffv1 YVU9 for lossless JPEG, ffv1 and svq1 BGR32 for lossless JPEG and ffv1 mencoder DVD.mpg -o test4.avi -oac copy -ovc lavc \ -lavcopts vcodec=mjpeg:format=422P:vbitrate=15000 ? ... ok, I better shut up, because I have no experience at all with mjpeg codec. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ --->>> http://www.blacktrash.org/underdogma/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] Zoran Pinnacle DC10
Hallo > I need to send video to a TV by using the Zoran Pinacle DC10 PCI card > through a program written in c. > Could you recommend some libraries to use the functions of the board?. When you look at the mjpegtools, take a look a the lavplay program. That program can put a mjpeg file to the zoran card. The other program I know is mplayer with zoran support complied in (mplayer -vo zr). You can take a look at both programs. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
Hallo Peter Vereshagin wrote: > You can't take no for an answer, Bernhard! > 2009/11/11 20:34:15 +0100 Bernhard Praschinger => To > Peter Vereshagin : > BP> VIDEO: [IJPG] 720x576 24bpp 25.000 fps 7992.5 kbps (975.6 kbyte/s) > > A small addition: I updated ilves to 1.0.5 and there is mjpegtools_encoder in. > But I'm still here with mplayer info and glav. > I should probably try different output format? Got rid on this, will try your > piping method next time. You can use any high quality output format mplayer can play back. Than mplayer will convert it to someting suitable for piping to the mjpegtools. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
Hallo > BP> When I export a file with lives, with the option you show in the > image. BP> I can't play it back. mplayer prints out that information: > BP> VIDEO: [IJPG] 720x576 24bpp 25.000 fps 7992.5 kbps (975.6 > kbyte/s) BP> ---END--- Does mplayer have any explanation why it > doesn't play? I have the same but it does: No, to know why it doesn't play back would be to look at the mencoder source and at the mjpegtools source. And look what is going wrong. > === AVI file format detected. [aviheader] Video stream found, -vid 0 > AVI: No audio stream found -> no sound. VIDEO: [IJPG] 640x480 > 24bpp 5.000 fps 1750.1 kbps (213.6 kbyte/s) [...] Similar bad. > BP> BP> Playing back a mjpeg file that works with the mjpetools gets > me that BP> information: BP> VIDEO: [MJPG] 720x576 24bpp 25.000 > fps 18607.2 kbps (2271.4 kbyte/s) BP> ---END--- The only difference > I see is: [IJPG] versus [MJPG] on the mplayer's stdout/stderr, right? I don't know how that file format differ. > BP> When you record from a box like the ADVC-100 with kino, you might > also BP> se here DVSD. You find information about the fourcc here: > BP> http://www.fourcc.org/ > > My source is ffmpeg acquiriung a screencast. So things about DVSD nd > Fourcc prove me all of that is way complex. and not much similar to > sandbox playground ;-) > ok, so whom should I contact best about it: lives support for they to > make an option to pipe to youv2lav additionally or mplayer community > to know that this thing is impossible with mencoder only? That's a tricky question. I'd ask on a lives mailinglist. I remember that there was once a lives output plugin for the mjpegtools. But I don't know where it vanished :( > BP> When I have a video format the mjpegtools don't understand I use > mplayer BP> -vo as input: BP> >mkfifo stream.yuv BP> >cat > stream.yuv | yuv2lav -o mjpeg_wo.avi & BP> >mplayer -nosound > -noframedrop -vo yuv4mpeg anyfile.mpg BP> >mplayer -vo null -ao > pcm:file=anyfile.wav anyfile.mpg > > Thanks much, will try it next time as my needs are occasional. Ok. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
Hallo Christian Ebert wrote: > * Peter Vereshagin on Thursday, November 05, 2009 at 20:59:48 +0400 >> sh -c mencoder -mf h=480:w=640:type=jpg -o "tmpvid" -ovc lavc -lavcopts >> vcodec=mjpeg:vhq -ovc copy -noskip -ofps 5.000 mf://*.jpg -frames 785 1>&2 > > Not sure if this helps, but you have > > -ovc lavc *and* -ovc copy > > which contradict each other. In case -ovc copy wins, no > reencoding takes place. Thanks for the hint. But that is the command generated by lives. I don't know why they generate the command that way. I have tired that command: mencoder DVD.mpg -o test4.avi -oac copy -ovc lavc -lavcopts vcodec=mjpeg:vbitrate=15000 There mplayer tells me that I have used a MJPG coded. But it seems to me that they don't include a huffman table or at least in a different way. And I haven't looked at the source so I can't tell exactly what's wrong. auf hoffentlich bald, Berni the Chaos of Woodquarter Email: shadowl...@utanet.at www: http://www.lysator.liu.se/~gz/bernhard -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
You can't take no for an answer, Bernhard! 2009/11/11 20:34:15 +0100 Bernhard Praschinger => To Peter Vereshagin : BP> VIDEO: [IJPG] 720x576 24bpp 25.000 fps 7992.5 kbps (975.6 kbyte/s) A small addition: I updated ilves to 1.0.5 and there is mjpegtools_encoder in. But I'm still here with mplayer info and glav. I should probably try different output format? Got rid on this, will try your piping method next time. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
* Peter Vereshagin on Thursday, November 05, 2009 at 20:59:48 +0400 > sh -c mencoder -mf h=480:w=640:type=jpg -o "tmpvid" -ovc lavc -lavcopts > vcodec=mjpeg:vhq -ovc copy -noskip -ofps 5.000 mf://*.jpg -frames 785 1>&2 Not sure if this helps, but you have -ovc lavc *and* -ovc copy which contradict each other. In case -ovc copy wins, no reencoding takes place. c -- Was heißt hier Dogma, ich bin Underdogma! [ What the hell do you mean dogma, I am underdogma. ] _F R E E_ _V I D E O S_ --->>> http://www.blacktrash.org/underdogma/ -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users
Re: [Mjpeg-users] [Fwd: Re: where is xlav?]
You can't take no for an answer, Bernhard! 2009/11/11 20:34:15 +0100 Bernhard Praschinger => To Peter Vereshagin : BP> I don't know what mencoder creates, but the problem seems for me to be BP> in mencoder. BP> BP> When I export a file with lives, with the option you show in the image. BP> I can't play it back. mplayer prints out that information: BP> VIDEO: [IJPG] 720x576 24bpp 25.000 fps 7992.5 kbps (975.6 kbyte/s) BP> ---END--- Does mplayer have any explanation why it doesn't play? I have the same but it does: === AVI file format detected. [aviheader] Video stream found, -vid 0 AVI: No audio stream found -> no sound. VIDEO: [IJPG] 640x480 24bpp 5.000 fps 1750.1 kbps (213.6 kbyte/s) Clip info: Software: MEncoder 1.0rc2-4.2.1 Name: Artist: Comments: == Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder) == Audio: no sound Starting playback... VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12) VDec: using Planar YV12 as output csp (no 3) Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 640x480 => 640x480 Planar YV12 V: 1.6 9/ 9 26% 17% 0.0% 0 0 === BP> BP> Playing back a mjpeg file that works with the mjpetools gets me that BP> information: BP> VIDEO: [MJPG] 720x576 24bpp 25.000 fps 18607.2 kbps (2271.4 kbyte/s) BP> ---END--- The only difference I see is: [IJPG] versus [MJPG] on the mplayer's stdout/stderr, right? BP> When you record from a box like the ADVC-100 with kino, you might also BP> se here DVSD. You find information about the fourcc here: BP> http://www.fourcc.org/ My source is ffmpeg acquiriung a screencast. So things about DVSD and Fourcc prove me all of that is way complex. and not much similar to sandbox playground ;-) BP> For me it seems that mencoder creates a mjpeg encoded AVI. But there are BP> several versions. I have taken a look at mencoder but didn't find any BP> hint to create a mjpeg encoded file the mjpegtools understand. ok, so whom should I contact best about it: lives support for they to make an option to pipe to youv2lav additionally or mplayer community to know that this thing is impossible with mencoder only? BP> When I have a video format the mjpegtools don't understand I use mplayer BP> -vo as input: BP> >mkfifo stream.yuv BP> >cat stream.yuv | yuv2lav -o mjpeg_wo.avi & BP> >mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg BP> >mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg Thanks much, will try it next time as my needs are occasional. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Mjpeg-users mailing list Mjpeg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mjpeg-users