Menu

#434 ERROR: got partial sample

1.3.1
closed-invalid
Erik
None
6
2015-10-04
2015-10-03
Kdmeizk
No

I tried to convert / copy as raw format an AAC stream contained in a video .MP4. Here is the message, attached.

1 Attachments

Discussion

  • Erik

    Erik - 2015-10-03

    Please do not post error messages as image files. Instead, pipe the output to a file an paste the text in the bug tracker.

    What command line are you running?

    Thats said, I looks like you are converting an MP4 file. How do you know its the FLAC executable that generating that error and not whatever program is decoding the MP4?

     
  • Kdmeizk

    Kdmeizk - 2015-10-03

    I use only flac.exe, available on the author's website.

    Here is the command line :

    flac.exe --warnings-as-errors --verify --no-padding --best --exhaustive-model-search --max-lpc-order=12 --qlp-coeff-precision-search --rice-partition-order=8 --endian=little --channels=2 --bps=16 --sample-rate=48000 --sign=signed --force-raw-format

    -------------------OR-----------------

    flac.exe --warnings-as-errors --verify --no-padding --best --exhaustive-model-search --max-lpc-order=12 --qlp-coeff-precision-search --rice-partition-order=8 --endian=little --channels=2 --bps=16 --sample-rate=48000 --sign=signed

    I tested with VLC, the process works with it to copy as .RAW.

     

    Last edit: Kdmeizk 2015-10-03
  • lvqcl

    lvqcl - 2015-10-03

    Options "--channels=2 --bps=16" mean that the input size must be a multiple of 4.

     
  • Erik

    Erik - 2015-10-03

    Why are you trying to encode a raw MP4 file as FLAC?

    Also @lvqcl is completely correct. When encoding with the channel and bps parameters you set, the length of the file must be a multiple of 4.

     
  • Erik

    Erik - 2015-10-03
    • status: open --> closed-invalid
    • assigned_to: Erik
     
  • Kdmeizk

    Kdmeizk - 2015-10-04

    It was to edit the sound with Audacity, but I completely forgot a library is existing to manage AAC/M4A. That's why I assume flac.exe can't manage/convert this kind of file.

    And, the size of the file wasn't ask for a RAW file, and it works without this setting. Also, I don't understand why the file must be larger than the RAW file, which is an "original" sound.

     
  • lvqcl

    lvqcl - 2015-10-04

    It doesn't make sense. FLAC is an encoder. It cannot decode AAC, and it cannot parse MP4 container.

    And it also makes no sense to convert AAC to FLAC.

     
  • Kdmeizk

    Kdmeizk - 2015-10-04

    There was a sense for me in my mind, but it was a false way.

    AAC to FLAC was for compatibility with Audacity only. But as I mentioned before, I forgot FFmpeg can handle AAC/MP4, if its library is included with Audacity.

     

Log in to post a comment.