|
|
| 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. |
 |
| 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 
What do you think about this variant?
|
 |
| 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. |
 |
| 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) |
 |
| 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 
 This is only an idea. But I have not brought it to the end. One of the variants turned out like this.
|
 |
| 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 |
 |
| 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? |
 |
| 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  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 |
 |
| 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. |
 |
| 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. |
but why |
 |
| 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 |
 |
| 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. |
 |
| 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. |
 |
| 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 |
 |
| 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 |
 |