Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-12 Thread Peter Vereshagin
You can't take no for an answer, Bernhard!
2009/11/11 20:34:15 +0100 Bernhard Praschinger shadowl...@utanet.at = 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


Re: [Mjpeg-users] [Fwd: Re: where is xlav?]

2009-11-12 Thread Peter Vereshagin
You can't take no for an answer, Bernhard!
2009/11/11 20:34:15 +0100 Bernhard Praschinger shadowl...@utanet.at = 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?]

2009-11-12 Thread Bernhard Praschinger
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 12
 
 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?]

2009-11-12 Thread Bernhard Praschinger
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?]

2009-11-12 Thread Bernhard Praschinger
Hallo


Peter Vereshagin wrote:
 You can't take no for an answer, Bernhard!
 2009/11/11 20:34:15 +0100 Bernhard Praschinger shadowl...@utanet.at = 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?]

2009-11-11 Thread Bernhard Praschinger
Hallo

 Hope it's ok for Cc: you in my post to list.
That's no Problem.

 No reason for excuse cause it's nothing of mission critical: 
  I'm trying for fun ( and to expose my screencast for profiling ).
 
 With lives, I do this: File - Encode Clip as
 Next is to select the file name
 After that, to choose this as an encoder: 
 http://pyotr.pisem.su/export-lives.png
 It appeared to be the fastest way to provide playable AVI, also.

I don't know what mencoder creates, but the problem seems for me to be 
in mencoder.

When I export a file with lives, with the option you show in the image. 
I can't play it back. mplayer prints out that information:
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [IJPG]  720x576  24bpp  25.000 fps  7992.5 kbps (975.6 kbyte/s)
Clip info:
  Software: MEncoder 1.0rc2-4.3
---END---

Playing back a mjpeg file that works with the mjpetools gets me that 
information:
VI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [MJPG]  720x576  24bpp  25.000 fps  18607.2 kbps (2271.4 kbyte/s)
---END---

When you record from a box like the ADVC-100 with kino, you might also 
se here DVSD. You find information about the fourcc here: 
http://www.fourcc.org/

 I don't have this even after chmod 0644 on that file. Scoop:
 ===
 **ERROR: [lavinfo] Error opening cast06.avi
 ===
 Mplayer plays it as MJPEG:
 ===
 Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
 Selected video codec: [ffmjpeg] vfm: ffmpeg (FFmpeg MJPEG decoder)
The decoder are not the important lines.
Look for the lines I have posted above.

 I should have more diags from lavinfo but it doesn't look to have a key for 
 this.
 Versions are:
 ===
 MPlayer 1.0rc2-4.2.1
 mjpegtools-1.9.0.r3_2
 lives-0.9.8.10_2
 ===
I use live 1.0.5, mplayer 1.0rc2-4.3 and mjpegtools 1.9.0

 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 12
 ===
 Lives looks likely to keep its storage in a set of separate jpeg files in 
 /tmp/livestmp
Seems so.

For me it seems that mencoder creates a mjpeg encoded AVI. But there are 
several versions. I have taken a look at mencoder but didn't find any 
hint to create a mjpeg encoded file the mjpegtools understand.

When I have a video format the mjpegtools don't understand I use mplayer 
  -vo as input:
 mkfifo stream.yuv
 cat stream.yuv | yuv2lav -o mjpeg_wo.avi 
 mplayer -nosound -noframedrop -vo yuv4mpeg anyfile.mpg
 mplayer -vo null -ao pcm:file=anyfile.wav anyfile.mpg

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