#3720(undetermined:new): Support decoding of Xunlei XV file
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------- Reporter: ElDimentio | Type: Status: new | enhancement Component: | Priority: wish undetermined | Version: git- Keywords: xv | master Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFMPEG cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv 1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks! -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------- Reporter: ElDimentio | Owner: Type: enhancement | Status: new Priority: wish | Component: Version: git-master | undetermined Keywords: xv | Resolution: Blocking: | Blocked By: Analyzed by developer: 0 | Reproduced by developer: 0 -------------------------------------+------------------------------------- Comment (by Timothy_Gu): There is a reverse engineered converter of xv -> flv (ugh) at https://gist.github.com/m13253/8298996 -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: xv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by Timothy_Gu): * status: new => open * component: undetermined => avformat * reproduced: 0 => 1 Old description:
Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFMPEG cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png
Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv
1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks!
New description: Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFmpeg cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv 1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks! -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: xv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by Timothy_Gu): * status: new => open * component: undetermined => avformat * reproduced: 0 => 1 Old description:
Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFMPEG cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png
Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv
1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks!
New description: Xunlei is a major Chinese corporation with a monopoly on video downloading in China; they allow to download and play all sorts of Chinese TV shows for free but they're all in XV format, which is only supported by a video player Xunlei made. The video is H.264 video. FFmpeg cannot play this. When I try "ffmpeg -i 1.xv" I get the following: http://i.imgur.com/PrRNzvs.png Here is a link to 1.xv: https://www.dropbox.com/s/0rlzjm9b1apg0j5/1.xv 1.xv is 180MB, and it's supposed to be a video of about 45 minutes. Thanks! -- -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: xv flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: xv => xv flv -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:4> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: xv flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by ElDimentio): I compiled the reverse engineered converter you linked to in github and it was able to successfully convert the file (1.xv) and it also converted a lot of other videos perfectly to FLV, but about a third of them gave me the error in line 61 "File format is incorrect". In case it would help you guys decode the format, I have uploaded one of the videos that the code on github was not able to decode: https://www.dropbox.com/s/tifc7r5umr6cg1p/5.xv -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Changes (by cehoyos): * keywords: xv flv => flv Comment: Files uploaded to http://samples.ffmpeg.org/ffmpeg-bugs/trac/ticket3720/ -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by al3x): Replying to [comment:1 Timothy_Gu]:
There is a reverse engineered converter of xv -> flv (ugh) at https://gist.github.com/m13253/8298996
I have checked out this converter and it is a funny one. It descrambles the actual FLV header way down in the file and replaces the header with an "unknown FLV chunk" (type 255) so it will be properly skipped. The file format starts with the magic XLVF, seems to have a 32 bit pointer to the actual data at position 8 (e.g. 0x00200000 in the two files). After that a URL to the original .flv follows and perhaps some index data. At the referenced position, the first 0x400 (1024) bytes have to be adjusted: {{{ val = (val + 0x39) & 0xff }}} or {{{ val = (val - 0xc7) & 0xff }}} After that, it can be read as an FLV file. -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by barsnick): To me it seems these files can be decoded just fine using {{{ ffmpeg -f flv -i 1.xv -f null - }}} (or remuxed to a file which apparently contains the complete video and is perfectly playable). Just the information from the scrambled FLV header is missing: {{{ [flv @ 0x55baa1f2b240] Read FLV header error, input file is not a standard FLV format, first PreviousTagSize0 always is 0 [flv @ 0x55baa1f2b240] Packet mismatch 32 11 11 }}} implying you can't probe bitrate or duration. Would it not suffice to recognize these files properly as FLV in the first step? -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: (none) Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by bellid): Thanks for the upload. The one on github seems to be working fine [https://www.victoriaretainingwalls.com/ Gravity Retaining Wall] -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: (none) Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by kadan): Amazing work. You guys are geniuses! Regards, Kadan - [https://www.retainingwallshalifax.com/ Retaining Wall Designer] -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: (none) Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by bellidity): Thanks for the code [https://www.bestlandscapinghalifax.com/ Land Reclamation] Nice work -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: (none) Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by mwlx): Thanks for uploading the files. [https://www.victoriaheatpumps.com/ Heat Pumps Services] -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#3720: Support decoding of Xunlei XV file -------------------------------------+------------------------------------ Reporter: ElDimentio | Owner: (none) Type: enhancement | Status: open Priority: wish | Component: avformat Version: git-master | Resolution: Keywords: flv | Blocked By: Blocking: | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------ Comment (by sharselune): Great work guys [https://www.retainingwallshalifax.com/ Retaining Wall Designer] -- Ticket URL: <https://trac.ffmpeg.org/ticket/3720#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg