The Naked Scientists
  • Login
  • Register
  • Podcasts
      • The Naked Scientists
      • eLife
      • Naked Genetics
      • Naked Astronomy
      • In short
      • Naked Neuroscience
      • Ask! The Naked Scientists
      • Question of the Week
      • Archive
      • Video
      • SUBSCRIBE to our Podcasts
  • Articles
      • Science News
      • Features
      • Interviews
      • Answers to Science Questions
  • Get Naked
      • Donate
      • Do an Experiment
      • Science Forum
      • Ask a Question
  • About
      • Meet the team
      • Our Sponsors
      • Site Map
      • Contact us

User menu

  • Login
  • Register
  • Home
  • Help
  • Search
  • Tags
  • Recent Topics
  • Login
  • Register
  1. Naked Science Forum
  2. Non Life Sciences
  3. Technology
  4. Did China's Weibo delete text from my video?
« previous next »
  • Print
Pages: [1]   Go Down

Did China's Weibo delete text from my video?

  • 7 Replies
  • 4497 Views
  • 4 Tags

0 Members and 1 Guest are viewing this topic.

Offline theThinker (OP)

  • Sr. Member
  • ****
  • 183
  • Activity:
    0%
  • Thanked: 7 times
Did China's Weibo delete text from my video?
« on: 11/01/2018 16:27:02 »
I made a home 45 min video of myself giving a presentation on a physics topic using my iphone 6. The format is quicktime .MOV - about 2.6 GB. I converted it to .mp4, now down to 600 MB, using a software avidemux.

After that I used a linux utility ffmpeg and used a 'drawtext' feature to add relevant  text/equations at relevant portions of my video. This is a .mpeg-4 to .mpeg-4  with little change in size  I understand it may be similar to a hard-sub with re-endcoding (I don't understand what is re-encoding). I uploaded it to youtube and China's youku and everything was working find.

I then made a post in China's Weibo (an equivalent to Twitter) with a link to my youku video. I got a surprise! The video plays perfectly, but somehow all the text that I added with 'drawtext' disappeared. I don't understand.

I know that Weibo is heavily censored, but I can't understand if somehow they would go to this extend. They might as well take away my audio track or delete my video link.

I ask a relative of mine who has a B.Sc in computer science and he told me there are ways using AI neural network to remove texts from my video. The text from my video is very clear with blue and a ttf font style.

Can someone confirm this is what Weibo did to my video, censoring all the texts. If it is true, can someone explain how I could redo my video so that no one could just remove the texts added. I have the original video in .MOV and .mp4

 
« Last Edit: 11/01/2018 17:32:47 by chris »
Logged
 



Offline chris

  • Naked Science Forum King!
  • ******
  • 8061
  • Activity:
    1.5%
  • Thanked: 306 times
  • The Naked Scientist
    • The Naked Scientists
Re: Did China's Weibo delete text from my video?
« Reply #1 on: 11/01/2018 17:32:21 »
Are you sure that this is what happened and that you did not just upload the wrong version? Ockham's razor and all that...

It seems an extraordinary length for someone to go to over a harmless physics video.
Logged
I never forget a face, but in your case I'll make an exception - Groucho Marx - https://www.thenakedscientists.com/
 

Offline theThinker (OP)

  • Sr. Member
  • ****
  • 183
  • Activity:
    0%
  • Thanked: 7 times
Re: Did China's Weibo delete text from my video?
« Reply #2 on: 11/01/2018 17:55:02 »
Quote from: chris on 11/01/2018 17:32:21
Are you sure that this is what happened and that you did not just upload the wrong version? Ockham's razor and all that...

It seems an extraordinary length for someone to go to over a harmless physics video.
I am dead sure.

My Weibo post has only a link to my China Youku (China's youtube) video. When I play the video in the Youku site, all the texts are there, just as with youtube.

But at my Weibo mircrobloging post, there is a link to youku and another image of my video. Playing the video by clicking the video will be without text. But clicking the link brings me Youku site; the video there will play complete with text.

The Chinese are great! I don't have another mp4 files over the internet anywhere.   

Note: If there was censoring of text, it could only be done using AI automatically. I click on the video just minutes after posting. There was no "waiting for approval". 

Also, I don't think my mp4 video has an extra subtitle track.

Logged
 

Offline RD

  • Naked Science Forum GOD!
  • *******
  • 9094
  • Activity:
    0%
  • Thanked: 163 times
Re: Did China's Weibo delete text from my video?
« Reply #3 on: 11/01/2018 18:08:09 »
The subtitles may just be a overlay which was lost when the video was transcoded by the video-host.
If you burn the subtitles into the video that should solve the problem ... https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
Logged
 

Offline theThinker (OP)

  • Sr. Member
  • ****
  • 183
  • Activity:
    0%
  • Thanked: 7 times
Re: Did China's Weibo delete text from my video?
« Reply #4 on: 11/01/2018 18:57:19 »
Quote from: RD on 11/01/2018 18:08:09
The subtitles may just be a overlay which was lost when the video was transcoded by the video-host.
If you burn the subtitles into the video that should solve the problem ... https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
But I have no subtitle files so cannot do any 'burning'. I did experimented with subtitles but the text has very bad fonts.

I use multiple ffmpeg 'drawtext' in a batch file.
Quote
#!/bin/bash

ffmpeg -i input.mp4 -vf "

drawtext=enable='between(t, 28*60, 30*60)': fontfile=/usr/share/fonts/TTF/DejaVuSans.ttf: text=\
'My text here..
Something'\
: fontcolor=blue: fontsize=22: box=0: x=(w-text_w)/20: y=(h-text_h)/20,

drawtext=enable='between(t, 31*60 + 25, 32*60 + 6)': fontfile=/usr/share/fonts/TTF/DejaVuSans.ttf: text=\
'Other text.
'\
: fontcolor=blue: fontsize=22: box=0: x=(w-text_w)/20: y=(h-text_h)/20

" -vcodec libx264 -preset fast -crf 24 -codec:a copy output.mp4

I was told changing from mp4 to avi may solve the problem. The avi file I got is only slightly larger - 650 to 800 MB. I am now uploading to youku and see what I get.
Logged
 



Offline theThinker (OP)

  • Sr. Member
  • ****
  • 183
  • Activity:
    0%
  • Thanked: 7 times
Re: Did China's Weibo delete text from my video?
« Reply #5 on: 11/01/2018 20:04:22 »
Quote from: RD on 11/01/2018 18:08:09
The subtitles may just be a overlay which was lost when the video was transcoded by the video-host.
If you burn the subtitles into the video that should solve the problem ... https://trac.ffmpeg.org/wiki/HowToBurnSubtitlesIntoVideo
OK. I uploaded an avi version to youku and did a post to weibo linking to this new avi video. The same; text removed in the hosted video.

I read that it is trivial to detect text with OCR ? or something. 
Logged
 

Offline RD

  • Naked Science Forum GOD!
  • *******
  • 9094
  • Activity:
    0%
  • Thanked: 163 times
Re: Did China's Weibo delete text from my video?
« Reply #6 on: 11/01/2018 20:36:37 »
Automatically editing-out any video with on-screen-text would be possible, but displaying the video which had text, with text removed, would be impossible, IMO, if the text was burned into the video.
Logged
 

Offline theThinker (OP)

  • Sr. Member
  • ****
  • 183
  • Activity:
    0%
  • Thanked: 7 times
Re: Did China's Weibo delete text from my video?
« Reply #7 on: 13/01/2018 12:14:58 »
Very sorry. My mistake. I am new to Weibo with only 1 post. Weibo gives an image for preview of any video link. I think it is limited to 6 min 30secs. My drawtext starts only after. So there is no text removal by Weibo.
Logged
 



  • Print
Pages: [1]   Go Up
« previous next »
Tags: weibo  / video  / censorship  / china 
 
There was an error while thanking
Thanking...
  • SMF 2.0.15 | SMF © 2017, Simple Machines
    Privacy Policy
    SMFAds for Free Forums
  • Naked Science Forum ©

Page created in 0.314 seconds with 42 queries.

  • Podcasts
  • Articles
  • Get Naked
  • About
  • Contact us
  • Advertise
  • Privacy Policy
  • Subscribe to newsletter
  • We love feedback

Follow us

cambridge_logo_footer.png

©The Naked Scientists® 2000–2017 | The Naked Scientists® and Naked Science® are registered trademarks created by Dr Chris Smith. Information presented on this website is the opinion of the individual contributors and does not reflect the general views of the administrators, editors, moderators, sponsors, Cambridge University or the public at large.