Skip to main content

Notice

If you are using a Hotmail or Outlook email address, please change it now, as Microsoft is rejecting all email from our service outright.
Topic: Command-Line Decoder Wrapper (Read 20434 times) previous topic - next topic
0 Members and 3 Guests are viewing this topic.

Re: Command-Line Decoder Wrapper

Reply #25
hi, on components page, it has been updated to version 0.5 but it still shows version 0.4 on preferences page.

Re: Command-Line Decoder Wrapper

Reply #26
I have small suggestion. Would it be possible, to have in configuration of the plugin checkboxes next to each format name, similarly to what is present in foo_input_ffmpeg? That would allow for very convenient switching between wrapper / ffmpeg wrapper / native decoding of some formats  just by unchecking / checking boxes.

Re: Command-Line Decoder Wrapper

Reply #27
hi. trying to use this wrapper with youtube-dl.
made this configuration for file containing url(ex. :https://soundcloud.com/seppe-renders-184158590/dj-rendazz-ride-it-riddim-2020-ft)
X
it works, but playback starts when download finished.

i tried to change "decode command" from using temp file:
Code: [Select]
youtube-dl -a %s -o %d
to using stdout:
Code: [Select]
youtube-dl -a %s -o -

for instant playback,
but get this error:
Code: [Select]
Unable to open item for playback (Could not process decoded file: Object is not seekable):
"...\file.mpscyt"
is it possible to fix this ? (tried this command with vlc player - playing without errors)

 

Re: Command-Line Decoder Wrapper

Reply #28
Not sure what exactly you want to do... if you just want to download the mp3 from soundcloud with youtube-dl within foobar, maybe foo_run can help, see here.

Re: Command-Line Decoder Wrapper

Reply #29
I'm guessing the soundcloud high quality download script requires a seekable output file, so it won't work with stdout piping.

Re: Command-Line Decoder Wrapper

Reply #30
Not sure what exactly you want to do... if you just want to download the mp3 from soundcloud with youtube-dl within foobar, maybe foo_run can help, see here.

iam trying to figure out way to play files from soundcloud, without downloading them first, cause foo_youtube refuse to do it
(for example https://soundcloud.com/user-214161121/nomad):
Code: [Select]
[14:22:22] Opening track for playback: "soundcloud.com/user-214161121/nomad"
[14:22:27] foo_youtube: [warning] unexpected 'ext' field: wav
[14:22:27] foo_youtube: [audio] opening 93mb 2756kbps
[14:22:29] foo_youtube: [error] Invalid data found when processing input
[14:22:29] foo_youtube: [warning] [audio] opening, decoder foo_youtube: Invalid data found when processing input
[14:22:29] foo_youtube: [warning] [audio] opening, decoder foobar2000: Unsupported file format
[14:22:31] foo_youtube: [error] Invalid data found when processing input
[14:22:31] foo_youtube: [warning] [audio] opening, decoder ffmpeg: Invalid data found when processing input
[14:22:31] Unable to open item for playback (Youtube Source: foo_youtube: Invalid data found when processing input | foobar2000: Unsupported file format | ffmpeg: Invalid data found when processing input):
"soundcloud.com/user-214161121/nomad"
.

youtube-dl gives valid link:
Code: [Select]
youtube-dl -g https://soundcloud.com/user-214161121/nomad
https://cf-media.sndcdn.com/yOlShEjXelNX?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20veU9sU2hFalhlbE5YIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjEwNzk2NDI1fX19XX0_&Signature=OY2HcMtg3KKbrFE1uvYilkw6XcpCauf6IfHuwWpmC5NKZD7QtqrWPNlbSG8NHxmKJuaYrXiZMVgRBuJflld99Jyqd~YCGOmdJKU8~DFtsmc7T0azMqXEd4TbjadR9SpJdmzSqR1ug4giDaP3ECataREVrqEn-mMDyJYwO7Tb~35Jq~3EhOjy3fqfgPwQBTQr2iJmmeNOUqwQqMhElb3FD0QN13LUb23VeHlHeTM-64ZAFGDwybxvemT5wkv9M~J1IJ94ptrMEZHWp6RBOEjoDvtsLiOIDjZ8NuZ5GeFtfJuXbw76mxMfnCuVzYbB5yCTM3xvw3G~pOzKh7qZoHI~iQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ

and foobar opens it without problems:
Code: [Select]
[14:26:51] Opening track for playback: "https://cf-media.sndcdn.com/yOlShEjXelNX?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20veU9sU2hFalhlbE5YIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjEwNzk2NDI1fX19XX0_&Signature=OY2HcMtg3KKbrFE1uvYilkw6XcpCauf6IfHuwWpmC5NKZD7QtqrWPNlbSG8NHxmKJuaYrXiZMVgRBuJflld99Jyqd~YCGOmdJKU8~DFtsmc7T0azMqXEd4TbjadR9SpJdmzSqR1ug4giDaP3ECataREVrqEn-mMDyJYwO7Tb~35Jq~3EhOjy3fqfgPwQBTQr2iJmmeNOUqwQqMhElb3FD0QN13LUb23VeHlHeTM-64ZAFGDwybxvemT5wkv9M~J1IJ94ptrMEZHWp6RBOEjoDvtsLiOIDjZ8NuZ5GeFtfJuXbw76mxMfnCuVzYbB5yCTM3xvw3G~pOzKh7qZoHI~iQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ"
X
but only once, next time:
Code: [Select]
[14:30:28] Unable to open item for playback (Access denied):
"https://cf-media.sndcdn.com/yOlShEjXelNX?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20veU9sU2hFalhlbE5YIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNjEwNzkzMTk5fX19XX0_&Signature=XMgHDPp9VBRaRsDK12IyBF~62Uh6aPioHPce2j0w5par2RhiWD8pdAjrxgxxY6XC7bOB9NQRqgwPnR35-c1M-4uRFq6oa8VNSb7HqaB1NVyAjUAE2EKAOlYCPTt5ekFptZET3wHGM1PGIeSWcqUaV8jcmgiptoc69XT5yJ0U-c7HtaxObAL6NmF4f6V8JWbfH4gvmAAi08UF1ymjZK~F2ywdCTy8mRef3tb4XHXStLsjwV32pTG7grfX4VxtMgmLfsaWirmM9BmaJauAqNug79OhwU8ddw3LF2HndL7gmH4NCX5-WUrGcbPwi4ANFvV3bdfcpc~aWqRV4XDn3af2Cg__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ"

thats why i tried to use Command-Line Decoder Wrapper as described above. i need somehow to extract valid link when playback starts and supply it to foobar.

Re: Command-Line Decoder Wrapper

Reply #31
I can play your link without any problems in foobar via File -> Youtube Source -> Add Multiple URLs...  It is played as mp3 (I have seen that it is as well available as wav from soundcloud).
Are you sure you are having latest foo_youtube and youtube-dl installed?


Re: Command-Line Decoder Wrapper

Reply #33
Sure - plays flawless with 320 kbps on my side

 
SimplePortal 1.0.0 RC1 © 2008-2021