transcoding codec options

About encoding, codec settings, muxers and filter usage
faina
New Cone
New Cone
Posts: 9
Joined: 10 Feb 2005 11:52

transcoding codec options

Postby faina » 13 Sep 2006 16:58

Dear all

I'm working with the VLC 0.85 to realize a video ADSL streaming server to stream a video produced by the Dreambox satellite receiver DM7000. Because it generates an MPEG2 high speed stream I must transcode it to a low rate 256kbit/s stream (audio + video)
I noticed that the best combination of codec is

WMV2 @96Kbit/s and MPEG4 1 channel @4kbit/s

Because I know that Microsoft realizes a WMV9 more efficient codec I ask:

1) If and how is possible to select a NetShow codec and use it with the VLC
2) Do anyone know if exist an audio codec that is able to reduce the transcoded audio speed down to 2400bit/s ?
2) Do anyone know if exist a dreambox INPUT NetShow filter that can be directly connected to the VLC Input codec Netshow infrastructure ?


Thank you
Paolo

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 16 Sep 2006 22:29

best combination would be mpeg4 audio and h264 video. Here's an example command line for really low bitrates:

Code: Select all

./vlc --udp-caching 2000 -vvv --color --no-stats --sout "#transcode{width=320,height=240,deinterlace,vcodec=h264,venc=x264{bframes=1,bpyramid,weightb,b-rdo,mixed-refs,no-fast-pskip,qcomp=0,qpmin=15,me=umh,merange=64,8x8dct,analyse=all,ref=2,keyint=100,subme=6,trellis=0,vbv-maxrate=120,vbv-bufsize=1300},vb=120,acodec=mpga,ab=8,channels=1,fps=10}:standard{access=mmsh,mux=asfh,dst=0.0.0.0:4212}" --sout-transcode-threads 4 udp://@239.255.10.60:1234
This was like 160 kbits/sec i think. (but using plain mpeg4 instead of mpeg4 audio)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

faina
New Cone
New Cone
Posts: 9
Joined: 10 Feb 2005 11:52

H264 transoding

Postby faina » 26 Sep 2006 11:59

Dear dionoea

I tried to use your approach, but If I succeeded in the first tryes it seams that the approach is not stable under windows. I slight modify the command to reduce the CPU power requirements and establish an HTTP connection:

On the server side I lunched:

vlc c:\s.avi vlc -vvv --color --no-stats --sout #transcode{width=160,height=120,deinterlace,vcodec=h264,venc=x264{bframes=1,bpyramid,weightb,b-rdo,mixed-refs,no-fast-pskip,qcomp=0,qpmin=15,me=umh,merange=64,8x8dct,analyse=all,ref=2,keyint=100,subme=6,trellis=0,vbv-maxrate=120,vbv-bufsize=1300},vb=120,acodec=mp4a,ab=8,channels=1,fps=10}:standard{access=http,mux=asfh,dst=:7070} --sout-transcode-threads 4

On the client side I selected
File-> Open Network Stream > Http protocol selection and than localhost:7070

Unfortunately this combination seams doesn't work.

Any idea ?

Thank you


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests