Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

print rtmpdump command to stdout? #1747

Closed
wyatt8740 opened this issue Nov 10, 2013 · 1 comment
Closed

print rtmpdump command to stdout? #1747

wyatt8740 opened this issue Nov 10, 2013 · 1 comment

Comments

@wyatt8740
Copy link

@wyatt8740 wyatt8740 commented Nov 10, 2013

Sorry if this is a dumb question, but I'm wondering if youtube-dl uses rtmpdump or librtmp. if it uses rtmpdump, could there be a way to make it print the arguments it uses to stdout? I'd like to use rtmpdump and pipe it directly into ffplay, and youtube-dl makes finding the necessary information for invoking rtmpdump so much easier.

@phihag
Copy link
Contributor

@phihag phihag commented Nov 11, 2013

We're using rtmpdump. Add -v/--verbose to see the command-line arguments:

$ youtube-dl -v http://www.roxwel.com/player/passionpittakeawalklive.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'http://www.roxwel.com/player/passionpittakeawalklive.html']
[debug] youtube-dl version 2013.11.07
[debug] Git HEAD: 801dbbd
[debug] Python version 2.7.5+ - Linux-3.4-trunk-amd64-x86_64-with-debian-jessie-sid
[debug] Proxy map: {}
[Roxwel] passionpittakeawalklive: Downloading video info
[Roxwel] passionpittakeawalklive: Extracting information
[Roxwel] passionpittakeawalklive: Downloading video url
[download] Destination: Take A Walk (live)-passionpittakeawalklive.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://rtmp.blastro.com/fl908/mp4:passionpittakeawalklive_2000.f4v?6f55b063ee4de84d260f4b4082d8851328b0db08470c18a551158db8b9cf24f8aa15259ba6105beba62c291330b5e35f67d11739ffbae9db65ffaaa9d9dc13378e48c45ecbadaafb181813ea385d14ceeb2fa59d9d0453a1b7b4e295221f632202fe8ecd0f19e508cf24a314b313a78f19bf612b6d28d825c61aced9bd855a7b9f15160c8457750307293bdfb3ec6d30' -o 'Take A Walk (live)-passionpittakeawalklive.flv.part' --resume --skip 1

Note that you can simply pipe the output of youtube-dl ... -o - to ffplay.

@phihag phihag closed this Nov 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.