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

Render Subtitle after Download [crunchyroll] #8824

Closed
kitokirisaki opened this issue Mar 11, 2016 · 20 comments
Closed

Render Subtitle after Download [crunchyroll] #8824

kitokirisaki opened this issue Mar 11, 2016 · 20 comments

Comments

@kitokirisaki
Copy link

@kitokirisaki kitokirisaki commented Mar 11, 2016

Hey.

If i download a video by crunchyroll with the comand [youtube-dl -u$USER $LINK --sub-lang deDE --write-sub --sub-format ass --embed-subs].

How can i make it that the video render after download?

Sorry for my bad english.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 11, 2016

What do you mean by "make it that the video render after download"?

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented Mar 11, 2016

If i download the video i get tow files *.flv and *.ass. And then i need to render it to one file (mp4) with subtitle.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 11, 2016

Use --recode-video mp4.

@dstftw dstftw closed this Mar 11, 2016
@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented Mar 11, 2016

if i try this. i get: ERROR: [aac @ 0x12941e0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Mar 11, 2016

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.

The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented Mar 11, 2016

$ youtube-dl -uzogneas http://www.crunchyroll.com/rokka-braves-of-the-six-flowers- --sub-lang deDE --write-sub --sub-format ass --embed-subs --recode-video mp4 -v

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-uUSER', u'http://www.crunchyroll.com/rokka-braves-of-the-six-flowers-', u'--sub-lang', u'deDE', u'--write-sub', u'--sub-format', u'ass', u'--embed-subs', u'--recode-video', u'mp4', u'-v']
Type account password and press [Return]:
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.03.06
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.3
[debug] exe versions: ffmpeg 2.8.6-1, ffprobe 2.8.6-1, rtmpdump 2.4
[debug] Proxy map: {}
[crunchyroll:playlist] Logging in
[crunchyroll:playlist] rokka-braves-of-the-six-flowers-: Downloading webpage
[download] Downloading playlist: Rokka -Braves of the Six Flowers-
[crunchyroll:playlist] playlist Rokka -Braves of the Six Flowers-: Collected 12 video ids (downloading 12 of them)
[download] Downloading video 1 of 12
[Crunchyroll] Logging in
[Crunchyroll] 682217: Downloading webpage
[Crunchyroll] 682217: Downloading media info
[Crunchyroll] 682217: Downloading media info for 360p
[Crunchyroll] 682217: Downloading media info for 480p
[Crunchyroll] 682217: Downloading media info for 720p
[Crunchyroll] 682217: Downloading media info for 1080p
[Crunchyroll] 682217: Downloading subtitles for English (US)
[Crunchyroll] 682217: Downloading subtitles for Español
[Crunchyroll] 682217: Downloading subtitles for Español (España)
[Crunchyroll] 682217: Downloading subtitles for Français (France)
[Crunchyroll] 682217: Downloading subtitles for Português (Brasil)
[Crunchyroll] 682217: Downloading subtitles for العربية
[Crunchyroll] 682217: Downloading subtitles for Italiano
[Crunchyroll] 682217: Downloading subtitles for Deutsch
[info] Writing video subtitles to: Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.deDE.ass
[debug] Invoking downloader on u'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEcBaLbZcVbEdBbwbacqcRcddadEaadEd7-bw4WlO-dHa-sAKxmsOBxxB&aifp=0009&slist=c18/s/ve1881609/video.mp4'
[download] Destination: Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.flv
[debug] rtmpdump command line: rtmpdump --verbose -r 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEcBaLbZcVbEdBbwbacqcRcddadEaadEd7-bw4WlO-dHa-sAKxmsOBxxB&aifp=0009&slist=c18/s/ve1881609/video.mp4' -o 'Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.flv.part' --playpath mp4:c18/s/ve1881609/video.mp4 --resume --skip 1
[rtmpdump] RTMPDump v2.4
rtmpdump 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
[rtmpdump] DEBUG: Parsing...
[rtmpdump] DEBUG: Parsed protocol: 2
[rtmpdump] DEBUG: Parsed host : cp150757.edgefcs.net
[rtmpdump] DEBUG: Parsed app : ondemand/?auth=daEcBaLbZcVbEdBbwbacqcRcddadEaadEd7-bw4WlO-dHa-sAKxmsOBxxB&aifp=0009&slist=c18/s/ve1881609/video.mp4
[rtmpdump] DEBUG: Number of skipped key frames for resume: 1
[rtmpdump] DEBUG: Protocol : RTMPE
[rtmpdump] DEBUG: Hostname : cp150757.edgefcs.net
[rtmpdump] DEBUG: Port : 1935
[rtmpdump] DEBUG: Playpath : mp4:c18/s/ve1881609/video.mp4
[rtmpdump] DEBUG: tcUrl : rtmpe://cp150757.edgefcs.net:1935/ondemand/?auth=daEcBaLbZcVbEdBbwbacqcRcddadEaadEd7-bw4WlO-dHa-sAKxmsOBxxB&aifp=0009&slist=c18/s/ve1881609/video.mp4
[rtmpdump] DEBUG: app : ondemand/?auth=daEcBaLbZcVbEdBbwbacqcRcddadEaadEd7-bw4WlO-dHa-sAKxmsOBxxB&aifp=0009&slist=c18/s/ve1881609/video.mp4
[rtmpdump] DEBUG: live : no
[rtmpdump] DEBUG: timeout : 30 sec
[rtmpdump] DEBUG: Setting buffer time to: 36000000ms
[rtmpdump] Connecting ...
[rtmpdump] DEBUG: RTMP_Connect1, ... connected, handshaking
[rtmpdump] DEBUG: HandShake: Client type: 06
[rtmpdump] DEBUG: HandShake: DH pubkey position: 472
[rtmpdump] DEBUG: HandShake: Client digest offset: 1383
[rtmpdump] DEBUG: HandShake: Initial client digest:
[rtmpdump] DEBUG: c1 d7 a4 07 e6 70 23 df ab d3 d5 5b be ab 2f e7
[rtmpdump] DEBUG: a4 8c 76 66 04 3e 62 89 1e 72 4e 94 e5 aa 07 6b
[rtmpdump] DEBUG: HandShake: Type Answer : 08
[rtmpdump] WARNING: HandShake: Type mismatch: client sent 6, server answered 8
[rtmpdump] DEBUG: HandShake: Server Uptime : 1432924494
[rtmpdump] DEBUG: HandShake: FMS Version : 5.0.7.1
[rtmpdump] DEBUG: HandShake: Server DH public key offset: 148
[rtmpdump] DEBUG: HandShake: Secret key:
[rtmpdump] DEBUG: 67 46 27 9e 44 4e e9 2e ee f4 95 04 ec f0 fc 17
[rtmpdump] DEBUG: 05 88 96 4f ca 84 4e 8c 8a 07 d8 5a 56 14 01 3f
[rtmpdump] DEBUG: b9 be b5 0a 54 26 db c7 bf a8 54 cc d8 ea b3 c9
[rtmpdump] DEBUG: 70 9f 93 8b 22 5c d4 76 0d c9 32 34 79 d5 dd 2d
[rtmpdump] DEBUG: 70 62 f8 5b 9e 46 dd ec fe 4e b0 43 01 e8 e9 3d
[rtmpdump] DEBUG: c2 f3 6a 56 bf 53 1b 39 e8 cb 60 8e e6 b8 49 ce
[rtmpdump] DEBUG: 3c c8 79 09 14 4a 06 0b c0 f0 1f 8b ea fb 04 59
[rtmpdump] DEBUG: 4b 02 64 59 fa aa c4 f8 00 97 84 36 92 02 1f 81
[rtmpdump] DEBUG: RC4 Out Key:
[rtmpdump] DEBUG: 79 f3 a3 22 1a 63 40 78 94 6f 2e 46 1a 71 5b 15
[rtmpdump] DEBUG: RC4 In Key:
[rtmpdump] DEBUG: 89 1a c7 f6 93 85 bc bf 1e 2c 9e c8 68 92 90 89
[rtmpdump] DEBUG: HandShake: Calculated digest key from secure key and server digest:
[rtmpdump] DEBUG: 1b be 09 e1 45 09 eb 06 87 1d 76 e1 93 13 b8 ce
[rtmpdump] DEBUG: 38 5d e0 90 37 15 af 13 0c 5e fe 0b 91 2a 0a 5c
[rtmpdump] DEBUG: HandShake: Client signature calculated:
[rtmpdump] DEBUG: 6d 56 8a 77 5a 5f 3c 77 6d bb 80 16 76 98 c6 69
[rtmpdump] DEBUG: ad c2 4d 7d f5 97 bd dc ee 07 f4 21 0f b8 4f 5a
[rtmpdump] DEBUG: HandShake: Server sent signature:
[rtmpdump] DEBUG: b0 78 2b 17 4b f3 af fe 5e 11 8f d6 d0 2b 0a 75
[rtmpdump] DEBUG: 95 98 f1 02 bf ac d5 f5 58 be 4b 19 fb 1c 58 40
[rtmpdump] DEBUG: HandShake: Digest key:
[rtmpdump] DEBUG: bc a4 8a 59 52 77 48 0b 72 04 b2 19 6a 6c 82 bd
[rtmpdump] DEBUG: 31 d4 49 37 e5 c6 da ea 6e 12 20 28 70 67 dd e2
[rtmpdump] DEBUG: HandShake: Signature calculated:
[rtmpdump] DEBUG: b0 78 2b 17 4b f3 af fe 5e 11 8f d6 d0 2b 0a 75
[rtmpdump] DEBUG: 95 98 f1 02 bf ac d5 f5 58 be 4b 19 fb 1c 58 40
[rtmpdump] DEBUG: HandShake: Genuine Adobe Flash Media Server
[rtmpdump] DEBUG: HandShake: Handshaking finished....
[rtmpdump] DEBUG: RTMP_Connect1, handshaked
[rtmpdump] DEBUG: Invoking connect
[rtmpdump] INFO: Connected...
[rtmpdump] DEBUG: HandleServerBW: server BW = 1250000
[rtmpdump] DEBUG: HandleClientBW: client BW = 1250000 2
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 242 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: fmsVer, STRING: FMS/5,0,7,7054>
[rtmpdump] DEBUG: Property: <Name: capabilities, NUMBER: 127.00>
[rtmpdump] DEBUG: Property: <Name: mode, NUMBER: 1.00>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: level, STRING: status>
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Success>
[rtmpdump] DEBUG: Property: <Name: description, STRING: Connection succeeded.>
[rtmpdump] DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
[rtmpdump] DEBUG: Property: <Name: data, ECMA_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: version, STRING: 5,0,7,7054>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: Invoking createStream
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking
[rtmpdump] DEBUG: Invoking _checkbw
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 29 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_result>
[rtmpdump] DEBUG: HandleInvoke, received result for method call
[rtmpdump] DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:c18/s/ve1881609/video.mp4
[rtmpdump] DEBUG: Invoking play
[rtmpdump] DEBUG: sending ctrl. type: 0x0003
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 10275 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 20515 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 4, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream IsRecorded 1
[rtmpdump] DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 0, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream Begin 1
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 192 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: level, STRING: status>
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetStream.Play.Reset>
[rtmpdump] DEBUG: Property: <Name: description, STRING: Playing and resetting c18/s/ve1881609/video.mp4.>
[rtmpdump] DEBUG: Property: <Name: details, STRING: c18/s/ve1881609/video.mp4>
[rtmpdump] DEBUG: Property: <Name: clientid, STRING: rAALwpFA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Reset
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 186 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: level, STRING: status>
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetStream.Play.Start>
[rtmpdump] DEBUG: Property: <Name: description, STRING: Started playing c18/s/ve1881609/video.mp4.>
[rtmpdump] DEBUG: Property: <Name: details, STRING: c18/s/ve1881609/video.mp4>
[rtmpdump] DEBUG: Property: <Name: clientid, STRING: rAALwpFA>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Start
[rtmpdump] Starting download at: 0.000 kB
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 24 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: ignoring too small audio packet: size: 0
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 44 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetStream.Data.Start>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 30755 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 40995 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: notify 494 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: duration, NUMBER: 1420.13>
[rtmpdump] DEBUG: Property: <Name: moovPosition, NUMBER: 32.00>
[rtmpdump] DEBUG: Property: <Name: width, NUMBER: 1920.00>
[rtmpdump] DEBUG: Property: <Name: height, NUMBER: 1080.00>
[rtmpdump] DEBUG: Property: <Name: videocodecid, STRING: avc1>
[rtmpdump] DEBUG: Property: <Name: audiocodecid, STRING: mp4a>
[rtmpdump] DEBUG: Property: <Name: avcprofile, NUMBER: 100.00>
[rtmpdump] DEBUG: Property: <Name: avclevel, NUMBER: 40.00>
[rtmpdump] DEBUG: Property: <Name: aacaot, NUMBER: 2.00>
[rtmpdump] DEBUG: Property: <Name: videoframerate, NUMBER: 23.98>
[rtmpdump] DEBUG: Property: <Name: audiosamplerate, NUMBER: 44100.00>
[rtmpdump] DEBUG: Property: <Name: audiochannels, NUMBER: 2.00>
[rtmpdump] DEBUG: Property: <Name: trackinfo, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: length, NUMBER: 17023500.00>
[rtmpdump] DEBUG: Property: <Name: timescale, NUMBER: 11988.00>
[rtmpdump] DEBUG: Property: <Name: language, STRING: und>
[rtmpdump] DEBUG: Property: <Name: sampledescription, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: sampletype, STRING: avc1>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: length, NUMBER: 62627840.00>
[rtmpdump] DEBUG: Property: <Name: timescale, NUMBER: 44100.00>
[rtmpdump] DEBUG: Property: <Name: language, STRING: und>
[rtmpdump] DEBUG: Property: <Name: sampledescription, STRICT_ARRAY>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: sampletype, STRING: mp4a>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] INFO: Metadata:
[rtmpdump] INFO: duration 1420.13
[rtmpdump] INFO: moovPosition 32.00
[rtmpdump] INFO: width 1920.00
[rtmpdump] INFO: height 1080.00
[rtmpdump] INFO: videocodecid avc1
[rtmpdump] INFO: audiocodecid mp4a
[rtmpdump] INFO: avcprofile 100.00
[rtmpdump] INFO: avclevel 40.00
[rtmpdump] INFO: aacaot 2.00
[rtmpdump] INFO: videoframerate 23.98
[rtmpdump] INFO: audiosamplerate 44100.00
[rtmpdump] INFO: audiochannels 2.00
[rtmpdump] INFO: trackinfo:
[rtmpdump] INFO: length 17023500.00
[rtmpdump] INFO: timescale 11988.00
[rtmpdump] INFO: language und
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO: sampletype avc1
[rtmpdump] INFO: length 62627840.00
[rtmpdump] INFO: timescale 44100.00
[rtmpdump] INFO: language und
[rtmpdump] INFO: sampledescription:
[rtmpdump] INFO: sampletype mp4a
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 51235 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 61475 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 71717 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 81957 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 92197 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 102437 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 112677 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 122917 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 133157 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 143397 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 153637 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 163877 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[download] 64.00KiB at Unknown speed (00:01)
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 174117 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 184357 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[download] 448.00KiB at Unknown speed (00:02)
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 194597 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwcheck>
[rtmpdump] DEBUG: Invoking _result
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 40 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking <_onbwdone>
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetStream.Play.Complete>
[rtmpdump] DEBUG: Property: <Name: level, STRING: status>
[rtmpdump] DEBUG: Property: <Name: duration, NUMBER: 465.00>
[rtmpdump] DEBUG: Property: <Name: bytes, NUMBER: 569222568.00>
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleCtrl, received ctrl. type: 1, len: 6
[rtmpdump] DEBUG: HandleCtrl, Stream EOF 1
[rtmpdump] DEBUG: RTMP_ClientPacket, received: invoke 196 bytes
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: NULL
[rtmpdump] DEBUG: (object begin)
[rtmpdump] DEBUG: Property: <Name: level, STRING: status>
[rtmpdump] DEBUG: Property: <Name: code, STRING: NetStream.Play.Stop>
[rtmpdump] DEBUG: Property: <Name: description, STRING: Stopped playing c18/s/ve1881609/video.mp4.>
[rtmpdump] DEBUG: Property: <Name: details, STRING: c18/s/ve1881609/video.mp4>
[rtmpdump] DEBUG: Property: <Name: clientid, STRING: qAAtwoFA>
[rtmpdump] DEBUG: Property: <Name: reason, STRING: >
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: (object end)
[rtmpdump] DEBUG: HandleInvoke, server invoking
[rtmpdump] DEBUG: HandleInvoke, onStatus: NetStream.Play.Stop
[rtmpdump] DEBUG: Invoking deleteStream
[rtmpdump] DEBUG: Got Play.Complete or Play.Stop from server. Assuming stream is complete
[download] 99.9% of ~543.40MiB at 1.16MiB/s ETA 00:00
[rtmpdump] DEBUG: RTMP_Read returned: 9020
[rtmpdump] Download complete
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 569222180 bytes
[download] 100% of 542.85MiB
[ffmpeg] Converting video from flv to mp4, Destination: Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.mp4
[debug] ffmpeg command line: ffmpeg -y -i 'file:Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.flv' 'file:Rokka - Die Helden der sechs Blumen Folge 1 – Der stärkste Mann auf Erden-682217.mp4'
ERROR: [aac @ 0x1d1a1e0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1764, in post_process
files_to_delete, info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 312, in run
self.run_ffmpeg(path, outpath, options)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 159, in run_ffmpeg
self.run_ffmpeg_multiple_files([path], out_path, opts)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 155, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

@dstftw can you help me with this problem?

if you need more informations i can give it you.

Sorry for bad English.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

Update ffmpeg or use --postprocessor-args '-strict -2'.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

Thanks.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

@dstftw But now I have the Problem, that the video is without subtile. My Comand is: youtube-dl -uUSER http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401 -f best --sub-lang deDE --write-sub --sub-format ass --embed-subs --recode-video mp4 -v

But ffmpeg don't render the video with subtile.

[...]
[K[download] 99.9% of ~578.90MiB at 1.20MiB/s ETA 00:00
[rtmpdump] DEBUG: RTMP_Read returned: 0
[rtmpdump] Download complete
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 606415254 bytes

�[K[download] 100% of 578.32MiB
[ffmpeg] Converting video from flv to mp4, Destination: Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4
[debug] ffmpeg command line: ffmpeg -y -i 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.flv' 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4'

ERROR: Press [q] to stop, [?] for help
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1782, in post_process
files_to_delete, info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 382, in run
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 168, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

@dstftw

youtube-dl -uUSER http://www.crunchyroll.com/rezero-starting-life-in-another-world-/rezero-starting-life-in-another-world-das-ende-vom-anfang-und-der-anfang-vom-ende-teil-1-702401 -f best --sub-lang deDE --write-sub --sub-format ass --embed-subs --recode-video mp4 -v

log.txt

[K[download] 99.9% of ~578.90MiB at 1.20MiB/s ETA 00:00
[rtmpdump] DEBUG: RTMP_Read returned: 0
[rtmpdump] Download complete
[rtmpdump] DEBUG: Closing connection.
[rtmpdump] 606415254 bytes

�[K[download] 100% of 578.32MiB
[ffmpeg] Converting video from flv to mp4, Destination: Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4
[debug] ffmpeg command line: ffmpeg -y -i 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.flv' 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4'
Deleting original file Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.flv (pass -k to keep)
[ffmpeg] Embedding subtitles in 'Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.mp4' -i 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.deDE.ass' -map 0 -c copy -map -0:s -c:s mov_text -map 1:0 -metadata:s:s:0 language=deu 'file:Re -ZERO -Starting Life in Another World- Folge 1A – Das Ende vom Anfang und der Anfang vom Ende (Teil 1)-702401.temp.mp4'

ERROR: Press [q] to stop, [?] for help
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1782, in post_process
files_to_delete, info = pp.run(info)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 382, in run
self.run_ffmpeg_multiple_files(input_files, temp_filename, opts)
File "/usr/local/bin/youtube-dl/youtube_dl/postprocessor/ffmpeg.py", line 168, in run_ffmpeg_multiple_files
raise FFmpegPostProcessorError(msg)
FFmpegPostProcessorError

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

Not a full output.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

sorry I thought I prefer to send anything. Need something?

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

Full untrimmed log.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

Versions info is missing.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented May 27, 2016

youtube-dl -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.21.2
[debug] Python version 2.7.9 - Linux-3.16.0-4-amd64-x86_64-with-debian-8.4
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2, rtmpdump 2.4
[debug] Proxy map: {}
Usage: youtube-dl [OPTIONS] URL [URL...]

youtube-dl: error: You must provide at least one URL.
Type youtube-dl --help to see a list of all options.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented May 27, 2016

ffmpeg just crashes. You should report this to them. Or embed srt instead.

@kitokirisaki
Copy link
Author

@kitokirisaki kitokirisaki commented Jun 7, 2016

If i use the srt format, the subtitle don't embed. It is possible, to implement the following FFMPEG Command for ass subtitles

ffmpeg -i $INPUT.mp4 -c:a copy -vf ass=$ASSFILE $OUTPUTFILE.mp4

@dstftw i check my ffmpeg and i use the command and it work fine.

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.