Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

Pages: (16) « First ... 7 8 [9] 10 11 ... Last » ( Go to first unread post )
Virtualdub 1.9.x Test Thread, Very experimental build
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
phaeron
Posted: May 15 2010, 08:03 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



@v0lt:
If the encoder supports it, you should -- but you'll have to drive it manually, same as usual.

@Gromozeka:
Not for this pass.
 
    Top
v0lt
  Posted: May 16 2010, 08:19 AM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



phaeron
QUOTE
but you'll have to drive it manually, same as usual.

no automatic sad.gif

What do you think about this variant?
user posted image
 
     Top
phaeron
Posted: May 16 2010, 06:12 PM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



There's a lot more required than just UI work.
 
    Top
Gromozeka
Posted: May 16 2010, 07:28 PM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



Phaeron, you can do work port from ffmpeg to other encoders?

External encoders\ffmpeg
-f rawvideo -s %(width)x%(height) -i - -f yuv4mpegpipe - | mencoder.exe (xvid_encraw.exe, mpeg2enc.exe and other)
 
     Top
v0lt
Posted: May 16 2010, 07:43 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



QUOTE (phaeron)
There's a lot more required than just UI work.

I understand.
Still, I unloaded the pictures. For the future. Maybe smile.gif
user posted image
This is only an idea. But I have not brought it to the end.
One of the variants turned out like this.
user posted image
 
     Top
Gromozeka
Posted: May 16 2010, 08:29 PM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



volt
I think that its very difficult
 
     Top
phaeron
Posted: May 18 2010, 04:17 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



QUOTE
Phaeron, you can do work port from ffmpeg to other encoders?


No. The pipe that you're using is a feature of the command processor (cmd.exe), and it's not as simple in this case because I need to maintain the pipes and monitor all of the processes involved. That's a lot more work and complexity than I want to take on at this time.

Why are you trying to pipe multiple processes, btw?
 
    Top
Gromozeka
Posted: May 18 2010, 02:01 PM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



Because Virtualdub without ffmpeg not pipe to mencoder.exe, xvid_encraw.exe
tongue.gif
Hcenc - best mpeg2, but not eat pipe

P.S: Phaeron, why this not work?
External encoders\xvid_encraw.exe
-type 0 -csp yv12 -single -cq 3,0 -smoother 0 -vhqmode 4 -masking 2 -max_key_interval 250 -quality 6 -vhqmode 4 -qtype 0 -noclosed_gop -max_bframes 1 -bvhq -bquant_ratio 100 -bmin 4 -bmax 10 -avi "%(tempvideofile)"

xviD_encraw here:
http://rapidshare.com/files/388850573/xvid...encraw.rar.html

Input options:
-i string : input filename (stdin)
-type integer: input data type (yuv=0, pgm=1, avi/avs=2)
-w integer: frame width ([1.2048])
-h integer: frame height ([1.2048])
-csp string : colorspace of raw input file i420, yv12 (default)
-frames integer: number of frames to encode

Output options:
-dump : save decoder output
-save : save an Elementary Stream file per frame
-o string : save an Elementary Stream for the complete sequence
-avi string: save an AVI file for the complete sequence
-mkv string: save a MKV file for the complete sequence
 
     Top
phaeron
Posted: May 19 2010, 04:00 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



You're missing the parameters to set width/height/framerate/frame count, but even then I can't get this build to take a stdin stream properly. It just keeps encoding 0 frames.
 
    Top
Gromozeka
Posted: May 19 2010, 07:19 AM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



QUOTE
You're missing the parameters to set width/height/framerate/frame count

This parameters unnecessary

this parameters work fine from comand line:

CODE
xvid_encraw.exe -i 1.avs -type 2 -single -cq 3,0 -smoother 0 -vhqmode 4 -masking 2 -max_key_interval 250 -quality 6 -vhqmode 4 -qtype 0 -noclosed_gop -max_bframes 1 -bvhq -bquant_ratio 100 -bmin 4 -bmax 10 -threads 2 -avi out.avi


QUOTE
I can't get this build to take a stdin stream properly. It just keeps encoding 0 frames.

sad.gif but why
 
     Top
Loadus
Posted: May 22 2010, 01:28 AM


Advanced Member


Group: Members
Posts: 352
Member No.: 10881
Joined: 1-July 04



QUOTE (Gromozeka @ May 19 2010, 01:19 AM)
QUOTE
You're missing the parameters to set width/height/framerate/frame count

This parameters unnecessary

When you pipe raw video, the encoder needs the framesize and fps parameters.

--------------------
deviantART behance
 
       Top
v0lt
  Posted: May 24 2010, 06:02 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



phaeron
What do you think about the support yuv4mpegpipe? Here are some of the format YUV4MPEG2.

Choosing a input format for Video can do for the tab as well as Audio.
 
     Top
phaeron
Posted: May 25 2010, 05:47 AM


Virtualdub Developer


Group: Administrator
Posts: 7773
Member No.: 61
Joined: 30-July 02



Good idea, but a little bit weird.
 
    Top
Gromozeka
Posted: May 25 2010, 06:53 AM


Advanced Member


Group: Members
Posts: 52
Member No.: 26717
Joined: 1-January 10



Phaeron
QUOTE
Good idea, but a little bit weird.

not? its very good idea, because yuv4mpegpipe support mencoder, mpeg2enc, xvid_encraw and other comand line encoders! but yuv support only ffmpeg and x264
 
     Top
v0lt
Posted: May 25 2010, 04:21 PM


Advanced Member


Group: Members
Posts: 119
Member No.: 26125
Joined: 5-September 09



Phaeron
sample of source code - ffmpeg/libavformat/yuv4mpeg.c
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
237 replies since Aug 3 2009, 12:49 AM Track this topic | Email this topic | Print this topic
Pages: (16) « First ... 7 8 [9] 10 11 ... Last »
<< Back to Testing / Bug Reports