faad2 icon indicating copy to clipboard operation
faad2 copied to clipboard

-w / stdout output: seems buggy

Open sdaoden opened this issue 6 months ago • 3 comments

Hello! It makes a difference whether i use -w or not in respect to whether the file is understood by play(1) aka sox(1), or not. If i compare the files there is a mismatch.

  • this is regardless of whether the output file is seekable (aka i thought the length field is simply not updated in -w mode, which may well be true nonetheless -- i did not actually look at the header).

  • it must be said that ogg123 can dump to wav in a way that play(1) works.

# faad -d -q -w -f1 orlovsky_trio.aac > /tmp/au
# # no
# play -t wav /tmp/au
play FAIL formats: can't open input file `/tmp/au': invalid chunk ID found
# # no
# faad  -d -q -w -f 1 orlovsky_trio.aac | play -t wav -

# # this works:
# ogg123 -q -d wav -f - richie_havens-freedom__woodstock_1969.ogg | play -t wav -

sdaoden avatar Aug 07 '24 15:08 sdaoden