Comments (7)
Hello @pcolmer,
thanks for bringing this up. I'll look into it.
from mp3binder.
I believe xargs
messes thing up. I'm using this simple bash script to see what xargs
provides:
i=1;
for arg in "$@"
do
echo "Arg - $i: $arg";
i=$((i + 1));
done
Calling xargs
the way you provided results in:
FILELIST=$(xargs -d "\n" -a list.txt ls --quoting-style=c); ./foo.sh $FILELIST
Arg - 1: "
Arg - 2: sample2.mp3"
Arg - 3: "sample
Arg - 4: 1.mp3"
Arg - 5: "sample.
Arg - 6: 4.mp3"
Arg - 7: "silence
Arg - 8: copy.mp3"
Are you interested in an --input
option where you could provide the file directly?
from mp3binder.
Are you interested in an --input option where you could provide the file directly?
Yes, please :)
Thank you for taking the time to investigate xargs
and its behaviour.
If you are able to add an --input
option, that would be much appreciated!
from mp3binder.
Hello @pcolmer,
please check the latest pre-release and use the option --input
. There is no need to quote each line, but keep in mind that leading and tailing white spaces will be respected.
from mp3binder.
Hello @crra
Thank you for making this addition.
There is something about the created output file that Windows Media Player doesn't like, unfortunately. I can play it with VLC though.
Using mpck
(https://github.com/Sjord/checkmate) on the built file, it reports the following:
SUMMARY: foo.mp3
version MPEG v1.0
layer 3
average bitrate -21743 bps (VBR)
samplerate 44100 Hz
frames 2020051
time -743:-42.-869
unidentified 886 b (0%)
errors unidentified bytes
inconsistent frame headers
invalid header values
result Bad
If I use the same tool on the (397) source files, they are all reported OK.
I hope that helps. Please let me know if you need me to run anything else over the files.
from mp3binder.
Do you have a file to share to analyze?
from mp3binder.
@pcolmer I've moved the problem with the corrupt output file to a new issue (#23) so that we can close this one (different scope).
from mp3binder.
Related Issues (13)
- Unable to compile HOT 1
- Frame went over HOT 2
- When using -out it would be nice to use a variable for the filename HOT 2
- Output file corrupt HOT 5
- Add ability for chapters [feature request] HOT 24
- User error, I am sure HOT 4
- Converting issues HOT 1
- Tags containing , and "" quotation (like in --help) HOT 1
- Joining files just halts HOT 1
- Support spaces in tags without quotes
- Please rewite it again in rust ;)
- The merged file got warning with ffmpeg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mp3binder.