No sound recording HD from a tuner

About encoding, codec settings, muxers and filter usage
shasha
New Cone
New Cone
Posts: 7
Joined: 14 Sep 2009 12:39

No sound recording HD from a tuner

Postby shasha » 14 Sep 2009 13:02

Hi all,


Hope this community can help me. I am new here. After testing various options and reading forums I cannot find a solution to my problem.

I would like to record a tuner HD stream using VLC in with a command line. I use the following:
"c:\program files\videolan\vlc\vlc" dvb-t://frequency=xxxxxx000 :dvb-bandwidth=8 :program=xxxx :sout=:std
{access=file,mux=ts,dst=c:\myvideos\test1.ts}

It works well recording SD programs but with HD programs I got only the video.
The HD programs have a H264 codec for video and an eac3 for audio.
When I look at the ts file it contains only the video h264 stream.

Any idea? should I add a specific option for HD?

Thanks for your advices

Shasha

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: No sound recording HD from a tuner

Postby Jean-Baptiste Kempf » 18 Sep 2009 11:49

Can you share the log? Can you try to transcode the audio to ac3?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

shasha
New Cone
New Cone
Posts: 7
Joined: 14 Sep 2009 12:39

Re: No sound recording HD from a tuner

Postby shasha » 20 Sep 2009 01:46

Here is a log extract.

You can notice two errors:
mux_ts debug: adding input codec=eac3 pid=68
main error: cannot add this stream
ts debug: pid[21] unknown
main error: cannot create packetizer output (eac3)
Any idea?

Many thanks
Shasha

Code: Select all

ts debug: pid[220] unknown ts debug: pid[320] unknown ts debug: pid[120] unknown ts debug: pid[130] unknown ts debug: pid[231] unknown ts debug: pid[330] unknown ts debug: pid[230] unknown ts debug: pid[131] unknown ts debug: pid[331] unknown ts debug: pid[310] unknown ts debug: pid[210] unknown ts debug: pid[110] unknown ts debug: pid[140] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=5 version=2 current_next=1 ts debug: * number=0 pid=16 ts debug: * number=1281 pid=110 ts debug: * number=1282 pid=210 ts debug: * number=1283 pid=310 ts debug: PMTCallBack called ts debug: new PMT program number=1283 version=9 pid_pcr=320 ts warning: skipping program (not selected) ts debug: PMTCallBack called ts debug: new PMT program number=1282 version=7 pid_pcr=220 ts debug: * es pid=220 type=27 dr->i_tag=0x11 ts debug: * es pid=220 type=27 fcc=h264 main debug: selecting program id=1282 main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "packetizer_h264" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315) main debug: thread started ts debug: * es pid=231 type=6 dr->i_tag=0xa ts debug: * es pid=231 type=6 dr->i_tag=0x7a ts debug: found language: qaa ts debug: * es pid=231 type=6 fcc=eac3 main debug: looking for packetizer module: 21 candidates main debug: using packetizer module "a52" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315) main debug: thread started ts debug: * es pid=230 type=6 dr->i_tag=0xa ts debug: * es pid=230 type=6 dr->i_tag=0x7a ts debug: found language: fra ts debug: * es pid=230 type=6 fcc=eac3 qt4 debug: Updating the geometry ts debug: * es pid=240 type=6 dr->i_tag=0x59 ts debug: * es pid=240 type=6 fcc=dvbs ts warning: first packet for pid=231 cc=0xd qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry ts warning: first packet for pid=230 cc=0x4 main debug: Buffering 0% ts debug: PMTCallBack called ts debug: new PMT program number=1281 version=11 pid_pcr=120 ts warning: skipping program (not selected) qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry qt4 debug: Updating the geometry ts debug: PSINewTableCallBack: table 0x42(66) ext=0x5(5) ts debug: SDTCallBack called ts debug: new SDT ts_id=5 version=0 current_next=1 network_id=8442 ts debug: * service id=1281 eit schedule=0 present=1 running=4 free_ca=0 ts debug: * service id=1282 eit schedule=0 present=1 running=4 free_ca=0 ts debug: - type=1 provider=MR5 name=France 2 HD main debug: EsOutProgramMeta: number=1282 ts debug: * service id=1283 eit schedule=0 present=1 running=4 free_ca=0 main debug: switching to async mode packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 11% packetizer_h264 warning: waiting for SPS/PPS qt4 debug: New caching: 11 qt4 debug: New caching: 11 packetizer_h264 warning: waiting for SPS/PPS a52 info: A/52 channels:6 samplerate:48000 bitrate:256000 main debug: Buffering 23% main debug: adding a new sout input (sout_input:0x4d42d50) main debug: adding a new input mux_ts debug: adding input codec=eac3 pid=68 main error: cannot add this stream ts debug: pid[21] unknown main error: cannot create packetizer output (eac3) qt4 debug: New caching: 23 qt4 debug: New caching: 23 main debug: Buffering 34% qt4 debug: New caching: 34 qt4 debug: New caching: 34 ts debug: pid[1] unknown main debug: Buffering 46% qt4 debug: New caching: 46 qt4 debug: New caching: 46 packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 58% qt4 debug: New caching: 58 qt4 debug: New caching: 58 ts warning: first packet for pid=240 cc=0x8 packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 70% qt4 debug: New caching: 70 qt4 debug: New caching: 70 packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 81% qt4 debug: New caching: 81 ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x502(1282) qt4 debug: New caching: 81 packetizer_h264 warning: waiting for SPS/PPS main debug: Buffering 93% qt4 debug: New caching: 93 ts debug: pid[340] unknown qt4 debug: New caching: 93 ts debug: pid[141] unknown packetizer_h264 warning: waiting for SPS/PPS main debug: Stream buffering done (315 ms in 320 ms) qt4 debug: New caching: 100 packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS qt4 debug: New caching: 100 packetizer_h264 warning: waiting for SPS/PPS main debug: Decoder buffering done in 0 ms ts debug: pid[341] unknown packetizer_h264 warning: waiting for SPS/PPS ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x501(1281) packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS ts debug: PSINewTableCallBack: table 0x4e(78) ext=0x503(1283) packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 warning: waiting for SPS/PPS packetizer_h264 debug: found NAL_SPS (sps_id=0) packetizer_h264 debug: found NAL_PPS (pps_id=0 sps_id=0) main debug: adding a new sout input (sout_input:0x4da0b98) main debug: adding a new input mux_ts debug: adding input codec=h264 pid=69 mux_ts debug: new PCR PID is 69

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: No sound recording HD from a tuner

Postby Jean-Baptiste Kempf » 20 Sep 2009 01:58

We cannot mux eac3 into ts, it seems.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 14 guests