Making Zeranoe builds work under XP & XP builds by rogerdpack

Any other issues that don't fit into the other problem categorizes.
minotech
Posts: 5
Joined: Sat Apr 09, 2016 10:05 pm

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby minotech » Sun Feb 26, 2017 11:06 pm

I found (GOOGLE) another source for FFMPEG.EXE that is WinXP compatible.

http://blog.k-tai-douga.com/category/359294-1.html
The 'AbeChin' version -- He seems to be located in China or Taiwan.

So, he has the FFMPEG.EXE file as an 'alone' download. Uses the word "LEGACY" as a reference for meaning WinXP compatible. The 'PROBE' and 'PLAYER' are listed as another download, and are also WinXP compatible.

Worked as a straight file replacement. I successfully extracted an MP3 from a MP4 (AAC = audio) AV source file. But I have not done much testing with it yet. But it looks okay.

Looks like 'AbeChin' is doing a monthly version of it. You might need to use GOOGLE TRANSLATOR to view the website. In any event, I was pleased to find this new source for FFMPEG.EXE that is WinXP compatible.

llogan
Posts: 309
Joined: Fri Mar 14, 2014 3:29 am

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby llogan » Wed Mar 08, 2017 7:45 pm

Out of curiosity, why are you still using XP?

manolito
Posts: 15
Joined: Wed Apr 20, 2016 4:02 pm

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby manolito » Thu Mar 09, 2017 3:09 am

You can find some pretty good reasons in this post:
viewtopic.php?f=2&t=2937&start=10#p11608

Cheers
manolito

CoRoNe
Posts: 11
Joined: Thu Aug 22, 2013 5:14 pm
Contact:

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby CoRoNe » Mon Mar 20, 2017 1:53 pm

I'm still rather new to compiling FFMpeg, but with the help of rogerdpack's ffmpeg-windows-build-helpers I've created 2 WinXP compatible builds:
ffmpeg-x86-N-84013-g95a72ae.exe (GnuTLS)
ffmpeg-x86-N-84014-g9e6b269_openssl.exe (OpenSSL)

In return I was wondering if someone on WinXP could test something for me.
As many of you probably know, Windows XP only supports TLS 1.0 encryption. More and more websites start to use TLS 1.2 encryption, which is only supported as of Windows 7. Watching TLS 1.2 encrypted websites in your browser is no issue, because most of them have build-in support.
FFMpeg compiled with GnuTLS or OpenSSL should in theory also support TLS 1.2 encrypted urls. Perhaps my Windows XP install is compromised, or the FFMpeg builds I made aren't working properly, but at the moment I can't open them. I constantly get:

Code: Select all

[https @ 04cabfe0] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[tls @ 04cadea0] Received incomplete handshake, need more data
...
[tls @ 04cadea0] Failed to read handshake response

The url I'd like you to test is from a Dutch TLS 1.2 encrypted livestream and has to be generated on-the-fly, because of expiring tokens. There's a chance this url doesn't work abroad. In that case I'm just out of luck.
You can use Youtube-dl or Xidel for the url extraction:

Code: Select all

FOR /F %A IN ('youtube-dl.exe -g "http://www.npo.nl/live/npo-1"') DO ffmpeg-x86-N-84013-g95a72ae.exe -hide_banner -v debug -i "%A"

FOR /F %A IN ('youtube-dl.exe -g "http://www.npo.nl/live/npo-1"') DO ffmpeg-x86-N-84014-g9e6b269_openssl.exe -hide_banner -v debug -i "%A"
or

Code: Select all

FOR /F %A IN ('xidel.exe -s --color=never "http://www.npo.nl/live/npo-1" -e "json(concat('http://ida.omroep.nl/app.php/',[email protected],'?token=',json('http://ida.omroep.nl/app.php/auth')/token))//url ! json(replace(.,'jsonp','json'))"') DO ffmpeg-x86-N-84013-g95a72ae.exe -hide_banner -v debug -i "%A"

FOR /F %A IN ('xidel.exe -s --color=never "http://www.npo.nl/live/npo-1" -e "json(concat('http://ida.omroep.nl/app.php/',[email protected],'?token=',json('http://ida.omroep.nl/app.php/auth')/token))//url ! json(replace(.,'jsonp','json'))"') DO ffmpeg-x86-N-84014-g9e6b269_openssl.exe -hide_banner -v debug -i "%A"

Could you then please tell me if you can open the url with these FFMpeg builds?

manolito
Posts: 15
Joined: Wed Apr 20, 2016 4:02 pm

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby manolito » Wed Mar 22, 2017 11:25 am

Tested all 4 possibilities, here are the results:

Note: I had to modify the command line by adding "usebackq" to it. I am under WinXP SP3 and my CPU does not support SSE2 (this is often an issue with XP compatible builds of FFmpeg).

F:\Download>ffmpeg-x86-N-84013-g95a72ae.exe -hide_banner -v debug -i "youtube-dl.exe"
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'youtube-dl.exe'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url youtube-dl.exe.
Successfully parsed a group of options.
Opening an input file: youtube-dl.exe.
[file @ 0540bba0] Setting default whitelist 'file,crypto'
youtube-dl.exe: No such file or directory


F:\Download>ffmpeg-x86-N-84014-g9e6b269_openssl.exe -hide_banner -v debug -i "youtube-dl.exe"
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'youtube-dl.exe'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url youtube-dl.exe.
Successfully parsed a group of options.
Opening an input file: youtube-dl.exe.
[file @ 0540bbe0] Setting default whitelist 'file,crypto'
youtube-dl.exe: No such file or directory


F:\Download>ffmpeg-x86-N-84013-g95a72ae.exe -hide_banner -v debug -i "xidel.exe"
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'xidel.exe'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url xidel.exe.
Successfully parsed a group of options.
Opening an input file: xidel.exe.
[file @ 0540bbc0] Setting default whitelist 'file,crypto'
xidel.exe: No such file or directory


F:\Download>ffmpeg-x86-N-84014-g9e6b269_openssl.exe -hide_banner -v debug -i "xidel.exe"
Splitting the commandline.
Reading option '-hide_banner' ... matched as option 'hide_banner' (do not show program banner) with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with argument 'debug'.
Reading option '-i' ... matched as input url with argument 'xidel.exe'.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option hide_banner (do not show program banner) with argument 1.
Applying option v (set logging level) with argument debug.
Successfully parsed a group of options.
Parsing a group of options: input url xidel.exe.
Successfully parsed a group of options.
Opening an input file: xidel.exe.
[file @ 0540bbe0] Setting default whitelist 'file,crypto'
xidel.exe: No such file or directory



Cheers
manolito

CoRoNe
Posts: 11
Joined: Thu Aug 22, 2013 5:14 pm
Contact:

Re: Making Zeranoe builds work under XP & XP builds by rogerdpack

Postby CoRoNe » Wed Mar 22, 2017 6:10 pm

Hello manolito,

I'm on WinXP SP3 with a non-SSE2 cpu as well, but I never have to use usebackq.
F:\Download>ffmpeg-x86-N-84013-g95a72ae.exe -hide_banner -v debug -i "youtube-dl.exe"

You forgot the very important /F switch! Without it "youtube-dl.exe -g "http://www.npo.nl/live/npo-1"" will be parsed as a string instead of a command. Obviously FFMpeg can't open "youtube-dl.exe" as input.


Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest