Skip to content

Transcoder is not working #258

@Neo-Ryo

Description

@Neo-Ryo

I tried to run the transcode_audio.rs deocode and encode an mp3 file and it fails with many error or warning output:

Here is the ffprobe output of the mp3 file I tried to use:

 Metadata:
    major_brand     : M4A 
    minor_version   : 512
    compatible_brands: M4A isomiso2
    title           : Big Buck Bunny, Sunflower version
    artist          : Blender Foundation 2008, Janus Bager Kristensen 2013
    genre           : Animation
    comment         : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
    encoder         : Lavf62.3.100
  Duration: 00:00:11.43, start: 0.025057, bitrate: 193 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 44100 Hz, stereo, fltp, 192 kb/s, start 0.025057
    Metadata:
      encoder         : Lavc62.11

and here are the logs I get with a broken output using no filter:

[out @ 0x818c40540] Option 'sample_fmts' is not a runtime option and so cannot be set after the object has been initialized
[out @ 0x818c40540] Tried to set option 'channel_layouts' of type (null) from value of type <channel_layout>, this is not supported
[out @ 0x818c40540] Option 'sample_rates' is not a runtime option and so cannot be set after the object has been initialized
+-----------+
|    in     |default--[44100Hz fltp:stereo]--Parsed_anull_0:default
| (abuffer) |
+-----------+

                                                      +---------------+
Parsed_anull_0:default--[44100Hz fltp:stereo]--default|      out      |
                                                      | (abuffersink) |
                                                      +---------------+

                                          +----------------+
in:default--[44100Hz fltp:stereo]--default| Parsed_anull_0 |default--[44100Hz fltp:stereo]--out:default
                                          |    (anull)     |
                                          +----------------+


[mp3float @ 0x819098380] Could not update timestamps for skipped samples.
[mp3float @ 0x819098380] Could not update timestamps for discarded samples.
cargo run . --a --transcode  0.22s user 0.05s system 26% cpu 0.992 total

Wondering if its normal, or what am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions