NAL Units

About encoding, codec settings, muxers and filter usage
jaimed
Blank Cone
Blank Cone
Posts: 21
Joined: 16 Jun 2009 08:54

NAL Units

Postby jaimed » 29 Jul 2009 10:58

Hello

In another forum I was told that VLC doesn't generate the NAL units in the transcoding of a H264 video. This is essential for the new http live streaming from Apple, which uses a video segmenter that needs NAL Units between access units.

Is there a form it could generate these NAL units? maybe in the future?

ILEoo
Developer
Developer
Posts: 91
Joined: 05 Nov 2008 16:29

Re: NAL Units

Postby ILEoo » 30 Jul 2009 14:52

Are you sure they said that about NAL-units? or did they talk about aud?

chewb
New Cone
New Cone
Posts: 1
Joined: 10 Aug 2009 18:42

Re: NAL Units

Postby chewb » 10 Aug 2009 19:00

In "Tools" -> "Preferences", select "All" in the Show settings box to display the advanced options. Then go to "Input/Codecs" -> "Video Codecs" -> "x264", and at the bottom of the list, tick the "Access unit delimiters" box. This will generate the NAL units required by the segmenter.

jaimed
Blank Cone
Blank Cone
Posts: 21
Joined: 16 Jun 2009 08:54

Re: NAL Units

Postby jaimed » 17 Aug 2009 13:57

In "Tools" -> "Preferences", select "All" in the Show settings box to display the advanced options. Then go to "Input/Codecs" -> "Video Codecs" -> "x264", and at the bottom of the list, tick the "Access unit delimiters" box. This will generate the NAL units required by the segmenter.
Oh yes, it worked. Thanks a lot :)

jaimed
Blank Cone
Blank Cone
Posts: 21
Joined: 16 Jun 2009 08:54

Re: NAL Units

Postby jaimed » 17 Aug 2009 14:07

ummmm how can I set this in the command line?

I saw the option is "--sout-x264-aud", but don't know how to enter it in the following command:

Code: Select all

"/Applications/VLC.app/Contents/MacOS/VLC" -vvv -I dummy "/Users/ajln/Desktop/batman.mp4" --sout='#transcode{vcodec=h264,venc=x264{no-cabac,level=3.0,subme=5,trellis=1,merange=16,min-keyint=25,scenecut=40,ipratio=0.71,ratetol=20k,vbv-maxrate=96k,vbv-bufsize=96k,qcomp=0.6,qpmin=10,qpmax=51,qpstep=4,keyint=30,ref=1,deblock=0:0},scale=1,acodec=mp4a,ab=128,samplerate=48000,channels=2,width=320,height=240}:duplicate{dst=std{access=udp,mux=ts,dst=127.0.0.1:1234}}'

¿aud?

macwebcaster
New Cone
New Cone
Posts: 1
Joined: 08 Nov 2009 11:04

Re: NAL Units

Postby macwebcaster » 08 Nov 2009 11:07

How I enable this feature in MacOSX version? There is no tool menu in MacOSX version.
In "Tools" -> "Preferences", select "All" in the Show settings box to display the advanced options. Then go to "Input/Codecs" -> "Video Codecs" -> "x264", and at the bottom of the list, tick the "Access unit delimiters" box. This will generate the NAL units required by the segmenter.

forzaphil
New Cone
New Cone
Posts: 8
Joined: 06 Nov 2009 20:07

Re: NAL Units

Postby forzaphil » 09 Nov 2009 09:53

How I enable this feature in MacOSX version? There is no tool menu in MacOSX version
In the Mac version it's just "VLC " -> "Preferences", as there is no Tools menu.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 27 guests