Rip to FLAC won't play back

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
tomleonard
Blank Cone
Blank Cone
Posts: 30
Joined: 21 Feb 2004 04:16
Location: Kona, Hawaii, US
Contact:

Rip to FLAC won't play back

Postby tomleonard » 22 Feb 2008 06:48

I'm using vlc0.8.6d on xp home. When I rip an audio cd track to flac, I get what appears to be a good file, but it won't play in vlc. My streaming parameters are:

:sout=#transcode{acodec=flac,ab=192,channels=2}:duplicate{dst=std{access=file,mux=ogg,dst="C:\Documents and Settings\Tom\Desktop\Test.flac"}}

When I try to play the file back I get a repeating error: flacdec error: This stream uses too many audio channels

Here is the log data.

Code: Select all

main debug: adding playlist item `C:\Documents and Settings\Tom\Desktop\Test.flac' ( C:\Documents and Settings\Tom\Desktop\Test.flac ) main debug: creating new input thread main debug: waiting for thread completion main debug: drive letter C: found in source main debug: `C:\Documents and Settings\Tom\Desktop\Test.flac' gives access `' demux `' path `C:\Documents and Settings\Tom\Desktop\Test.flac' main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Tom\Desktop\Test.flac' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "any" main debug: creating access '' path='C:\Documents and Settings\Tom\Desktop\Test.flac' main debug: looking for access2 module: 4 candidates vcd debug: trying .cue file: C:\Documents and Settings\Tom\Desktop\Test.cue vcd debug: could not find .cue file access_file debug: opening file `C:\Documents and Settings\Tom\Desktop\Test.flac' main debug: using access2 module "access_file" main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 232503 kbytes/s main debug: creating demux: access='' demux='' path='C:\Documents and Settings\Tom\Desktop\Test.flac' main debug: looking for demux2 module: 44 candidates main debug: thread 4244 (input) created at priority 1 (input/input.c:265) main debug: using demux2 module "ogg" main debug: looking for a subtitle file in C:\Documents and Settings\Tom\Desktop\ main debug: `C:\Documents and Settings\Tom\Desktop\Test.flac' successfully opened ogg debug: found FLAC header main debug: selecting program id=0 main debug: looking for decoder module: 26 candidates main debug: using decoder module "flacdec" main debug: thread 4488 (decoder) created at priority 2 (input/decoder.c:159) ogg debug: beginning of a group of logical streams ogg debug: FLAC STREAMINFO metadata too short main debug: removing module "flacdec" main debug: thread times: real 0m0.015625s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 4488 joined (input/decoder.c:191) main debug: killing decoder fourcc `flac', 0 PES in FIFO main debug: looking for decoder module: 26 candidates main debug: using decoder module "flacdec" main debug: thread 4488 (decoder) created at priority 2 (input/decoder.c:159) flacdec debug: decode STREAMINFO flacdec debug: STREAMINFO decoded flacdec error: This stream uses too many audio channels flacdec debug: decode STREAMINFO flacdec debug: STREAMINFO decoded flacdec error: This stream uses too many audio channels . . repeats until end of input .
I get the same error if I use "raw" encapsulation.

What am I doing wrong?

Thanks,

Tom

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Rip to FLAC won't play back

Postby VLC_help » 22 Feb 2008 18:42

ogg debug: FLAC STREAMINFO metadata too short
does it help if you recode those file using another flac encoder?

tomleonard
Blank Cone
Blank Cone
Posts: 30
Joined: 21 Feb 2004 04:16
Location: Kona, Hawaii, US
Contact:

Re: Rip to FLAC won't play back

Postby tomleonard » 22 Feb 2008 20:43

I can rip and encode using CDex and play the resulting flac file in vlc just fine. The only error I see is that about 20 initial buffers are lost in the playback. I am using CDex version 1.70 beta 2, and the in_flac.dll supplied with the program. The CDex version is dated June, 2006, so the flac encoder can't be newer than 1.1.2 .

Tom

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Rip to FLAC won't play back

Postby funman » 23 Feb 2008 12:23

libflac encoder is broken in VLC, you should try ffmpeg flac encoder, i don't remember the exact syntax, it must be something like adding ,aenc=ffmpeg,acodec=flac


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests